Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|speSel.speRat",fileNamePrefix="Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect") translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|speSel.speRat",fileNamePrefix="Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001398/0.001398, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0014/0.0014, allocations: 192.8 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.508/1.508, allocations: 222.9 MB / 240.2 MB, free: 4.258 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.732/2.732, allocations: 437 MB / 0.7104 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002077/0.002078, allocations: 63.89 kB / 0.8692 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.85/0.8521, allocations: 151.6 MB / 1.017 GB, free: 2.492 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect): time 0.004048/0.8562, allocations: 2.157 MB / 1.019 GB, free: 324 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.003877/0.8601, allocations: 2.651 MB / 1.022 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000134/0.8602, allocations: 4 kB / 1.022 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.00152/0.8618, allocations: 0.5346 MB / 1.023 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003412/0.8622, allocations: 131.3 kB / 1.023 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006553/0.8628, allocations: 235 kB / 1.023 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0004323/0.8633, allocations: 366.3 kB / 1.023 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001452/0.8634, allocations: 65.06 kB / 1.023 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000156/0.8636, allocations: 131.3 kB / 1.023 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002095/0.8638, allocations: 147.2 kB / 1.024 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.518e-05/0.8639, allocations: 8 kB / 1.024 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001592/0.864, allocations: 59.92 kB / 1.024 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.000173/0.8642, allocations: 135.5 kB / 1.024 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002193/0.8644, allocations: 234.3 kB / 1.024 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0008498/0.8653, allocations: 0.6968 MB / 1.025 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.8653, allocations: 0 / 1.025 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.142e-06/0.8653, allocations: 3.938 kB / 1.025 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.142e-06/0.8653, allocations: 0 / 1.025 GB, free: 10.93 MB / 0.7794 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.001272/0.8666, allocations: 0.916 MB / 1.026 GB, free: 9.953 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.8666, allocations: 8.031 kB / 1.026 GB, free: 9.945 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001131/0.8668, allocations: 72 kB / 1.026 GB, free: 9.875 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005767/0.8673, allocations: 448.1 kB / 1.026 GB, free: 9.398 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.655e-05/0.8674, allocations: 4.375 kB / 1.026 GB, free: 9.395 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.032e-05/0.8674, allocations: 8.125 kB / 1.026 GB, free: 9.387 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002352/0.8676, allocations: 100.2 kB / 1.026 GB, free: 9.273 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.325e-06/0.8677, allocations: 4 kB / 1.026 GB, free: 9.27 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.666e-05/0.8677, allocations: 4 kB / 1.026 GB, free: 9.266 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.283e-06/0.8677, allocations: 0 / 1.026 GB, free: 9.266 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001226/0.8678, allocations: 43.97 kB / 1.026 GB, free: 9.223 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007818/0.8686, allocations: 0.5238 MB / 1.027 GB, free: 8.648 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004108/0.869, allocations: 106.6 kB / 1.027 GB, free: 8.535 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.116e-05/0.8691, allocations: 32.84 kB / 1.027 GB, free: 8.5 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.259e-05/0.8691, allocations: 0 / 1.027 GB, free: 8.5 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001959/0.8693, allocations: 91.39 kB / 1.027 GB, free: 8.398 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.323e-06/0.8694, allocations: 0 / 1.027 GB, free: 8.398 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0004653/0.8698, allocations: 196.8 kB / 1.027 GB, free: 8.199 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.599e-05/0.8699, allocations: 110.8 kB / 1.027 GB, free: 8.066 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001266/0.8712, allocations: 0.9149 MB / 1.028 GB, free: 7.141 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.505e-05/0.8712, allocations: 33.7 kB / 1.028 GB, free: 7.102 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003892/0.8716, allocations: 315.9 kB / 1.028 GB, free: 6.789 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.684e-05/0.8717, allocations: 19.8 kB / 1.028 GB, free: 6.77 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.518e-05/0.8718, allocations: 29.66 kB / 1.029 GB, free: 6.734 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001821/0.8719, allocations: 317.9 kB / 1.029 GB, free: 6.418 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.673e-05/0.872, allocations: 27.97 kB / 1.029 GB, free: 6.391 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001353/0.8722, allocations: 76.28 kB / 1.029 GB, free: 6.301 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001647/0.8724, allocations: 78.16 kB / 1.029 GB, free: 6.219 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.8724, allocations: 0 / 1.029 GB, free: 6.219 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003609/0.8727, allocations: 168.7 kB / 1.029 GB, free: 6.047 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.178e-05/0.8728, allocations: 4 kB / 1.029 GB, free: 6.043 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.8728, allocations: 4.031 kB / 1.029 GB, free: 6.039 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.144e-05/0.8728, allocations: 4 kB / 1.029 GB, free: 6.035 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.718e-05/0.8729, allocations: 11.98 kB / 1.029 GB, free: 6.023 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.324e-05/0.8729, allocations: 7.938 kB / 1.029 GB, free: 6.016 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001716/0.8731, allocations: 15.78 kB / 1.029 GB, free: 6 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.316e-05/0.8731, allocations: 4 kB / 1.029 GB, free: 5.996 MB / 0.7794 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 ($PRE.sta.combiTimeTable.nextTimeEvent,$whenCondition1,sta.combiTimeTable.nextTimeEventScaled,$PRE.sta.combiTimeTable.nextTimeEventScaled,sta.combiTimeTable.nextTimeEvent,sta.y) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004905/0.8736, allocations: 318.8 kB / 1.03 GB, free: 5.676 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001037/0.8737, allocations: 67.16 kB / 1.03 GB, free: 5.609 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001744/0.8739, allocations: 82.41 kB / 1.03 GB, free: 5.523 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.155e-06/0.8739, allocations: 0 / 1.03 GB, free: 5.523 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.329e-05/0.8739, allocations: 4 kB / 1.03 GB, free: 5.52 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/0.874, allocations: 3.938 kB / 1.03 GB, free: 5.516 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006337/0.8746, allocations: 389.4 kB / 1.03 GB, free: 5.086 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.8746, allocations: 0 / 1.03 GB, free: 5.086 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.032e-05/0.8747, allocations: 7.984 kB / 1.03 GB, free: 5.078 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.8747, allocations: 4 kB / 1.03 GB, free: 5.074 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.233e-05/0.8747, allocations: 0 / 1.03 GB, free: 5.074 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.8747, allocations: 0 / 1.03 GB, free: 5.074 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-06/0.8747, allocations: 4 kB / 1.03 GB, free: 5.07 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003643/0.8751, allocations: 208.1 kB / 1.03 GB, free: 4.848 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001557/0.8752, allocations: 132.3 kB / 1.03 GB, free: 4.699 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.289e-05/0.8753, allocations: 8 kB / 1.03 GB, free: 4.691 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001154/0.8754, allocations: 3.984 kB / 1.03 GB, free: 4.688 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.774e-05/0.8755, allocations: 11.98 kB / 1.03 GB, free: 4.676 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.035e-05/0.8755, allocations: 11.88 kB / 1.03 GB, free: 4.664 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0009242/0.8765, allocations: 0.6785 MB / 1.031 GB, free: 3.992 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8765, allocations: 4 kB / 1.031 GB, free: 3.988 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003073/0.8768, allocations: 60 kB / 1.031 GB, free: 3.93 MB / 0.7794 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,sta.y,sta.combiTimeTable.nextTimeEvent,sta.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (sta.combiTimeTable.nextTimeEventScaled,sta.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001608/0.8784, allocations: 423.5 kB / 1.032 GB, free: 3.664 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002595/0.8787, allocations: 75.89 kB / 1.032 GB, free: 3.59 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.8787, allocations: 0 / 1.032 GB, free: 3.59 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001003/0.8788, allocations: 43.91 kB / 1.032 GB, free: 3.547 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000679/0.8795, allocations: 171.5 kB / 1.032 GB, free: 3.387 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001826/0.8813, allocations: 1.144 MB / 1.033 GB, free: 2.215 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000702/0.882, allocations: 0.9902 MB / 1.034 GB, free: 1.195 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001604/0.8822, allocations: 51.25 kB / 1.034 GB, free: 1.145 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.853e-05/0.8823, allocations: 27.44 kB / 1.034 GB, free: 1.121 MB / 0.7794 GB Notification: Performance of SimCode: time 3.41e-07/0.8823, allocations: 0 / 1.034 GB, free: 1.121 MB / 0.7794 GB Notification: Performance of Templates: time 0.01324/0.8955, allocations: 6.051 MB / 1.04 GB, free: 11.2 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.makefile (rm -f Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe ; mkfifo Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe >> ../files/Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.sim & ./Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedSelect.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches