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.23/2.23, allocations: 387.4 MB / 394.9 MB, free: 13.33 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.001277/0.001278, allocations: 192.5 kB / 487.4 MB, free: 5.004 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.586/1.586, allocations: 221.5 MB / 0.7824 GB, free: 0.9141 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00104/0.00104, allocations: 103.7 kB / 0.9219 GB, free: 2.148 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.187e-05/2.189e-05, allocations: 8 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2895/0.2895, allocations: 142.4 MB / 1.206 GB, free: 43.82 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9196/1.209, allocations: 156.9 MB / 1.359 GB, free: 18.47 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002391/1.209, allocations: 92.3 kB / 1.359 GB, free: 18.47 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02863/1.238, allocations: 12.82 MB / 1.372 GB, free: 33 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.703e-06/1.238, allocations: 0 / 1.372 GB, free: 33 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.778e-05/1.238, allocations: 7.812 kB / 1.372 GB, free: 33 MB / 0.8386 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.0007479/1.239, allocations: 0.7088 MB / 1.373 GB, free: 32.42 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/1.239, allocations: 16.03 kB / 1.373 GB, free: 32.42 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.473e-05/1.239, allocations: 62.03 kB / 1.373 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006125/1.24, allocations: 464.1 kB / 1.373 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.15e-05/1.24, allocations: 7.875 kB / 1.373 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.957e-05/1.24, allocations: 3.625 kB / 1.373 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.265e-05/1.24, allocations: 36.28 kB / 1.373 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001278/1.24, allocations: 97.52 kB / 1.373 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/1.24, allocations: 3.938 kB / 1.373 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.373e-05/1.24, allocations: 0 / 1.373 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/1.24, allocations: 0 / 1.373 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006125/1.241, allocations: 0.5069 MB / 1.374 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002771/1.241, allocations: 100.7 kB / 1.374 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.743e-05/1.241, allocations: 28.55 kB / 1.374 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.675e-05/1.241, allocations: 3.969 kB / 1.374 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001198/1.241, allocations: 78.86 kB / 1.374 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 1.342e-06/1.241, allocations: 0 / 1.374 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7): time 0.0002582/1.241, allocations: 170.4 kB / 1.374 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.183e-05/1.242, allocations: 110.8 kB / 1.374 GB, free: 31.51 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008103/1.242, allocations: 0.7491 MB / 1.375 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.745e-05/1.242, allocations: 25.7 kB / 1.375 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002156/1.243, allocations: 298.6 kB / 1.375 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.344e-05/1.243, allocations: 22.88 kB / 1.375 GB, free: 31.26 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.891e-06/1.243, allocations: 0 / 1.375 GB, free: 31.26 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001143/1.243, allocations: 312.6 kB / 1.376 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.12e-05/1.243, allocations: 22.38 kB / 1.376 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.927e-05/1.243, allocations: 82 kB / 1.376 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.985e-05/1.243, allocations: 24.94 kB / 1.376 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/1.243, allocations: 0 / 1.376 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001715/1.243, allocations: 159.1 kB / 1.376 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/1.243, allocations: 3.875 kB / 1.376 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/1.243, allocations: 0 / 1.376 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/1.243, allocations: 3.875 kB / 1.376 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.314e-05/1.243, allocations: 22.36 kB / 1.376 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/1.243, allocations: 0 / 1.376 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001192/1.243, allocations: 14.67 kB / 1.376 GB, free: 30.83 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.008e-05/1.243, allocations: 8.047 kB / 1.376 GB, free: 30.82 MB / 0.8386 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 () * 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 8.454e-05/1.244, allocations: 109.4 kB / 1.376 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001776/1.244, allocations: 163.2 kB / 1.376 GB, free: 30.65 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.343e-05/1.244, allocations: 66.06 kB / 1.376 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002501/1.244, allocations: 181.9 kB / 1.376 GB, free: 30.56 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/1.244, allocations: 0 / 1.376 GB, free: 30.56 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.79e-06/1.244, allocations: 3.953 kB / 1.376 GB, free: 30.56 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/1.244, allocations: 0 / 1.376 GB, free: 30.56 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003033/1.244, allocations: 372.3 kB / 1.377 GB, free: 30.4 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/1.244, allocations: 0 / 1.377 GB, free: 30.4 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.079e-05/1.244, allocations: 9.625 kB / 1.377 GB, free: 30.4 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/1.244, allocations: 0 / 1.377 GB, free: 30.4 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.138e-05/1.244, allocations: 1.922 kB / 1.377 GB, free: 30.4 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/1.244, allocations: 0 / 1.377 GB, free: 30.4 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/1.244, allocations: 80 / 1.377 GB, free: 30.4 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000189/1.245, allocations: 200.8 kB / 1.377 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001016/1.245, allocations: 148.8 kB / 1.377 GB, free: 30.16 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.646e-05/1.245, allocations: 0 / 1.377 GB, free: 30.16 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000122/1.245, allocations: 6.547 kB / 1.377 GB, free: 30.16 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.608e-05/1.245, allocations: 11.92 kB / 1.377 GB, free: 30.16 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.061e-05/1.245, allocations: 7.781 kB / 1.377 GB, free: 30.16 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0006011/1.246, allocations: 0.6117 MB / 1.378 GB, free: 30.07 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.5e-07/1.246, allocations: 4 kB / 1.378 GB, free: 30.06 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003236/1.246, allocations: 65.22 kB / 1.378 GB, free: 30.06 MB / 0.8386 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) * 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.001399/1.247, allocations: 1.153 MB / 1.379 GB, free: 29.26 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001858/1.248, allocations: 80.98 kB / 1.379 GB, free: 29.26 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/1.248, allocations: 3.812 kB / 1.379 GB, free: 29.26 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 5.873e-05/1.248, allocations: 39.12 kB / 1.379 GB, free: 29.26 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006063/1.248, allocations: 135.4 kB / 1.379 GB, free: 29.24 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001384/1.25, allocations: 1.061 MB / 1.38 GB, free: 28.97 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005215/1.25, allocations: 0.993 MB / 1.381 GB, free: 28.26 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001446/1.25, allocations: 47.19 kB / 1.381 GB, free: 28.25 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001987/1.251, allocations: 181.1 kB / 1.381 GB, free: 28.24 MB / 0.8386 GB Notification: Performance of SimCode: time 4.71e-07/1.251, allocations: 3.844 kB / 1.381 GB, free: 28.24 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03273/1.283, allocations: 11.87 MB / 1.393 GB, free: 22.73 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000164/1.284, allocations: 201.9 kB / 1.393 GB, free: 22.52 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.274/3.558, allocations: 2.344 kB / 1.393 GB, free: 22.52 MB / 0.8386 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