Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.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.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaCon.yVal|heaCon.yValSwi|heaCon.dT|heaCon.y",fileNamePrefix="Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat") translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaCon.yVal|heaCon.yValSwi|heaCon.dT|heaCon.y",fileNamePrefix="Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001156/0.001156, allocations: 115.3 kB / 16.42 MB, free: 6.02 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001165/0.001165, allocations: 186.1 kB / 17.35 MB, free: 5.633 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.412/1.412, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.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.435/2.435, allocations: 437 MB / 0.7112 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001357/0.001357, allocations: 63.91 kB / 1.019 GB, free: 9.445 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7398/0.7412, allocations: 151.6 MB / 1.167 GB, free: 3.895 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.002852/0.7441, allocations: 2.032 MB / 1.169 GB, free: 1.852 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001155/0.7453, allocations: 0.7053 MB / 1.17 GB, free: 1.141 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001114/0.7454, allocations: 4 kB / 1.17 GB, free: 1.137 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001376/0.7455, allocations: 35.59 kB / 1.17 GB, free: 1.102 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 9.964e-05/0.7457, allocations: 43.53 kB / 1.17 GB, free: 1.059 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003914/0.7461, allocations: 163.7 kB / 1.17 GB, free: 0.8984 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0003507/0.7464, allocations: 399.2 kB / 1.171 GB, free: 0.5078 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003029/0.7467, allocations: 243.7 kB / 1.171 GB, free: 276 kB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001519/0.7469, allocations: 139.5 kB / 1.171 GB, free: 136 kB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000176/0.7471, allocations: 143.5 kB / 1.171 GB, free: 15.99 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 5.014e-05/0.7471, allocations: 40 kB / 1.171 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 8.696e-05/0.7472, allocations: 51.98 kB / 1.171 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 7.398e-05/0.7473, allocations: 83.67 kB / 1.171 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001293/0.7475, allocations: 147.2 kB / 1.171 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0003646/0.7478, allocations: 426.4 kB / 1.172 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.7478, allocations: 0 / 1.172 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.663e-06/0.7478, allocations: 0 / 1.172 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 5.801e-06/0.7479, allocations: 0 / 1.172 GB, free: 15.26 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.0007498/0.7486, allocations: 0.5709 MB / 1.172 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/0.7486, allocations: 8.922 kB / 1.172 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.145e-05/0.7487, allocations: 32.56 kB / 1.172 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003002/0.749, allocations: 279.6 kB / 1.173 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.612e-05/0.7491, allocations: 28.94 kB / 1.173 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.692e-05/0.7491, allocations: 28.38 kB / 1.173 GB, free: 14.24 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005295/0.7497, allocations: 316 kB / 1.173 GB, free: 13.92 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.7497, allocations: 0 / 1.173 GB, free: 13.92 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.047e-05/0.7497, allocations: 16 kB / 1.173 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.287e-06/0.7497, allocations: 8 kB / 1.173 GB, free: 13.9 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004667/0.7502, allocations: 238 kB / 1.173 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001309/0.7515, allocations: 0.9168 MB / 1.174 GB, free: 12.68 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004858/0.752, allocations: 258.9 kB / 1.174 GB, free: 12.43 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000208/0.7522, allocations: 121.2 kB / 1.175 GB, free: 12.3 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.286e-05/0.7523, allocations: 4.234 kB / 1.175 GB, free: 12.3 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002633/0.7525, allocations: 159.5 kB / 1.175 GB, free: 12.13 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=30): time 1.824e-06/0.7525, allocations: 0 / 1.175 GB, free: 12.13 MB / 0.9044 GB Notification: Performance of matching and sorting (n=30): time 0.0006469/0.7532, allocations: 322.1 kB / 1.175 GB, free: 11.81 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.037e-05/0.7532, allocations: 63.39 kB / 1.175 GB, free: 11.74 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001599/0.7534, allocations: 207.9 kB / 1.175 GB, free: 11.53 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.627e-05/0.7534, allocations: 37.7 kB / 1.175 GB, free: 11.48 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 8.889e-05/0.7535, allocations: 156.6 kB / 1.175 GB, free: 11.33 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 5.938e-05/0.7536, allocations: 78.98 kB / 1.176 GB, free: 11.25 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001054/0.7537, allocations: 81.59 kB / 1.176 GB, free: 11.16 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 9.401e-05/0.7538, allocations: 334.8 kB / 1.176 GB, free: 10.83 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000201/0.754, allocations: 103.9 kB / 1.176 GB, free: 10.73 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002208/0.7543, allocations: 145 kB / 1.176 GB, free: 10.57 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003567/0.7546, allocations: 218.3 kB / 1.176 GB, free: 10.34 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.7546, allocations: 0 / 1.176 GB, free: 10.34 MB / 0.9044 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005147/0.7552, allocations: 312.6 kB / 1.177 GB, free: 10.02 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.7552, allocations: 12.14 kB / 1.177 GB, free: 10.01 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.7552, allocations: 4 kB / 1.177 GB, free: 10.01 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.7552, allocations: 4 kB / 1.177 GB, free: 10 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002059/0.7554, allocations: 35.92 kB / 1.177 GB, free: 9.969 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.898e-06/0.7554, allocations: 7.984 kB / 1.177 GB, free: 9.961 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002044/0.7556, allocations: 39.75 kB / 1.177 GB, free: 9.922 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.914e-05/0.7557, allocations: 16 kB / 1.177 GB, free: 9.906 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 31 ($PRE.heaCon.offToOn.enableFire,$PRE.heaCon.onToOff.enableFire,heaCon.stateGraphRoot.activeSteps,heaCon.onToOff.t_start,$PRE.heaCon.onToOff.t_start,heaCon.onToOff.fire,heaCon.onToOff.enableFire,heaCon.onToOff.localCondition,heaCon.offToOn.t_start,$PRE.heaCon.offToOn.t_start,heaCon.offToOn.fire,heaCon.offToOn.enableFire,heaCon.offToOn.localCondition,heaCon.on.active,heaCon.on.oldActive,$PRE.heaCon.on.oldActive,heaCon.on.newActive,$PRE.heaCon.on.newActive,heaCon.on.localActive,$PRE.heaCon.on.localActive,heaCon.off.active,heaCon.off.oldActive,$PRE.heaCon.off.oldActive,heaCon.off.newActive,$PRE.heaCon.off.newActive,heaCon.off.localActive,$PRE.heaCon.off.localActive,$whenCondition1,$whenCondition2,heaCon.stateGraphRoot.resume,heaCon.stateGraphRoot.suspend) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * 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.0001513/0.7558, allocations: 169.8 kB / 1.177 GB, free: 9.73 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.627e-05/0.7559, allocations: 23.66 kB / 1.177 GB, free: 9.707 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000528/0.7564, allocations: 284.1 kB / 1.177 GB, free: 9.422 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.7564, allocations: 0 / 1.177 GB, free: 9.422 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.7564, allocations: 4 kB / 1.177 GB, free: 9.418 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.315e-05/0.7565, allocations: 104.7 kB / 1.177 GB, free: 9.297 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.818e-05/0.7565, allocations: 8 kB / 1.177 GB, free: 9.289 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000179/0.7567, allocations: 27.97 kB / 1.177 GB, free: 9.262 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.36e-05/0.7568, allocations: 35.95 kB / 1.177 GB, free: 9.227 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006366/0.7575, allocations: 362.3 kB / 1.178 GB, free: 8.867 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004887/0.758, allocations: 434.9 kB / 1.178 GB, free: 8.426 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002026/0.7582, allocations: 127.9 kB / 1.178 GB, free: 8.301 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 8.888e-05/0.7583, allocations: 131.1 kB / 1.178 GB, free: 8.172 MB / 0.9044 GB Notification: Performance of Backend: time 5.51e-07/0.7583, allocations: 0 / 1.178 GB, free: 8.172 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.000623/0.7589, allocations: 248.1 kB / 1.179 GB, free: 7.926 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0007931/0.7597, allocations: 0.8557 MB / 1.179 GB, free: 7.023 MB / 0.9044 GB Notification: Performance of Templates: time 0.006337/0.7661, allocations: 3.391 MB / 1.183 GB, free: 3.656 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.makefile (rm -f Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; mkfifo Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; head -c 1048576 < Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe >> ../files/Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.sim & ./Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches