Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.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.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedSelect",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedSelect",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.151/2.151, allocations: 390.3 MB / 405.3 MB, free: 13.3 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.001021/0.001021, allocations: 169.2 kB / 498.1 MB, free: 5.539 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.436/1.436, allocations: 223.1 MB / 0.7948 GB, free: 17.91 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.0009584/0.0009583, allocations: 87.72 kB / 0.9346 GB, free: 6.23 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004133/0.0004133, allocations: 10.28 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2538/0.2542, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1795/0.4337, allocations: 157.7 MB / 1.377 GB, free: 4.332 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003107/0.4341, allocations: 103.9 kB / 1.377 GB, free: 4.23 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.03339/0.4675, allocations: 13.01 MB / 1.39 GB, free: 7.16 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.584e-06/0.4676, allocations: 0 / 1.39 GB, free: 7.16 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 7.147e-05/0.4676, allocations: 11.98 kB / 1.39 GB, free: 7.148 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.001464/0.4691, allocations: 0.8565 MB / 1.391 GB, free: 6.234 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.4692, allocations: 12.03 kB / 1.391 GB, free: 6.223 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.552e-05/0.4692, allocations: 34.56 kB / 1.391 GB, free: 6.18 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001251/0.4694, allocations: 71.11 kB / 1.391 GB, free: 6.109 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008134/0.4702, allocations: 467.4 kB / 1.391 GB, free: 5.613 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.848e-05/0.4702, allocations: 4 kB / 1.391 GB, free: 5.609 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.861e-05/0.4702, allocations: 7.984 kB / 1.391 GB, free: 5.602 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002138/0.4705, allocations: 104.2 kB / 1.391 GB, free: 5.484 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.4705, allocations: 0 / 1.391 GB, free: 5.484 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.475e-05/0.4705, allocations: 0 / 1.391 GB, free: 5.484 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.4705, allocations: 3.938 kB / 1.391 GB, free: 5.48 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001281/0.4706, allocations: 43.97 kB / 1.391 GB, free: 5.438 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008626/0.4715, allocations: 0.5356 MB / 1.392 GB, free: 4.852 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003802/0.4719, allocations: 114.7 kB / 1.392 GB, free: 4.73 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.742e-05/0.4719, allocations: 4 kB / 1.392 GB, free: 4.727 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001664/0.4721, allocations: 79.5 kB / 1.392 GB, free: 4.637 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=7): time 1.633e-06/0.4721, allocations: 0 / 1.392 GB, free: 4.637 MB / 0.8855 GB Notification: Performance of matching and sorting (n=7): time 0.0004387/0.4726, allocations: 200.7 kB / 1.392 GB, free: 4.434 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.31e-05/0.4726, allocations: 110.8 kB / 1.392 GB, free: 4.301 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001034/0.4737, allocations: 0.7927 MB / 1.393 GB, free: 3.504 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.421e-05/0.4737, allocations: 33.7 kB / 1.393 GB, free: 3.465 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002621/0.474, allocations: 296.1 kB / 1.393 GB, free: 3.172 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.921e-05/0.474, allocations: 19.8 kB / 1.393 GB, free: 3.152 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.45e-06/0.474, allocations: 0 / 1.393 GB, free: 3.152 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001186/0.4742, allocations: 314 kB / 1.394 GB, free: 2.84 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.676e-05/0.4743, allocations: 27.98 kB / 1.394 GB, free: 2.812 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001283/0.4744, allocations: 92.2 kB / 1.394 GB, free: 2.707 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.51e-05/0.4745, allocations: 27.98 kB / 1.394 GB, free: 2.68 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.4745, allocations: 0 / 1.394 GB, free: 2.68 MB / 0.8855 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003185/0.4748, allocations: 164.8 kB / 1.394 GB, free: 2.512 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/0.4749, allocations: 11.94 kB / 1.394 GB, free: 2.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.4749, allocations: 8.016 kB / 1.394 GB, free: 2.492 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.4749, allocations: 0 / 1.394 GB, free: 2.492 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.232e-05/0.475, allocations: 16.14 kB / 1.394 GB, free: 2.477 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.475, allocations: 0 / 1.394 GB, free: 2.477 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000141/0.4751, allocations: 15.92 kB / 1.394 GB, free: 2.461 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.214e-05/0.4752, allocations: 7.938 kB / 1.394 GB, free: 2.453 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.sta.combiTimeTable.nextTimeEvent,speSel.stage,sta.combiTimeTable.nextTimeEvent,$PRE.sta.combiTimeTable.nextTimeEventScaled,sta.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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 0.0003484/0.4755, allocations: 311.5 kB / 1.394 GB, free: 2.141 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.852e-05/0.4756, allocations: 67.16 kB / 1.394 GB, free: 2.074 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000377/0.476, allocations: 192 kB / 1.395 GB, free: 1.871 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.476, allocations: 0 / 1.395 GB, free: 1.871 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.234e-06/0.476, allocations: 3.953 kB / 1.395 GB, free: 1.867 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/0.476, allocations: 7.984 kB / 1.395 GB, free: 1.859 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004367/0.4765, allocations: 397.3 kB / 1.395 GB, free: 1.422 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.4765, allocations: 0 / 1.395 GB, free: 1.422 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.893e-05/0.4765, allocations: 11.98 kB / 1.395 GB, free: 1.41 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.4765, allocations: 0 / 1.395 GB, free: 1.41 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.312e-05/0.4766, allocations: 4 kB / 1.395 GB, free: 1.406 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.4766, allocations: 0 / 1.395 GB, free: 1.406 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.4766, allocations: 0 / 1.395 GB, free: 1.406 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003099/0.4769, allocations: 204.3 kB / 1.395 GB, free: 1.188 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001706/0.4771, allocations: 148.2 kB / 1.395 GB, free: 1.023 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.579e-05/0.4771, allocations: 4 kB / 1.395 GB, free: 1.02 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001204/0.4773, allocations: 7.984 kB / 1.395 GB, free: 1.012 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.843e-05/0.4773, allocations: 11.98 kB / 1.395 GB, free: 1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.271e-05/0.4773, allocations: 4 kB / 1.395 GB, free: 0.9961 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0008069/0.4782, allocations: 0.6551 MB / 1.396 GB, free: 352 kB / 0.8855 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4782, allocations: 0 / 1.396 GB, free: 352 kB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003661/0.4785, allocations: 87.88 kB / 1.396 GB, free: 264 kB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,speSel.stage,sta.combiTimeTable.nextTimeEvent,sta.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (sta.combiTimeTable.nextTimeEvent,sta.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001849/0.4804, allocations: 1.221 MB / 1.397 GB, free: 15.18 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0002527/0.4807, allocations: 91.94 kB / 1.397 GB, free: 15.09 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.4807, allocations: 0 / 1.397 GB, free: 15.09 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0001036/0.4808, allocations: 39.92 kB / 1.397 GB, free: 15.05 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005629/0.4814, allocations: 138.9 kB / 1.398 GB, free: 14.91 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004474/0.4858, allocations: 3.682 MB / 1.401 GB, free: 11.14 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006086/0.4865, allocations: 0.9979 MB / 1.402 GB, free: 10.12 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0001672/0.4866, allocations: 46.59 kB / 1.402 GB, free: 10.07 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002528/0.4869, allocations: 175.4 kB / 1.402 GB, free: 9.898 MB / 0.9011 GB Notification: Performance of SimCode: time 5.01e-07/0.4869, allocations: 0 / 1.402 GB, free: 9.898 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02844/0.5154, allocations: 13.53 MB / 1.416 GB, free: 12.67 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002378/0.5156, allocations: 241.2 kB / 1.416 GB, free: 12.43 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.224/2.74, allocations: 4.062 kB / 1.416 GB, free: 12.42 MB / 0.9167 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedSelect_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedSelect.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect_res.mat does not exist to compare? outputFormat=mat