Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedSelect",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.331/2.331, allocations: 390.5 MB / 398 MB, free: 10.93 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.001716/0.001716, allocations: 176.9 kB / 491.2 MB, free: 1.547 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.537/1.537, allocations: 221.5 MB / 0.7868 GB, free: 13.26 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.000905/0.0009052, allocations: 91.94 kB / 0.9269 GB, free: 13.77 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.337e-05/2.339e-05, allocations: 4 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3113/0.3113, allocations: 143 MB / 1.212 GB, free: 39.4 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.005/1.316, allocations: 157.7 MB / 1.366 GB, free: 17.48 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00024/1.317, allocations: 101 kB / 1.367 GB, free: 17.48 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03022/1.347, allocations: 12.81 MB / 1.379 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of FrontEnd: time 4.178e-06/1.347, allocations: 0 / 1.379 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.901e-05/1.347, allocations: 11.62 kB / 1.379 GB, free: 32.02 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.0009451/1.348, allocations: 0.7011 MB / 1.38 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 6.018e-05/1.348, allocations: 10.45 kB / 1.38 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001089/1.348, allocations: 69.83 kB / 1.38 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007306/1.349, allocations: 471.3 kB / 1.38 GB, free: 31.13 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.935e-05/1.349, allocations: 3.906 kB / 1.38 GB, free: 31.13 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.042e-05/1.349, allocations: 3.812 kB / 1.38 GB, free: 31.13 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001185/1.349, allocations: 44.19 kB / 1.38 GB, free: 31.13 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001575/1.349, allocations: 86.09 kB / 1.38 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/1.349, allocations: 0 / 1.38 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.682e-05/1.349, allocations: 0 / 1.38 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/1.349, allocations: 0 / 1.38 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007334/1.35, allocations: 0.5177 MB / 1.381 GB, free: 30.81 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003158/1.35, allocations: 99.89 kB / 1.381 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.815e-05/1.35, allocations: 26.14 kB / 1.381 GB, free: 30.76 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.487e-05/1.351, allocations: 7.953 kB / 1.381 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001289/1.351, allocations: 84.45 kB / 1.381 GB, free: 30.69 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 1.343e-06/1.351, allocations: 0 / 1.381 GB, free: 30.69 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7): time 0.0002768/1.351, allocations: 166.8 kB / 1.381 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.272e-05/1.351, allocations: 110.6 kB / 1.381 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007781/1.352, allocations: 0.741 MB / 1.382 GB, free: 30.27 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.192e-05/1.352, allocations: 29.58 kB / 1.382 GB, free: 30.24 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002161/1.352, allocations: 300.3 kB / 1.382 GB, free: 30.14 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.532e-05/1.352, allocations: 23.05 kB / 1.382 GB, free: 30.12 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.202e-06/1.352, allocations: 4 kB / 1.382 GB, free: 30.12 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000111/1.352, allocations: 306 kB / 1.383 GB, free: 29.82 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.718e-05/1.352, allocations: 30.14 kB / 1.383 GB, free: 29.81 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.53e-05/1.352, allocations: 77.06 kB / 1.383 GB, free: 29.77 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.915e-05/1.352, allocations: 22.61 kB / 1.383 GB, free: 29.76 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/1.352, allocations: 4 kB / 1.383 GB, free: 29.76 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001863/1.353, allocations: 168.3 kB / 1.383 GB, free: 29.67 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/1.353, allocations: 3.844 kB / 1.383 GB, free: 29.67 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.493e-06/1.353, allocations: 3.844 kB / 1.383 GB, free: 29.67 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/1.353, allocations: 0 / 1.383 GB, free: 29.67 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.093e-05/1.353, allocations: 11.31 kB / 1.383 GB, free: 29.67 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/1.353, allocations: 0 / 1.383 GB, free: 29.67 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000118/1.353, allocations: 15.25 kB / 1.383 GB, free: 29.66 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.004e-05/1.353, allocations: 3.812 kB / 1.383 GB, free: 29.66 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.96e-05/1.353, allocations: 114.2 kB / 1.383 GB, free: 29.55 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001795/1.353, allocations: 162.8 kB / 1.383 GB, free: 29.47 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.395e-05/1.353, allocations: 62.5 kB / 1.383 GB, free: 29.44 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000256/1.353, allocations: 171.8 kB / 1.384 GB, free: 29.37 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/1.353, allocations: 11.77 kB / 1.384 GB, free: 29.36 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/1.353, allocations: 0 / 1.384 GB, free: 29.36 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-06/1.354, allocations: 3.984 kB / 1.384 GB, free: 29.36 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003034/1.354, allocations: 365.9 kB / 1.384 GB, free: 29.14 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/1.354, allocations: 0 / 1.384 GB, free: 29.14 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.265e-05/1.354, allocations: 14.94 kB / 1.384 GB, free: 29.14 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/1.354, allocations: 0 / 1.384 GB, free: 29.14 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.178e-05/1.354, allocations: 4.172 kB / 1.384 GB, free: 29.13 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/1.354, allocations: 3.844 kB / 1.384 GB, free: 29.13 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/1.354, allocations: 3.938 kB / 1.384 GB, free: 29.13 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001959/1.354, allocations: 184.8 kB / 1.384 GB, free: 29.02 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001021/1.354, allocations: 150.4 kB / 1.384 GB, free: 28.88 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.912e-05/1.354, allocations: 7.891 kB / 1.384 GB, free: 28.88 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001197/1.354, allocations: 7.812 kB / 1.384 GB, free: 28.88 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.059e-05/1.355, allocations: 7.797 kB / 1.384 GB, free: 28.87 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.017e-05/1.355, allocations: 3.438 kB / 1.384 GB, free: 28.87 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0005708/1.355, allocations: 0.6109 MB / 1.385 GB, free: 28.7 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.302e-06/1.355, allocations: 0 / 1.385 GB, free: 28.7 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003181/1.355, allocations: 78.59 kB / 1.385 GB, free: 28.68 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.00145/1.357, allocations: 1.147 MB / 1.386 GB, free: 27.86 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.000181/1.357, allocations: 85.11 kB / 1.386 GB, free: 27.85 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/1.357, allocations: 0 / 1.386 GB, free: 27.85 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 5.859e-05/1.357, allocations: 36.77 kB / 1.386 GB, free: 27.84 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005767/1.358, allocations: 143.5 kB / 1.386 GB, free: 27.8 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001344/1.359, allocations: 1.057 MB / 1.387 GB, free: 27.38 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005721/1.36, allocations: 0.9857 MB / 1.388 GB, free: 26.58 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001368/1.36, allocations: 48.56 kB / 1.388 GB, free: 26.56 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001989/1.36, allocations: 177.6 kB / 1.389 GB, free: 26.54 MB / 0.8386 GB Notification: Performance of SimCode: time 3.51e-07/1.36, allocations: 0 / 1.389 GB, free: 26.54 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03053/1.391, allocations: 11.88 MB / 1.4 GB, free: 20.9 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001908/1.391, allocations: 204.4 kB / 1.4 GB, free: 20.63 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.367/3.758, allocations: 3.938 kB / 1.4 GB, free: 20.63 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedSelect_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedSelect.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect_res.mat does not exist to compare? outputFormat=mat