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.132/2.132, allocations: 387.4 MB / 394.9 MB, free: 13.37 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.001118/0.001118, allocations: 188.8 kB / 487.4 MB, free: 5.039 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.577/1.577, allocations: 221.5 MB / 0.7824 GB, free: 1.027 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.0009497/0.0009501, allocations: 91.91 kB / 0.9219 GB, free: 2.266 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.133e-05/2.136e-05, allocations: 8 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2807/0.2807, allocations: 142.3 MB / 1.206 GB, free: 43.98 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.008/1.289, allocations: 156.9 MB / 1.359 GB, free: 18.41 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002955/1.289, allocations: 97.48 kB / 1.359 GB, free: 18.41 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02882/1.318, allocations: 12.83 MB / 1.372 GB, free: 32.94 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.593e-06/1.318, allocations: 0 / 1.372 GB, free: 32.94 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.563e-05/1.318, allocations: 11.72 kB / 1.372 GB, free: 32.93 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.0007289/1.319, allocations: 0.7076 MB / 1.373 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/1.319, allocations: 10.72 kB / 1.373 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.118e-05/1.319, allocations: 62.03 kB / 1.373 GB, free: 32.33 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006163/1.32, allocations: 465.8 kB / 1.373 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.146e-05/1.32, allocations: 0 / 1.373 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.057e-05/1.32, allocations: 3.875 kB / 1.373 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.333e-05/1.32, allocations: 38.77 kB / 1.373 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001354/1.32, allocations: 94.97 kB / 1.373 GB, free: 31.99 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/1.32, allocations: 3.938 kB / 1.373 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.569e-05/1.32, allocations: 0 / 1.373 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.922e-06/1.32, allocations: 0 / 1.373 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006269/1.321, allocations: 0.5091 MB / 1.374 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000269/1.321, allocations: 107.4 kB / 1.374 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.422e-05/1.321, allocations: 29.98 kB / 1.374 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.75e-05/1.321, allocations: 0 / 1.374 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001263/1.321, allocations: 81.03 kB / 1.374 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 1.222e-06/1.321, allocations: 3.812 kB / 1.374 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7): time 0.000255/1.321, allocations: 167.3 kB / 1.374 GB, free: 31.58 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.408e-05/1.321, allocations: 102.8 kB / 1.374 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007428/1.322, allocations: 0.752 MB / 1.375 GB, free: 31.33 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.671e-05/1.322, allocations: 29.14 kB / 1.375 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002095/1.322, allocations: 300 kB / 1.375 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.47e-05/1.322, allocations: 21.8 kB / 1.375 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.66e-06/1.322, allocations: 3.812 kB / 1.375 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001201/1.323, allocations: 308.5 kB / 1.376 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.832e-05/1.323, allocations: 22.62 kB / 1.376 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.827e-05/1.323, allocations: 81.28 kB / 1.376 GB, free: 30.85 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.974e-05/1.323, allocations: 27.84 kB / 1.376 GB, free: 30.85 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/1.323, allocations: 3.906 kB / 1.376 GB, free: 30.85 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001668/1.323, allocations: 149.8 kB / 1.376 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/1.323, allocations: 6.859 kB / 1.376 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/1.323, allocations: 0 / 1.376 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/1.323, allocations: 3.812 kB / 1.376 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.878e-05/1.323, allocations: 14.47 kB / 1.376 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.189e-06/1.323, allocations: 4.031 kB / 1.376 GB, free: 30.78 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001152/1.323, allocations: 11.75 kB / 1.376 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.019e-05/1.323, allocations: 11.7 kB / 1.376 GB, free: 30.77 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 9.107e-05/1.323, allocations: 108.4 kB / 1.376 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.196e-05/1.323, allocations: 62.16 kB / 1.376 GB, free: 30.63 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002591/1.324, allocations: 174.2 kB / 1.376 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/1.324, allocations: 0 / 1.376 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/1.324, allocations: 0 / 1.376 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/1.324, allocations: 4 kB / 1.376 GB, free: 30.58 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003008/1.324, allocations: 375.7 kB / 1.377 GB, free: 30.42 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/1.324, allocations: 0 / 1.377 GB, free: 30.42 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.06e-05/1.324, allocations: 14.91 kB / 1.377 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/1.324, allocations: 3.984 kB / 1.377 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.095e-05/1.324, allocations: 7.594 kB / 1.377 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/1.324, allocations: 0 / 1.377 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/1.324, allocations: 192 / 1.377 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001857/1.324, allocations: 191.2 kB / 1.377 GB, free: 30.31 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 9.826e-05/1.324, allocations: 157.4 kB / 1.377 GB, free: 30.17 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.301e-05/1.324, allocations: 0 / 1.377 GB, free: 30.17 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001173/1.325, allocations: 7.094 kB / 1.377 GB, free: 30.17 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.654e-05/1.325, allocations: 10.61 kB / 1.377 GB, free: 30.17 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.898e-06/1.325, allocations: 3.906 kB / 1.377 GB, free: 30.17 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0006048/1.325, allocations: 0.6062 MB / 1.378 GB, free: 30.08 MB / 0.8386 GB Notification: Performance of sort global known variables: time 3e-07/1.325, allocations: 0 / 1.378 GB, free: 30.08 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003146/1.326, allocations: 68.27 kB / 1.378 GB, free: 30.08 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.001037/1.327, allocations: 0.5225 MB / 1.378 GB, free: 29.82 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001822/1.327, allocations: 85.44 kB / 1.378 GB, free: 29.81 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/1.327, allocations: 0 / 1.378 GB, free: 29.81 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 5.736e-05/1.327, allocations: 39.25 kB / 1.378 GB, free: 29.81 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005838/1.327, allocations: 145.4 kB / 1.378 GB, free: 29.79 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001075/1.329, allocations: 0.856 MB / 1.379 GB, free: 29.57 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005592/1.329, allocations: 1.001 MB / 1.38 GB, free: 28.86 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001409/1.329, allocations: 38.56 kB / 1.38 GB, free: 28.86 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.406e-05/1.329, allocations: 24.98 kB / 1.38 GB, free: 28.85 MB / 0.8386 GB Notification: Performance of SimCode: time 2.1e-07/1.329, allocations: 0 / 1.38 GB, free: 28.85 MB / 0.8386 GB Notification: Performance of Templates: time 0.009783/1.339, allocations: 5.731 MB / 1.386 GB, free: 26.22 MB / 0.8386 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