Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY0.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselY0,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Functions_Examples_BesselY0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselY0,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Functions_Examples_BesselY0",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001368/0.001368, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001444/0.001444, allocations: 195.3 kB / 16.14 MB, free: 6.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.294/1.294, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.191/2.191, allocations: 390.2 MB / 0.6643 GB, free: 0.6289 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001371/0.001371, allocations: 67.91 kB / 0.812 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5189/0.5203, allocations: 140.4 MB / 0.9491 GB, free: 9.242 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselY0): time 0.001486/0.5218, allocations: 0.6458 MB / 0.9497 GB, free: 8.746 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0004858/0.5223, allocations: 296.7 kB / 0.95 GB, free: 8.531 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.248e-06/0.5224, allocations: 0 / 0.95 GB, free: 8.531 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.487e-05/0.5224, allocations: 0 / 0.95 GB, free: 8.531 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.208e-06/0.5224, allocations: 0.9375 kB / 0.95 GB, free: 8.531 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003127/0.5227, allocations: 71.92 kB / 0.95 GB, free: 8.488 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 2.54e-05/0.5228, allocations: 5.125 kB / 0.95 GB, free: 8.484 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.333e-05/0.5228, allocations: 1.125 kB / 0.95 GB, free: 8.484 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.046e-05/0.5228, allocations: 0 / 0.95 GB, free: 8.484 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 1.435e-05/0.5228, allocations: 5.156 kB / 0.9501 GB, free: 8.48 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.273e-05/0.5228, allocations: 3.938 kB / 0.9501 GB, free: 8.477 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002132/0.5231, allocations: 135.7 kB / 0.9502 GB, free: 8.402 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.372e-06/0.5231, allocations: 0 / 0.9502 GB, free: 8.402 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.309e-05/0.5231, allocations: 0 / 0.9502 GB, free: 8.402 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001271/0.5232, allocations: 69.12 kB / 0.9503 GB, free: 8.359 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.5232, allocations: 5.328 kB / 0.9503 GB, free: 8.355 MB / 0.7169 GB Notification: Performance of FrontEnd: time 9.92e-07/0.5232, allocations: 4 kB / 0.9503 GB, free: 8.352 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.126e-06/0.5232, allocations: 0 / 0.9503 GB, free: 8.352 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.000191/0.5234, allocations: 325.4 kB / 0.9506 GB, free: 7.992 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.345e-05/0.5235, allocations: 8.844 kB / 0.9506 GB, free: 7.992 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.291e-05/0.5235, allocations: 32.06 kB / 0.9506 GB, free: 7.953 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.695e-05/0.5235, allocations: 4.922 kB / 0.9506 GB, free: 7.949 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.232e-05/0.5236, allocations: 160.4 kB / 0.9508 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.975e-06/0.5236, allocations: 5.656 kB / 0.9508 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.909e-06/0.5236, allocations: 384 / 0.9508 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.993e-05/0.5237, allocations: 31.55 kB / 0.9508 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.031e-06/0.5237, allocations: 5.25 kB / 0.9508 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.6e-06/0.5237, allocations: 0 / 0.9508 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.617e-06/0.5237, allocations: 0 / 0.9508 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.494e-05/0.5237, allocations: 1.438 kB / 0.9508 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.678e-05/0.5238, allocations: 155 kB / 0.951 GB, free: 7.512 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 2.634e-05/0.5238, allocations: 21.08 kB / 0.951 GB, free: 7.484 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.054e-05/0.5238, allocations: 12.8 kB / 0.951 GB, free: 7.469 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005333/0.5244, allocations: 454.7 kB / 0.9514 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.16e-05/0.5244, allocations: 35.61 kB / 0.9515 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.5244, allocations: 1.062 kB / 0.9515 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 9.527e-05/0.5245, allocations: 37.89 kB / 0.9515 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.403e-05/0.5245, allocations: 52.31 kB / 0.9515 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.393e-05/0.5245, allocations: 89.86 kB / 0.9516 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.739e-06/0.5246, allocations: 25.7 kB / 0.9517 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 8.586e-06/0.5246, allocations: 81.33 kB / 0.9517 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.221e-05/0.5246, allocations: 7.891 kB / 0.9517 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.028e-05/0.5246, allocations: 19.72 kB / 0.9518 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.578e-05/0.5247, allocations: 316.6 kB / 0.9521 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.634e-06/0.5247, allocations: 4.125 kB / 0.9521 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.12e-06/0.5247, allocations: 1.438 kB / 0.9521 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.833e-05/0.5247, allocations: 8.016 kB / 0.9521 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.213e-06/0.5247, allocations: 0 / 0.9521 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.947e-05/0.5248, allocations: 34.83 kB / 0.9521 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 9.898e-06/0.5248, allocations: 5.906 kB / 0.9521 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.5248, allocations: 5.625 kB / 0.9521 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.003e-05/0.5248, allocations: 0 / 0.9521 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.972e-05/0.5248, allocations: 9.781 kB / 0.9521 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.389e-06/0.5248, allocations: 3.938 kB / 0.9521 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.947e-06/0.5248, allocations: 3.984 kB / 0.9521 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.839e-06/0.5249, allocations: 1.25 kB / 0.9521 GB, free: 6.207 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 3.342e-05/0.5249, allocations: 107.5 kB / 0.9522 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.312e-06/0.5249, allocations: 3.984 kB / 0.9522 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.278e-05/0.525, allocations: 36.48 kB / 0.9523 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-06/0.525, allocations: 1.5 kB / 0.9523 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.317e-06/0.525, allocations: 4.031 kB / 0.9523 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.525, allocations: 3.984 kB / 0.9523 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.164e-05/0.525, allocations: 147.4 kB / 0.9524 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.22e-07/0.525, allocations: 0 / 0.9524 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.038e-05/0.525, allocations: 1.781 kB / 0.9524 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.173e-06/0.5251, allocations: 0 / 0.9524 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.119e-06/0.5251, allocations: 5.469 kB / 0.9524 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.5251, allocations: 0 / 0.9524 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.5251, allocations: 3.938 kB / 0.9524 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.058e-05/0.5251, allocations: 62.97 kB / 0.9525 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.265e-05/0.5251, allocations: 82.45 kB / 0.9526 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.915e-06/0.5251, allocations: 3.938 kB / 0.9526 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.526e-06/0.5252, allocations: 9.469 kB / 0.9526 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.07e-05/0.5252, allocations: 0 / 0.9526 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.683e-06/0.5252, allocations: 0 / 0.9526 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 9.287e-06/0.5252, allocations: 76.44 kB / 0.9527 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/0.5252, allocations: 0 / 0.9527 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002032/0.5254, allocations: 29.52 kB / 0.9527 GB, free: 5.578 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002972/0.5257, allocations: 0.6384 MB / 0.9533 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 4.68e-05/0.5258, allocations: 3.719 kB / 0.9533 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.5258, allocations: 0 / 0.9533 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 5.871e-06/0.5258, allocations: 3.062 kB / 0.9533 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001165/0.5259, allocations: 1.594 kB / 0.9533 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002048/0.5261, allocations: 110.7 kB / 0.9534 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.35e-05/0.5262, allocations: 0.6745 MB / 0.9541 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 9.638e-06/0.5262, allocations: 9.469 kB / 0.9541 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.716e-06/0.5262, allocations: 7.438 kB / 0.9541 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of SimCode: time 5.61e-07/0.5262, allocations: 0 / 0.9541 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009266/0.5355, allocations: 1.26 MB / 0.9553 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001153/0.5356, allocations: 206.8 kB / 0.9555 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.577/2.112, allocations: 3.938 kB / 0.9555 GB, free: 3.184 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY0_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Functions_Examples_BesselY0_fmu --startTime=0.1 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Math_Functions_Examples_BesselY0.fmu > Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselY0_res.mat does not exist to compare? outputFormat=mat