Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.Controller.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.CHPs.BaseClasses.Validation.Controller,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.runSig|con.avaSig|con.mWat_flow|con.opeMod",fileNamePrefix="Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.Controller") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.Controller,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.runSig|con.avaSig|con.mWat_flow|con.opeMod",fileNamePrefix="Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.Controller") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001906/0.001906, allocations: 109.3 kB / 16.42 MB, free: 6.496 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.002165/0.002165, allocations: 183.9 kB / 17.34 MB, free: 5.754 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.435/1.435, allocations: 222.9 MB / 241.1 MB, free: 15.21 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.549/2.549, allocations: 437 MB / 0.7112 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00142/0.001421, allocations: 64.12 kB / 1.019 GB, free: 9.414 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9661/0.9675, allocations: 151.6 MB / 1.167 GB, free: 3.855 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.Controller): time 0.006724/0.9743, allocations: 4.528 MB / 1.172 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.005592/0.9799, allocations: 3.048 MB / 1.175 GB, free: 12.25 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009925/0.981, allocations: 31.81 kB / 1.175 GB, free: 12.21 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002015/0.983, allocations: 0.6817 MB / 1.175 GB, free: 11.53 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.001291/0.9843, allocations: 429.7 kB / 1.176 GB, free: 11.11 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.002293/0.9866, allocations: 0.9274 MB / 1.177 GB, free: 10.19 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.002643/0.9893, allocations: 2.006 MB / 1.179 GB, free: 8.176 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001907/0.9912, allocations: 1.198 MB / 1.18 GB, free: 6.957 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001236/0.9924, allocations: 0.6969 MB / 1.181 GB, free: 6.258 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001199/0.9936, allocations: 0.7312 MB / 1.181 GB, free: 5.523 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0004588/0.9941, allocations: 176 kB / 1.181 GB, free: 5.352 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007292/0.9948, allocations: 267.9 kB / 1.182 GB, free: 5.09 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0006808/0.9955, allocations: 0.5453 MB / 1.182 GB, free: 4.543 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.001334/0.9969, allocations: 0.8624 MB / 1.183 GB, free: 3.676 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.002973/0.9999, allocations: 2.393 MB / 1.185 GB, free: 1.277 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.82e-06/0.9999, allocations: 0 / 1.185 GB, free: 1.277 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.385e-06/0.9999, allocations: 0 / 1.185 GB, free: 1.277 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 8.908e-05/1, allocations: 0 / 1.185 GB, free: 1.277 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: 285 * Number of variables: 285 Notification: Performance of Generate backend data structure: time 0.004519/1.005, allocations: 2.194 MB / 1.188 GB, free: 14.99 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.953e-05/1.005, allocations: 8.031 kB / 1.188 GB, free: 14.98 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004631/1.005, allocations: 211.6 kB / 1.188 GB, free: 14.77 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001937/1.007, allocations: 1.128 MB / 1.189 GB, free: 13.59 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001576/1.007, allocations: 144.7 kB / 1.189 GB, free: 13.45 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002079/1.007, allocations: 128 kB / 1.189 GB, free: 13.32 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002434/1.01, allocations: 1.357 MB / 1.19 GB, free: 11.84 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.031e-05/1.01, allocations: 7.938 kB / 1.19 GB, free: 11.83 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001272/1.01, allocations: 51.98 kB / 1.19 GB, free: 11.78 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.759e-05/1.01, allocations: 28 kB / 1.191 GB, free: 11.75 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001783/1.012, allocations: 0.9016 MB / 1.191 GB, free: 10.85 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006922/1.019, allocations: 5.573 MB / 1.197 GB, free: 5.102 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001513/1.02, allocations: 0.8814 MB / 1.198 GB, free: 4.129 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007158/1.021, allocations: 441.6 kB / 1.198 GB, free: 3.672 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 6.179e-05/1.021, allocations: 9 kB / 1.198 GB, free: 3.664 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001083/1.022, allocations: 0.637 MB / 1.199 GB, free: 2.98 MB / 0.92 GB Notification: Performance of pre-optimization done (n=102): time 4.479e-06/1.022, allocations: 0 / 1.199 GB, free: 2.98 MB / 0.92 GB Notification: Performance of matching and sorting (n=102): time 0.002459/1.025, allocations: 1.222 MB / 1.2 GB, free: 1.754 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001861/1.025, allocations: 368.2 kB / 1.2 GB, free: 1.316 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002426/1.027, allocations: 1.599 MB / 1.202 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001661/1.028, allocations: 93.69 kB / 1.202 GB, free: 15.6 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007313/1.028, allocations: 0.7222 MB / 1.203 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.000301/1.029, allocations: 266 kB / 1.203 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005446/1.029, allocations: 327.5 kB / 1.203 GB, free: 14.29 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001128/1.029, allocations: 305.1 kB / 1.204 GB, free: 13.99 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008093/1.03, allocations: 407.8 kB / 1.204 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001124/1.031, allocations: 0.7837 MB / 1.205 GB, free: 12.65 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001506/1.033, allocations: 0.9453 MB / 1.206 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.08e-05/1.033, allocations: 0 / 1.206 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of matching and sorting (n=183) (initialization): time 0.002451/1.035, allocations: 1.289 MB / 1.207 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.645e-05/1.035, allocations: 8 kB / 1.207 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.095e-05/1.035, allocations: 12 kB / 1.207 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.32e-05/1.035, allocations: 16 kB / 1.207 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005867/1.036, allocations: 175.5 kB / 1.207 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.965e-05/1.036, allocations: 27.86 kB / 1.207 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008046/1.037, allocations: 139.1 kB / 1.207 GB, free: 9.902 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001297/1.037, allocations: 63.98 kB / 1.207 GB, free: 9.84 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 136 ($PRE.con.transition3.enableFire,$PRE.con.transition5.enableFire,$PRE.con.transition9.enableFire,$PRE.con.transition7.enableFire,$PRE.con.transition10.enableFire,$PRE.con.transition1.enableFire,$PRE.con.transition2.enableFire,$PRE.con.transition8.enableFire,$PRE.con.transition6.enableFire,$PRE.con.transition4.enableFire,$PRE.mWat_flow.tab.nextTimeEvent,$whenCondition10,$PRE.avaSig.combiTimeTable.nextTimeEvent,$whenCondition9,$PRE.runSig.combiTimeTable.nextTimeEvent,$whenCondition1,con.transition3.t_start,$PRE.con.transition3.t_start,con.transition5.t_start,$PRE.con.transition5.t_start,con.transition9.t_start,$PRE.con.transition9.t_start,con.transition7.t_start,$PRE.con.transition7.t_start,con.transition10.t_start,$PRE.con.transition10.t_start,con.transition1.t_start,$PRE.con.transition1.t_start,con.transition2.t_start,$PRE.con.transition2.t_start,con.transition8.t_start,$PRE.con.transition8.t_start,con.transition6.t_start,$PRE.con.transition6.t_start,stateGraphRoot.resume,stateGraphRoot.suspend,stateGraphRoot.activeSteps,mWat_flow.tab.nextTimeEventScaled,$PRE.mWat_flow.tab.nextTimeEventScaled,mWat_flow.tab.nextTimeEvent,avaSig.combiTimeTable.nextTimeEventScaled,$PRE.avaSig.combiTimeTable.nextTimeEventScaled,avaSig.combiTimeTable.nextTimeEvent,con.timer.entryTime,$PRE.con.timer.entryTime,con.timer.passed,$PRE.con.timer.passed,con.transition4.t_start,$PRE.con.transition4.t_start,con.transition4.enableFire,con.transition4.localCondition,con.plaOff.oldActive,$PRE.con.plaOff.oldActive,con.plaOff.newActive,$PRE.con.plaOff.newActive,con.plaOff.inPort[3].occupied,con.plaOff.inPort[2].occupied,con.plaOff.localActive,$PRE.con.plaOff.localActive,con.plaOff.active,con.transition6.enableFire,con.transition6.localCondition,con.warUpCtr.timer.entryTime,$PRE.con.warUpCtr.timer.entryTime,con.warUpCtr.timer.passed,$PRE.con.warUpCtr.timer.passed,con.transition8.enableFire,con.nor.oldActive,$PRE.con.nor.oldActive,con.nor.newActive,$PRE.con.nor.newActive,con.nor.localActive,$PRE.con.nor.localActive,con.nor.active,con.transition2.enableFire,con.transition1.enableFire,con.assWatMas.hys.y,$PRE.con.assWatMas.hys.y,con.assWatMas.nand.y,con.transition10.enableFire,con.transition10.localCondition,con.transition7.enableFire,con.transition7.localCondition,con.transition9.enableFire,con.transition5.enableFire,con.transition3.enableFire,con.hys.y,$PRE.con.hys.y,con.cooDow.active,con.cooDow.oldActive,$PRE.con.cooDow.oldActive,con.cooDow.newActive,$PRE.con.cooDow.newActive,con.cooDow.outPort[2].available,con.cooDow.inPort[2].occupied,con.cooDow.localActive,$PRE.con.cooDow.localActive,con.warUp.active,con.warUp.oldActive,$PRE.con.warUp.oldActive,con.warUp.newActive,$PRE.con.warUp.newActive,con.warUp.outPort[2].available,con.warUp.inPort[2].occupied,con.warUp.inPort[1].set,con.warUp.localActive,$PRE.con.warUp.localActive,con.pumOn.oldActive,$PRE.con.pumOn.oldActive,con.pumOn.newActive,$PRE.con.pumOn.newActive,con.pumOn.outPort[2].available,con.pumOn.localActive,$PRE.con.pumOn.localActive,con.pumOn.active,con.staBy.oldActive,$PRE.con.staBy.oldActive,con.staBy.newActive,$PRE.con.staBy.newActive,con.staBy.outPort[2].available,con.staBy.localActive,$PRE.con.staBy.localActive,con.staBy.active,con.opeMod,con.runSig,con.avaSig,runSig.combiTimeTable.nextTimeEventScaled,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEvent,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition5,$whenCondition8,$whenCondition7,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (183): * Single equations (assignments): 183 * 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.000884/1.038, allocations: 0.5341 MB / 1.208 GB, free: 9.293 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003632/1.038, allocations: 159 kB / 1.208 GB, free: 9.137 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001862/1.04, allocations: 0.9698 MB / 1.209 GB, free: 8.152 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.482e-05/1.04, allocations: 7.984 kB / 1.209 GB, free: 8.145 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/1.04, allocations: 0 / 1.209 GB, free: 8.145 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000375/1.04, allocations: 255.8 kB / 1.209 GB, free: 7.875 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002377/1.041, allocations: 35.98 kB / 1.209 GB, free: 7.84 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004629/1.041, allocations: 51.89 kB / 1.209 GB, free: 7.789 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003214/1.042, allocations: 140.8 kB / 1.209 GB, free: 7.652 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002182/1.044, allocations: 1.721 MB / 1.211 GB, free: 5.918 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002145/1.046, allocations: 1.86 MB / 1.213 GB, free: 4.031 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000839/1.047, allocations: 0.5075 MB / 1.213 GB, free: 3.523 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001736/1.048, allocations: 0.9916 MB / 1.214 GB, free: 2.531 MB / 0.9356 GB Notification: Performance of Backend: time 3.91e-07/1.048, allocations: 0 / 1.214 GB, free: 2.531 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.004151/1.053, allocations: 1.175 MB / 1.215 GB, free: 1.512 MB / 0.9356 GB Notification: Performance of SimCode: time 0.005444/1.058, allocations: 2.995 MB / 1.218 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of Templates: time 0.03681/1.095, allocations: 16.86 MB / 1.235 GB, free: 13.69 MB / 0.9669 GB make -j1 -f Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.Controller.makefile (rm -f Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.Controller.pipe ; mkfifo Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.Controller.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.Controller.pipe >> ../files/Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.Controller.sim & ./Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.Controller -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.Controller.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.Controller_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_CHPs_BaseClasses_Validation_Controller.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.Controller.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches