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: translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|speSel.speRat",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect") translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|speSel.speRat",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.283/2.283, allocations: 390.3 MB / 405.3 MB, free: 13.5 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.001144/0.001144, allocations: 173.1 kB / 498.1 MB, free: 5.75 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.688/1.688, allocations: 223.2 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.0009271/0.0009271, allocations: 101.4 kB / 0.9346 GB, free: 6.211 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004396/0.0004399, allocations: 11.16 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2981/0.2986, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1895/0.4881, allocations: 157.7 MB / 1.377 GB, free: 4.371 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002579/0.4884, allocations: 99.94 kB / 1.377 GB, free: 4.273 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.03113/0.5196, allocations: 12.99 MB / 1.39 GB, free: 7.215 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.294e-06/0.5196, allocations: 3.938 kB / 1.39 GB, free: 7.211 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 3.757e-05/0.5197, allocations: 15.98 kB / 1.39 GB, free: 7.195 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.001141/0.5208, allocations: 0.8487 MB / 1.39 GB, free: 6.289 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/0.5209, allocations: 8.031 kB / 1.391 GB, free: 6.281 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.734e-05/0.521, allocations: 71.11 kB / 1.391 GB, free: 6.211 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000742/0.5217, allocations: 471.5 kB / 1.391 GB, free: 5.711 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.098e-05/0.5217, allocations: 4 kB / 1.391 GB, free: 5.707 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.046e-05/0.5218, allocations: 4 kB / 1.391 GB, free: 5.703 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002072/0.522, allocations: 100.2 kB / 1.391 GB, free: 5.59 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.522, allocations: 0 / 1.391 GB, free: 5.59 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.788e-05/0.522, allocations: 3.984 kB / 1.391 GB, free: 5.586 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.522, allocations: 3.984 kB / 1.391 GB, free: 5.582 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001152/0.5222, allocations: 47.92 kB / 1.391 GB, free: 5.535 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007647/0.5229, allocations: 0.5395 MB / 1.392 GB, free: 4.945 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003876/0.5233, allocations: 110.7 kB / 1.392 GB, free: 4.828 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.461e-05/0.5234, allocations: 0 / 1.392 GB, free: 4.828 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001689/0.5235, allocations: 91.48 kB / 1.392 GB, free: 4.727 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=7): time 1.162e-06/0.5236, allocations: 0 / 1.392 GB, free: 4.727 MB / 0.8855 GB Notification: Performance of matching and sorting (n=7): time 0.0003995/0.524, allocations: 196.8 kB / 1.392 GB, free: 4.527 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.658e-05/0.524, allocations: 102.8 kB / 1.392 GB, free: 4.402 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009292/0.525, allocations: 0.7927 MB / 1.393 GB, free: 3.605 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.524e-05/0.525, allocations: 29.7 kB / 1.393 GB, free: 3.57 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002612/0.5253, allocations: 308 kB / 1.393 GB, free: 3.266 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.535e-05/0.5253, allocations: 19.8 kB / 1.393 GB, free: 3.246 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.809e-06/0.5253, allocations: 0 / 1.393 GB, free: 3.246 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.000102/0.5254, allocations: 310 kB / 1.394 GB, free: 2.938 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.527e-05/0.5255, allocations: 31.98 kB / 1.394 GB, free: 2.906 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001112/0.5256, allocations: 76.27 kB / 1.394 GB, free: 2.816 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.348e-05/0.5257, allocations: 43.92 kB / 1.394 GB, free: 2.773 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.5257, allocations: 4 kB / 1.394 GB, free: 2.77 MB / 0.8855 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002552/0.526, allocations: 160.8 kB / 1.394 GB, free: 2.605 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.526, allocations: 8 kB / 1.394 GB, free: 2.598 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.526, allocations: 0 / 1.394 GB, free: 2.598 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.526, allocations: 0 / 1.394 GB, free: 2.598 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.125e-05/0.5261, allocations: 15.94 kB / 1.394 GB, free: 2.582 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.937e-06/0.5261, allocations: 7.938 kB / 1.394 GB, free: 2.574 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001302/0.5263, allocations: 12 kB / 1.394 GB, free: 2.562 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.406e-06/0.5263, allocations: 4.031 kB / 1.394 GB, free: 2.559 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.0003117/0.5266, allocations: 319.9 kB / 1.394 GB, free: 2.238 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.843e-05/0.5267, allocations: 67.14 kB / 1.394 GB, free: 2.172 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003373/0.527, allocations: 187.6 kB / 1.394 GB, free: 1.973 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.527, allocations: 7.938 kB / 1.394 GB, free: 1.965 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.5271, allocations: 192 / 1.394 GB, free: 1.965 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.371e-05/0.5271, allocations: 3.953 kB / 1.395 GB, free: 1.961 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003886/0.5275, allocations: 405.3 kB / 1.395 GB, free: 1.516 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.5275, allocations: 4 kB / 1.395 GB, free: 1.512 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.919e-05/0.5275, allocations: 4 kB / 1.395 GB, free: 1.508 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.009e-06/0.5275, allocations: 4 kB / 1.395 GB, free: 1.504 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.156e-05/0.5276, allocations: 0 / 1.395 GB, free: 1.504 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.5276, allocations: 0 / 1.395 GB, free: 1.504 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.5276, allocations: 0 / 1.395 GB, free: 1.504 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002771/0.5279, allocations: 204.2 kB / 1.395 GB, free: 1.285 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001536/0.528, allocations: 144.2 kB / 1.395 GB, free: 1.125 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.126e-05/0.5281, allocations: 8 kB / 1.395 GB, free: 1.117 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001178/0.5282, allocations: 4 kB / 1.395 GB, free: 1.113 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.458e-05/0.5283, allocations: 15.92 kB / 1.395 GB, free: 1.098 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.213e-05/0.5283, allocations: 4 kB / 1.395 GB, free: 1.094 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0006896/0.529, allocations: 0.6473 MB / 1.396 GB, free: 460 kB / 0.8855 GB Notification: Performance of sort global known variables: time 2e-07/0.529, allocations: 0 / 1.396 GB, free: 460 kB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003569/0.5294, allocations: 83.92 kB / 1.396 GB, free: 376 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.001206/0.5306, allocations: 0.5917 MB / 1.397 GB, free: 15.94 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0002582/0.5308, allocations: 95.86 kB / 1.397 GB, free: 15.84 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.5308, allocations: 0 / 1.397 GB, free: 15.84 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 9.872e-05/0.531, allocations: 44.05 kB / 1.397 GB, free: 15.8 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005832/0.5315, allocations: 134.8 kB / 1.397 GB, free: 15.67 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001492/0.533, allocations: 1.179 MB / 1.398 GB, free: 14.46 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005303/0.5336, allocations: 0.9901 MB / 1.399 GB, free: 13.44 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0001426/0.5337, allocations: 46.28 kB / 1.399 GB, free: 13.39 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.14e-05/0.5338, allocations: 31.36 kB / 1.399 GB, free: 13.36 MB / 0.9011 GB Notification: Performance of SimCode: time 3.3e-07/0.5338, allocations: 0 / 1.399 GB, free: 13.36 MB / 0.9011 GB Notification: Performance of Templates: time 0.01258/0.5464, allocations: 6.86 MB / 1.406 GB, free: 6.598 MB / 0.9011 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.makefile (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 & ./Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedSelect.csv","../files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches