Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Templates.Plants.Controls.Enabling.Validation.Enable.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.Templates.Plants.Controls.Enabling.Validation.Enable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|req.y|sch.y|TOut.y|enaHea.TOutLck|enaCoo.TOutLck|enaHea.y1|enaCoo.y1|enaCooSch.y1",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.Enabling.Validation.Enable") translateModel(Buildings.Templates.Plants.Controls.Enabling.Validation.Enable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|req.y|sch.y|TOut.y|enaHea.TOutLck|enaCoo.TOutLck|enaHea.y1|enaCoo.y1|enaCooSch.y1",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.Enabling.Validation.Enable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001115/0.001116, allocations: 110.4 kB / 16.42 MB, free: 6.508 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.001076/0.001076, allocations: 185.5 kB / 17.35 MB, free: 5.738 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.485/1.485, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.478/2.478, allocations: 461.9 MB / 0.7355 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002032/0.002032, allocations: 75.88 kB / 1.055 GB, free: 7.734 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8157/0.8178, allocations: 157.4 MB / 1.208 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Enabling.Validation.Enable): time 0.00508/0.8229, allocations: 2.974 MB / 1.211 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.004877/0.8278, allocations: 2.698 MB / 1.214 GB, free: 7.965 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008022/0.8286, allocations: 27.88 kB / 1.214 GB, free: 7.938 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.000782/0.8294, allocations: 210.4 kB / 1.214 GB, free: 7.73 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0005749/0.83, allocations: 170.8 kB / 1.214 GB, free: 7.562 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.002422/0.8325, allocations: 0.7923 MB / 1.215 GB, free: 6.781 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.002106/0.8346, allocations: 1.559 MB / 1.217 GB, free: 5.219 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009291/0.8355, allocations: 0.4946 MB / 1.217 GB, free: 4.699 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009239/0.8365, allocations: 0.5376 MB / 1.218 GB, free: 4.16 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009266/0.8374, allocations: 0.5448 MB / 1.218 GB, free: 3.613 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0003997/0.8378, allocations: 148 kB / 1.218 GB, free: 3.469 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004891/0.8383, allocations: 203.9 kB / 1.218 GB, free: 3.27 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0004858/0.8388, allocations: 383 kB / 1.219 GB, free: 2.895 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0008162/0.8396, allocations: 0.5833 MB / 1.219 GB, free: 2.309 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001814/0.8415, allocations: 1.731 MB / 1.221 GB, free: 0.5781 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.8415, allocations: 4 kB / 1.221 GB, free: 0.5742 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.753e-06/0.8415, allocations: 0 / 1.221 GB, free: 0.5742 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.699e-05/0.8416, allocations: 0 / 1.221 GB, free: 0.5742 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 182 * Number of variables: 182 Notification: Performance of Generate backend data structure: time 0.003483/0.845, allocations: 1.437 MB / 1.223 GB, free: 15.06 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.507e-05/0.8451, allocations: 12.03 kB / 1.223 GB, free: 15.05 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003085/0.8454, allocations: 123.6 kB / 1.223 GB, free: 14.93 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001227/0.8466, allocations: 0.7431 MB / 1.223 GB, free: 14.15 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.26e-05/0.8467, allocations: 82.34 kB / 1.223 GB, free: 14.07 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001981/0.847, allocations: 112.2 kB / 1.224 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001647/0.8486, allocations: 0.8472 MB / 1.224 GB, free: 13.11 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.09e-05/0.8486, allocations: 192 / 1.224 GB, free: 13.11 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001031/0.8488, allocations: 39.91 kB / 1.224 GB, free: 13.07 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.74e-05/0.8488, allocations: 24 kB / 1.224 GB, free: 13.04 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001286/0.8501, allocations: 0.6676 MB / 1.225 GB, free: 12.38 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004388/0.8545, allocations: 2.417 MB / 1.227 GB, free: 9.902 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001742/0.8562, allocations: 1.04 MB / 1.228 GB, free: 8.855 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006772/0.8569, allocations: 406.7 kB / 1.229 GB, free: 8.457 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.966e-05/0.857, allocations: 8.656 kB / 1.229 GB, free: 8.449 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001212/0.8582, allocations: 0.7578 MB / 1.23 GB, free: 7.676 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=111): time 4.429e-06/0.8582, allocations: 4 kB / 1.23 GB, free: 7.672 MB / 0.9512 GB Notification: Performance of matching and sorting (n=111): time 0.002711/0.8609, allocations: 1.487 MB / 1.231 GB, free: 6.18 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.639e-05/0.861, allocations: 84.38 kB / 1.231 GB, free: 6.082 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008476/0.8619, allocations: 0.678 MB / 1.232 GB, free: 5.395 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001395/0.862, allocations: 77.7 kB / 1.232 GB, free: 5.312 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003073/0.8623, allocations: 357.6 kB / 1.232 GB, free: 4.957 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002414/0.8626, allocations: 252.8 kB / 1.232 GB, free: 4.707 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004383/0.863, allocations: 286.9 kB / 1.233 GB, free: 4.422 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0002046/0.8632, allocations: 394.7 kB / 1.233 GB, free: 4.027 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007287/0.864, allocations: 374.4 kB / 1.233 GB, free: 3.66 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009915/0.865, allocations: 0.6485 MB / 1.234 GB, free: 2.938 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001157/0.8661, allocations: 0.7288 MB / 1.235 GB, free: 2.16 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.52e-06/0.8661, allocations: 0 / 1.235 GB, free: 2.16 MB / 0.9512 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.00194/0.8681, allocations: 1.077 MB / 1.236 GB, free: 1.062 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 5.891e-05/0.8682, allocations: 73.58 kB / 1.236 GB, free: 0.9805 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/0.8682, allocations: 4 kB / 1.236 GB, free: 0.9766 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.322e-05/0.8682, allocations: 8 kB / 1.236 GB, free: 0.9688 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003822/0.8686, allocations: 91.7 kB / 1.236 GB, free: 0.8789 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.88e-05/0.8686, allocations: 8 kB / 1.236 GB, free: 0.8711 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001218/0.8699, allocations: 183.1 kB / 1.236 GB, free: 0.6914 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.421e-05/0.87, allocations: 51.97 kB / 1.236 GB, free: 0.6406 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 128 ($whenCondition34,$whenCondition35,$whenCondition15,$whenCondition14,$whenCondition12,$whenCondition13,$whenCondition2,$whenCondition1,enaHea.runDis.entryTime,$PRE.enaHea.runDis.entryTime,enaHea.dis.y,enaHea.timEna.entryTime,$PRE.enaHea.timEna.entryTime,$PRE.enaHea.preEna.u,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition6,enaCoo.runDis.entryTime,$PRE.enaCoo.runDis.entryTime,enaCoo.dis.y,enaCoo.timEna.entryTime,$PRE.enaCoo.timEna.entryTime,$PRE.enaCoo.preEna.u,$whenCondition18,$whenCondition17,$whenCondition16,$whenCondition19,enaCooSch.runDis.entryTime,$PRE.enaCooSch.runDis.entryTime,enaCooSch.dis.y,enaCooSch.timEna.entryTime,$PRE.enaCooSch.timEna.entryTime,$PRE.enaCooSch.preEna.u,$whenCondition27,$whenCondition26,$whenCondition25,$whenCondition28,sch.y,$PRE.sch.y,enaCooSch.lat.y,enaCooSch.andRun.y,enaCooSch.timLowReq.entryTime,$PRE.enaCooSch.timLowReq.entryTime,enaCooSch.timLowReq.passed,$PRE.enaCooSch.timLowReq.passed,enaCooSch.lowIgn.y,enaCooSch.mulOr.uTemp[2],enaCooSch.mulOr.y,enaCooSch.mulOr.u[3],enaCooSch.mulAnd.uTemp[3],enaCooSch.mulAnd.uTemp[2],enaCooSch.mulAnd.y,enaCooSch.mulAnd.u[4],enaCooSch.mulAnd.u[3],enaCooSch.runDis.passed,$PRE.enaCooSch.runDis.passed,enaCooSch.timEna.passed,$PRE.enaCooSch.timEna.passed,enaCooSch.preEna.u,enaCoo.lat.y,enaCoo.andRun.y,enaCoo.timLowReq.entryTime,$PRE.enaCoo.timLowReq.entryTime,enaCoo.timLowReq.passed,$PRE.enaCoo.timLowReq.passed,enaCoo.lowIgn.y,enaCoo.mulOr.uTemp[2],enaCoo.mulOr.y,enaCoo.mulOr.u[3],enaCoo.mulOr.u[1],enaCoo.mulAnd.uTemp[3],enaCoo.mulAnd.uTemp[2],enaCoo.mulAnd.y,enaCoo.mulAnd.u[4],enaCoo.mulAnd.u[3],enaCoo.runDis.passed,$PRE.enaCoo.runDis.passed,enaCoo.timEna.passed,$PRE.enaCoo.timEna.passed,enaCoo.preEna.u,enaCoo.schEna.intTimTab.idx,$PRE.enaCoo.schEna.intTimTab.idx,enaCoo.schEna.intTimTab.y[1],$PRE.enaCoo.schEna.intTimTab.y[1],req.booPul.y,$PRE.req.booPul.y,req.y,enaHea.lat.y,enaHea.andRun.y,enaHea.timLowReq.entryTime,$PRE.enaHea.timLowReq.entryTime,enaHea.timLowReq.passed,$PRE.enaHea.timLowReq.passed,enaHea.lowIgn.y,enaHea.mulOr.uTemp[2],enaHea.mulOr.y,enaHea.mulOr.u[3],enaHea.mulOr.u[1],enaHea.mulAnd.uTemp[3],enaHea.mulAnd.uTemp[2],enaHea.mulAnd.y,enaHea.mulAnd.u[4],enaHea.mulAnd.u[3],enaHea.runDis.passed,$PRE.enaHea.runDis.passed,enaHea.timEna.passed,$PRE.enaHea.timEna.passed,enaHea.preEna.u,enaHea.schEna.intTimTab.idx,$PRE.enaHea.schEna.intTimTab.idx,enaHea.schEna.intTimTab.y[1],$PRE.enaHea.schEna.intTimTab.y[1],$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition10,$whenCondition11,$whenCondition22,$whenCondition21,$whenCondition20,$whenCondition23,$whenCondition24,$whenCondition31,$whenCondition30,$whenCondition29,$whenCondition32,$whenCondition33) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (140): * Single equations (assignments): 138 * Array equations: 0 * Algorithm blocks: 2 * 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.0005717/0.8706, allocations: 372 kB / 1.237 GB, free: 268 kB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000168/0.8707, allocations: 87.05 kB / 1.237 GB, free: 180 kB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002073/0.8709, allocations: 96.2 kB / 1.237 GB, free: 80 kB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.21e-05/0.871, allocations: 7.969 kB / 1.237 GB, free: 72 kB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.871, allocations: 0 / 1.237 GB, free: 72 kB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000189/0.8712, allocations: 167.9 kB / 1.237 GB, free: 15.89 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001818/0.8714, allocations: 51.91 kB / 1.237 GB, free: 15.84 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005028/0.8719, allocations: 67.91 kB / 1.237 GB, free: 15.77 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002921/0.8722, allocations: 144.8 kB / 1.237 GB, free: 15.63 MB / 0.9669 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00227/0.8745, allocations: 1.243 MB / 1.238 GB, free: 14.38 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002015/0.8765, allocations: 1.33 MB / 1.24 GB, free: 13.03 MB / 0.9669 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008402/0.8773, allocations: 0.5583 MB / 1.24 GB, free: 12.47 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0005733/0.8779, allocations: 434.8 kB / 1.241 GB, free: 12.05 MB / 0.9669 GB Notification: Performance of Backend: time 3.8e-07/0.8779, allocations: 0 / 1.241 GB, free: 12.05 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001857/0.8798, allocations: 0.854 MB / 1.242 GB, free: 11.16 MB / 0.9669 GB Notification: Performance of SimCode: time 0.002629/0.8824, allocations: 1.821 MB / 1.243 GB, free: 9.289 MB / 0.9669 GB Notification: Performance of Templates: time 0.02697/0.9094, allocations: 14.23 MB / 1.257 GB, free: 11.15 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Templates.Plants.Controls.Enabling.Validation.Enable.makefile (rm -f Buildings_latest_Buildings.Templates.Plants.Controls.Enabling.Validation.Enable.pipe ; mkfifo Buildings_latest_Buildings.Templates.Plants.Controls.Enabling.Validation.Enable.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Plants.Controls.Enabling.Validation.Enable.pipe >> ../files/Buildings_latest_Buildings.Templates.Plants.Controls.Enabling.Validation.Enable.sim & ./Buildings_latest_Buildings.Templates.Plants.Controls.Enabling.Validation.Enable -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Templates.Plants.Controls.Enabling.Validation.Enable.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Templates.Plants.Controls.Enabling.Validation.Enable_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Templates_Plants_Controls_Enabling_Validation_Enable.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Templates.Plants.Controls.Enabling.Validation.Enable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches