Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.514/1.514, allocations: 249.3 MB / 261.8 MB, free: 5.875 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001122/0.001122, allocations: 172.9 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.567/1.567, allocations: 205.2 MB / 0.572 GB, free: 10.63 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008521/0.0008519, allocations: 105.2 kB / 0.6764 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.218e-05/3.23e-05, allocations: 4 kB / 0.788 GB, free: 97.07 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2176/0.2176, allocations: 106.3 MB / 0.8918 GB, free: 6.637 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7062/0.9239, allocations: 139.6 MB / 1.028 GB, free: 11.15 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002428/0.9241, allocations: 93.88 kB / 1.028 GB, free: 11.1 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.03075/0.9549, allocations: 12.69 MB / 1.041 GB, free: 280 kB / 0.6511 GB Notification: Performance of FrontEnd: time 1.032e-06/0.955, allocations: 0 / 1.041 GB, free: 280 kB / 0.6511 GB Notification: Performance of Transformations before backend: time 3.617e-05/0.955, allocations: 8 kB / 1.041 GB, free: 272 kB / 0.6511 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.0008758/0.9559, allocations: 0.7091 MB / 1.041 GB, free: 15.54 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.663e-05/0.956, allocations: 16.02 kB / 1.041 GB, free: 15.52 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000103/0.9561, allocations: 63.16 kB / 1.041 GB, free: 15.46 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007536/0.9568, allocations: 474.4 kB / 1.042 GB, free: 14.99 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.247e-05/0.9569, allocations: 4 kB / 1.042 GB, free: 14.99 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.976e-05/0.9569, allocations: 7.062 kB / 1.042 GB, free: 14.98 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001789/0.9571, allocations: 99.55 kB / 1.042 GB, free: 14.89 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.9571, allocations: 0 / 1.042 GB, free: 14.89 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.748e-05/0.9571, allocations: 4 kB / 1.042 GB, free: 14.88 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.9571, allocations: 0 / 1.042 GB, free: 14.88 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.31e-05/0.9572, allocations: 40.48 kB / 1.042 GB, free: 14.86 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007615/0.958, allocations: 0.5318 MB / 1.043 GB, free: 14.37 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003049/0.9583, allocations: 99.44 kB / 1.043 GB, free: 14.28 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.216e-05/0.9584, allocations: 38.22 kB / 1.043 GB, free: 14.25 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 1.569e-05/0.9584, allocations: 3.984 kB / 1.043 GB, free: 14.25 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001499/0.9586, allocations: 88.75 kB / 1.043 GB, free: 14.16 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=7): time 1.382e-06/0.9586, allocations: 0 / 1.043 GB, free: 14.16 MB / 0.6667 GB Notification: Performance of matching and sorting (n=7): time 0.000314/0.9589, allocations: 162.4 kB / 1.043 GB, free: 14.01 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.795e-05/0.959, allocations: 114.3 kB / 1.043 GB, free: 13.88 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009171/0.9599, allocations: 0.7827 MB / 1.044 GB, free: 13.27 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 2.549e-05/0.9599, allocations: 33.08 kB / 1.044 GB, free: 13.23 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002245/0.9602, allocations: 297.4 kB / 1.044 GB, free: 13.09 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 2.873e-05/0.9602, allocations: 23.06 kB / 1.044 GB, free: 13.07 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.34e-06/0.9602, allocations: 3.938 kB / 1.044 GB, free: 13.07 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001266/0.9603, allocations: 313.5 kB / 1.044 GB, free: 12.76 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.412e-05/0.9604, allocations: 22.62 kB / 1.044 GB, free: 12.74 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.936e-05/0.9605, allocations: 78.58 kB / 1.044 GB, free: 12.66 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.387e-05/0.9606, allocations: 37.86 kB / 1.045 GB, free: 12.64 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.9606, allocations: 0 / 1.045 GB, free: 12.64 MB / 0.6667 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002225/0.9608, allocations: 163.2 kB / 1.045 GB, free: 12.49 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.9608, allocations: 4 kB / 1.045 GB, free: 12.48 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.9608, allocations: 4 kB / 1.045 GB, free: 12.48 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/0.9609, allocations: 0 / 1.045 GB, free: 12.48 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.797e-05/0.961, allocations: 19.92 kB / 1.045 GB, free: 12.46 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.961, allocations: 160 / 1.045 GB, free: 12.46 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001246/0.9611, allocations: 11.14 kB / 1.045 GB, free: 12.45 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.146e-05/0.9611, allocations: 4.031 kB / 1.045 GB, free: 12.45 MB / 0.6667 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.166e-05/0.9612, allocations: 116.3 kB / 1.045 GB, free: 12.33 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.654e-05/0.9613, allocations: 67.16 kB / 1.045 GB, free: 12.27 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003136/0.9616, allocations: 183.9 kB / 1.045 GB, free: 12.11 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.796e-06/0.9616, allocations: 0 / 1.045 GB, free: 12.11 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.9617, allocations: 7.922 kB / 1.045 GB, free: 12.1 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.9617, allocations: 0 / 1.045 GB, free: 12.1 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000401/0.9621, allocations: 397.6 kB / 1.045 GB, free: 11.73 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.9621, allocations: 0 / 1.045 GB, free: 11.73 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.526e-05/0.9621, allocations: 15.98 kB / 1.045 GB, free: 11.71 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.9622, allocations: 0 / 1.045 GB, free: 11.71 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.13e-05/0.9622, allocations: 0 / 1.045 GB, free: 11.71 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.407e-06/0.9622, allocations: 4 kB / 1.045 GB, free: 11.71 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.9622, allocations: 0 / 1.045 GB, free: 11.71 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002396/0.9624, allocations: 198.8 kB / 1.046 GB, free: 11.52 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001467/0.9626, allocations: 147.1 kB / 1.046 GB, free: 11.36 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.983e-05/0.9626, allocations: 0 / 1.046 GB, free: 11.36 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001267/0.9628, allocations: 11.98 kB / 1.046 GB, free: 11.35 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.378e-05/0.9628, allocations: 11.23 kB / 1.046 GB, free: 11.34 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.709e-05/0.9629, allocations: 8 kB / 1.046 GB, free: 11.34 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0007278/0.9636, allocations: 0.6457 MB / 1.046 GB, free: 10.85 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9636, allocations: 4 kB / 1.046 GB, free: 10.85 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0003677/0.964, allocations: 78.92 kB / 1.047 GB, free: 10.78 MB / 0.6667 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.001173/0.9652, allocations: 0.5221 MB / 1.047 GB, free: 10.34 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0002049/0.9654, allocations: 89.77 kB / 1.047 GB, free: 10.27 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.9654, allocations: 0 / 1.047 GB, free: 10.27 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 7.678e-05/0.9655, allocations: 38.55 kB / 1.047 GB, free: 10.24 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006124/0.9661, allocations: 143.7 kB / 1.047 GB, free: 10.13 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001259/0.9674, allocations: 0.8646 MB / 1.048 GB, free: 9.359 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005398/0.9679, allocations: 0.9934 MB / 1.049 GB, free: 8.402 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0001455/0.9681, allocations: 38.36 kB / 1.049 GB, free: 8.367 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.769e-05/0.9681, allocations: 23.44 kB / 1.049 GB, free: 8.348 MB / 0.6667 GB Notification: Performance of SimCode: time 8.31e-07/0.9681, allocations: 4 kB / 1.049 GB, free: 8.344 MB / 0.6667 GB Notification: Performance of Templates: time 0.01361/0.9818, allocations: 7.134 MB / 1.056 GB, free: 1.262 MB / 0.6667 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedSelect.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches