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/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.405/2.405, allocations: 390.3 MB / 405.3 MB, free: 13.46 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001307/0.001307, allocations: 187.3 kB / 498.1 MB, free: 5.719 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.597/1.597, allocations: 223.2 MB / 0.7948 GB, free: 17.9 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001107/0.001107, allocations: 100.2 kB / 0.9346 GB, free: 6.191 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004005/0.0004005, allocations: 10.97 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3446/0.345, allocations: 142.3 MB / 1.223 GB, free: 114.1 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2013/0.5464, allocations: 149 MB / 1.368 GB, free: 12.97 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003051/0.5468, allocations: 75.95 kB / 1.369 GB, free: 12.9 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.006672/0.5535, allocations: 2.114 MB / 1.371 GB, free: 10.78 MB / 0.8698 GB Notification: Performance of FrontEnd: time 4.899e-06/0.5535, allocations: 3.938 kB / 1.371 GB, free: 10.78 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.293e-06/0.5535, allocations: 3.938 kB / 1.371 GB, free: 10.77 MB / 0.8698 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.0003452/0.5539, allocations: 335.4 kB / 1.371 GB, free: 10.4 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.347e-05/0.5539, allocations: 12.03 kB / 1.371 GB, free: 10.39 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.91e-05/0.554, allocations: 34.56 kB / 1.371 GB, free: 10.34 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.484e-05/0.554, allocations: 4 kB / 1.371 GB, free: 10.34 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001134/0.5541, allocations: 163 kB / 1.371 GB, free: 10.14 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.014e-05/0.5542, allocations: 0 / 1.371 GB, free: 10.14 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.097e-05/0.5542, allocations: 0 / 1.371 GB, free: 10.14 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001088/0.5543, allocations: 33.7 kB / 1.371 GB, free: 10.1 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.236e-06/0.5543, allocations: 0 / 1.371 GB, free: 10.1 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.015e-05/0.5543, allocations: 3.984 kB / 1.371 GB, free: 10.1 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.5543, allocations: 0 / 1.371 GB, free: 10.1 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.694e-05/0.5544, allocations: 4 kB / 1.371 GB, free: 10.09 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001851/0.5546, allocations: 153.6 kB / 1.371 GB, free: 9.895 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.316e-05/0.5546, allocations: 14.58 kB / 1.371 GB, free: 9.871 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006849/0.5553, allocations: 449.6 kB / 1.372 GB, free: 9.34 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.431e-05/0.5553, allocations: 34.5 kB / 1.372 GB, free: 9.297 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=1): time 1.263e-06/0.5554, allocations: 0 / 1.372 GB, free: 9.297 MB / 0.8698 GB Notification: Performance of matching and sorting (n=1): time 0.000161/0.5555, allocations: 41.62 kB / 1.372 GB, free: 9.25 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.197e-05/0.5556, allocations: 55.41 kB / 1.372 GB, free: 9.184 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.753e-05/0.5556, allocations: 85 kB / 1.372 GB, free: 9.094 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.423e-05/0.5556, allocations: 25.7 kB / 1.372 GB, free: 9.062 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 3.642e-05/0.5557, allocations: 80.14 kB / 1.372 GB, free: 8.98 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.384e-05/0.5557, allocations: 8.031 kB / 1.372 GB, free: 8.973 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.004e-06/0.5557, allocations: 3.938 kB / 1.372 GB, free: 8.969 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.00011/0.5558, allocations: 310.8 kB / 1.372 GB, free: 8.656 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.807e-06/0.5559, allocations: 0 / 1.372 GB, free: 8.656 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.506e-06/0.5559, allocations: 4 kB / 1.372 GB, free: 8.652 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.475e-05/0.5559, allocations: 3.953 kB / 1.372 GB, free: 8.648 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.5559, allocations: 0 / 1.372 GB, free: 8.648 MB / 0.8698 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.536e-05/0.556, allocations: 37.69 kB / 1.372 GB, free: 8.605 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.124e-05/0.556, allocations: 12.09 kB / 1.372 GB, free: 8.594 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.556, allocations: 0 / 1.372 GB, free: 8.594 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.556, allocations: 0 / 1.372 GB, free: 8.594 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.554e-05/0.5561, allocations: 3.938 kB / 1.372 GB, free: 8.59 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.5561, allocations: 0 / 1.372 GB, free: 8.59 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.413e-05/0.5561, allocations: 4 kB / 1.372 GB, free: 8.586 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.921e-06/0.5561, allocations: 0 / 1.372 GB, free: 8.586 MB / 0.8698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.32e-05/0.5562, allocations: 109.8 kB / 1.373 GB, free: 8.469 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.746e-06/0.5562, allocations: 0 / 1.373 GB, free: 8.469 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.65e-05/0.5563, allocations: 44.81 kB / 1.373 GB, free: 8.418 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.5564, allocations: 0 / 1.373 GB, free: 8.418 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.5564, allocations: 0 / 1.373 GB, free: 8.418 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.5564, allocations: 4 kB / 1.373 GB, free: 8.414 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.737e-05/0.5565, allocations: 145.7 kB / 1.373 GB, free: 8.223 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.5565, allocations: 3.953 kB / 1.373 GB, free: 8.219 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.31e-05/0.5565, allocations: 0 / 1.373 GB, free: 8.219 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.5565, allocations: 0 / 1.373 GB, free: 8.219 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.143e-06/0.5565, allocations: 4 kB / 1.373 GB, free: 8.215 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.125e-06/0.5565, allocations: 3.938 kB / 1.373 GB, free: 8.211 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.5565, allocations: 0 / 1.373 GB, free: 8.211 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.141e-05/0.5566, allocations: 61.16 kB / 1.373 GB, free: 8.133 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.048e-05/0.5567, allocations: 85.05 kB / 1.373 GB, free: 8.031 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.368e-05/0.5567, allocations: 8 kB / 1.373 GB, free: 8.023 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.893e-06/0.5567, allocations: 0 / 1.373 GB, free: 8.023 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.629e-05/0.5567, allocations: 0 / 1.373 GB, free: 8.023 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.735e-06/0.5567, allocations: 0 / 1.373 GB, free: 8.023 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 2.931e-05/0.5567, allocations: 75.28 kB / 1.373 GB, free: 7.949 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5568, allocations: 7.969 kB / 1.373 GB, free: 7.941 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.000254/0.557, allocations: 39.88 kB / 1.373 GB, free: 7.902 MB / 0.8698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006145/0.5576, allocations: 0.6667 MB / 1.374 GB, free: 7.207 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 7.383e-05/0.5577, allocations: 8 kB / 1.374 GB, free: 7.199 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.5577, allocations: 0 / 1.374 GB, free: 7.199 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 5.781e-06/0.5577, allocations: 4.062 kB / 1.374 GB, free: 7.195 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.096e-05/0.5578, allocations: 0 / 1.374 GB, free: 7.195 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003498/0.5582, allocations: 124.3 kB / 1.374 GB, free: 7.031 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002438/0.5585, allocations: 0.6731 MB / 1.374 GB, free: 6.332 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 1.516e-05/0.5585, allocations: 7.938 kB / 1.374 GB, free: 6.324 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.773e-05/0.5585, allocations: 7.438 kB / 1.374 GB, free: 6.316 MB / 0.8698 GB Notification: Performance of SimCode: time 2.1e-07/0.5585, allocations: 0 / 1.374 GB, free: 6.316 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01393/0.5724, allocations: 1.148 MB / 1.376 GB, free: 5.289 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002412/0.5727, allocations: 184.9 kB / 1.376 GB, free: 5.047 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.595/2.167, allocations: 4 kB / 1.376 GB, free: 5.043 MB / 0.8698 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/linux/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