Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Examples.BesselY1.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.Examples.BesselY1,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Examples_BesselY1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselY1,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Examples_BesselY1",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.0008378/0.0008378, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.005105/0.005105, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.243/1.243, allocations: 223.3 MB / 240.3 MB, free: 5.332 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.137/2.137, allocations: 390.9 MB / 0.6664 GB, free: 2.367 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003134/0.0003136, allocations: 12.28 kB / 0.8161 GB, free: 13.13 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5528/0.5531, allocations: 142.4 MB / 0.9552 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY1): time 0.001129/0.5543, allocations: 1.152 MB / 0.9563 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000554/0.5548, allocations: 374.5 kB / 0.9566 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.801e-05/0.5549, allocations: 1.438 kB / 0.9566 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.272e-05/0.5549, allocations: 3.938 kB / 0.9567 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.781e-05/0.5549, allocations: 3.938 kB / 0.9567 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003028/0.5552, allocations: 86.72 kB / 0.9567 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.006e-05/0.5553, allocations: 15.56 kB / 0.9568 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 6.719e-05/0.5554, allocations: 15.45 kB / 0.9568 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.075e-05/0.5554, allocations: 2.469 kB / 0.9568 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.202e-05/0.5554, allocations: 15.48 kB / 0.9568 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 7.935e-06/0.5555, allocations: 1.156 kB / 0.9568 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001947/0.5557, allocations: 134.7 kB / 0.9569 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.466e-06/0.5557, allocations: 5.094 kB / 0.9569 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.118e-05/0.5557, allocations: 34.61 kB / 0.957 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001351/0.5558, allocations: 97.41 kB / 0.957 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.886e-06/0.5558, allocations: 1.25 kB / 0.957 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.403e-06/0.5559, allocations: 0 / 0.957 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.572e-06/0.5559, allocations: 4 kB / 0.957 GB, free: 6.285 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003041/0.5562, allocations: 356 kB / 0.9574 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.5562, allocations: 13.3 kB / 0.9574 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.295e-05/0.5562, allocations: 30.75 kB / 0.9574 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.729e-05/0.5563, allocations: 2.844 kB / 0.9574 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.535e-05/0.5563, allocations: 165.4 kB / 0.9576 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.156e-06/0.5563, allocations: 1.594 kB / 0.9576 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.255e-06/0.5564, allocations: 5.375 kB / 0.9576 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001469/0.5565, allocations: 54.45 kB / 0.9576 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.072e-06/0.5565, allocations: 3.938 kB / 0.9577 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.354e-06/0.5565, allocations: 1.062 kB / 0.9577 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.5565, allocations: 0 / 0.9577 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001689/0.5567, allocations: 48.17 kB / 0.9577 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002025/0.5569, allocations: 249.8 kB / 0.9579 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001133/0.557, allocations: 50.91 kB / 0.958 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.309e-05/0.5571, allocations: 31.73 kB / 0.958 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000522/0.5577, allocations: 473.4 kB / 0.9585 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.376e-05/0.5577, allocations: 32.5 kB / 0.9585 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.5577, allocations: 0 / 0.9585 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003159/0.558, allocations: 94.86 kB / 0.9586 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.785e-05/0.558, allocations: 59.34 kB / 0.9586 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.901e-05/0.5581, allocations: 100 kB / 0.9587 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.761e-06/0.5581, allocations: 25.7 kB / 0.9588 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.875e-05/0.5581, allocations: 85.55 kB / 0.9588 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.265e-05/0.5581, allocations: 8.031 kB / 0.9589 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.76e-05/0.5582, allocations: 15.06 kB / 0.9589 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.116e-05/0.5582, allocations: 312.5 kB / 0.9592 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.089e-05/0.5583, allocations: 25.59 kB / 0.9592 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.994e-05/0.5584, allocations: 18.11 kB / 0.9592 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001429/0.5585, allocations: 49.14 kB / 0.9593 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/0.5585, allocations: 3.938 kB / 0.9593 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001781/0.5587, allocations: 86.62 kB / 0.9593 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 9.618e-06/0.5587, allocations: 4.906 kB / 0.9593 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.286e-06/0.5587, allocations: 0 / 0.9593 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.688e-06/0.5587, allocations: 1.719 kB / 0.9593 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.17e-05/0.5588, allocations: 11.3 kB / 0.9594 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.5588, allocations: 3.984 kB / 0.9594 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.29e-05/0.5589, allocations: 11.41 kB / 0.9594 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.679e-06/0.5589, allocations: 7.922 kB / 0.9594 GB, free: 3.906 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 (2): * Single equations (assignments): 2 * 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.639e-05/0.5589, allocations: 111.6 kB / 0.9595 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.163e-05/0.559, allocations: 1.875 kB / 0.9595 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000198/0.5592, allocations: 83.19 kB / 0.9596 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.714e-06/0.5592, allocations: 2 kB / 0.9596 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.5592, allocations: 0 / 0.9596 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.5592, allocations: 3.984 kB / 0.9596 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.807e-05/0.5593, allocations: 165.4 kB / 0.9597 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.5593, allocations: 6.219 kB / 0.9597 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.21e-05/0.5593, allocations: 6.562 kB / 0.9597 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.5594, allocations: 5.344 kB / 0.9598 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.961e-06/0.5594, allocations: 4 kB / 0.9598 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.5594, allocations: 1.344 kB / 0.9598 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.5594, allocations: 0 / 0.9598 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001875/0.5596, allocations: 176 kB / 0.9599 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.416e-05/0.5596, allocations: 82.47 kB / 0.96 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.051e-05/0.5596, allocations: 1.375 kB / 0.96 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.983e-05/0.5597, allocations: 5.5 kB / 0.96 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.607e-05/0.5597, allocations: 5.359 kB / 0.96 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.926e-06/0.5597, allocations: 1.375 kB / 0.96 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.832e-05/0.5597, allocations: 82.03 kB / 0.9601 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5597, allocations: 4.031 kB / 0.9601 GB, free: 3.168 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002368/0.56, allocations: 28.75 kB / 0.9601 GB, free: 3.164 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 (2): * Single equations (assignments): 2 * 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.0004718/0.5605, allocations: 0.7496 MB / 0.9609 GB, free: 2.461 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001888/0.5607, allocations: 47.62 kB / 0.9609 GB, free: 2.445 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.5607, allocations: 0 / 0.9609 GB, free: 2.445 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.144e-05/0.5608, allocations: 28.42 kB / 0.9609 GB, free: 2.434 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002051/0.561, allocations: 4.031 kB / 0.9609 GB, free: 2.434 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003129/0.5613, allocations: 156.4 kB / 0.9611 GB, free: 2.262 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.726e-05/0.5614, allocations: 0.6733 MB / 0.9617 GB, free: 1.566 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.762e-05/0.5614, allocations: 1.375 kB / 0.9617 GB, free: 1.566 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.243e-05/0.5614, allocations: 11.42 kB / 0.9618 GB, free: 1.555 MB / 0.7169 GB Notification: Performance of SimCode: time 3.01e-07/0.5614, allocations: 1.375 kB / 0.9618 GB, free: 1.555 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01609/0.5775, allocations: 1.512 MB / 0.9632 GB, free: 0.8125 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000179/0.5777, allocations: 186.1 kB / 0.9634 GB, free: 0.5586 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.544/2.122, allocations: 0 / 0.9634 GB, free: 0.5586 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Utilities.Math.Examples.BesselY1.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.BesselY1.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.BesselY1.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.BesselY1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Examples.BesselY1_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Examples_BesselY1_fmu --startTime=0.1 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Math_Examples_BesselY1.fmu > Buildings_9_Buildings.Utilities.Math.Examples.BesselY1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Math.Examples.BesselY1_res.mat does not exist to compare? outputFormat=mat