Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.SystemRequests.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.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.SystemRequests,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sysReq.TCooSet|sysReq.TZon|sysReq.uCoo|sysReq.yZonTemResReq|sysReq.uAftSup|sysReq.VSet_flow|sysReq.VDis_flow|sysReq.uDam|sysReq.yZonPreResReq",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.SystemRequests") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.SystemRequests,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sysReq.TCooSet|sysReq.TZon|sysReq.uCoo|sysReq.yZonTemResReq|sysReq.uAftSup|sysReq.VSet_flow|sysReq.VDis_flow|sysReq.uDam|sysReq.yZonPreResReq",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.SystemRequests") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001317/0.001317, allocations: 115.8 kB / 16.42 MB, free: 6.488 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.001293/0.001293, allocations: 185.7 kB / 17.35 MB, free: 5.762 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.425/1.425, allocations: 222.9 MB / 241.1 MB, free: 15.16 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.685/2.685, allocations: 437.1 MB / 0.7112 GB, free: 4.469 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001453/0.001453, allocations: 63.91 kB / 1.019 GB, free: 9.449 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8599/0.8613, allocations: 151.6 MB / 1.167 GB, free: 3.902 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.SystemRequests): time 0.004306/0.8657, allocations: 2.309 MB / 1.17 GB, free: 1.59 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.003293/0.869, allocations: 1.779 MB / 1.171 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006628/0.8697, allocations: 19.88 kB / 1.171 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0004358/0.8702, allocations: 94.88 kB / 1.171 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0004369/0.8707, allocations: 114.9 kB / 1.172 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001274/0.872, allocations: 429.7 kB / 1.172 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001897/0.8739, allocations: 0.9485 MB / 1.173 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008688/0.8748, allocations: 373.7 kB / 1.173 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008589/0.8756, allocations: 370.8 kB / 1.174 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007569/0.8764, allocations: 382.3 kB / 1.174 GB, free: 13.08 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0003455/0.8768, allocations: 96 kB / 1.174 GB, free: 12.98 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004104/0.8772, allocations: 112 kB / 1.174 GB, free: 12.88 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0003622/0.8776, allocations: 195.4 kB / 1.174 GB, free: 12.68 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0008046/0.8784, allocations: 394.1 kB / 1.175 GB, free: 12.3 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001671/0.8801, allocations: 1.201 MB / 1.176 GB, free: 11.1 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.8801, allocations: 0 / 1.176 GB, free: 11.1 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.134e-06/0.8801, allocations: 0 / 1.176 GB, free: 11.1 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 4.892e-05/0.8801, allocations: 0 / 1.176 GB, free: 11.1 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: 127 * Number of variables: 127 Notification: Performance of Generate backend data structure: time 0.003145/0.8833, allocations: 1.12 MB / 1.177 GB, free: 9.918 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.023e-05/0.8834, allocations: 8.922 kB / 1.177 GB, free: 9.91 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002234/0.8836, allocations: 87.98 kB / 1.177 GB, free: 9.824 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001712/0.8853, allocations: 0.6589 MB / 1.178 GB, free: 9.125 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.903e-05/0.8854, allocations: 53.67 kB / 1.178 GB, free: 9.07 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001204/0.8855, allocations: 64.36 kB / 1.178 GB, free: 9.008 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001353/0.8869, allocations: 0.6042 MB / 1.178 GB, free: 8.395 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.711e-05/0.8869, allocations: 7.922 kB / 1.178 GB, free: 8.387 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.377e-05/0.887, allocations: 35.98 kB / 1.178 GB, free: 8.352 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.564e-05/0.887, allocations: 12 kB / 1.178 GB, free: 8.34 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001263/0.8883, allocations: 448.2 kB / 1.179 GB, free: 7.902 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003058/0.8913, allocations: 1.585 MB / 1.18 GB, free: 6.262 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001447/0.8928, allocations: 0.6514 MB / 1.181 GB, free: 5.574 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006812/0.8935, allocations: 284.2 kB / 1.181 GB, free: 5.293 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 4.557e-05/0.8936, allocations: 8.219 kB / 1.181 GB, free: 5.285 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001044/0.8946, allocations: 480.6 kB / 1.182 GB, free: 4.801 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=68): time 3.607e-06/0.8946, allocations: 0 / 1.182 GB, free: 4.801 MB / 0.9044 GB Notification: Performance of matching and sorting (n=68): time 0.002426/0.8971, allocations: 0.9752 MB / 1.183 GB, free: 3.824 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.785e-05/0.8971, allocations: 93.09 kB / 1.183 GB, free: 3.715 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005127/0.8976, allocations: 437.7 kB / 1.183 GB, free: 3.281 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0001065/0.8978, allocations: 53.7 kB / 1.183 GB, free: 3.223 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002466/0.898, allocations: 276.9 kB / 1.184 GB, free: 2.945 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001466/0.8982, allocations: 165.8 kB / 1.184 GB, free: 2.781 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002794/0.8985, allocations: 174.6 kB / 1.184 GB, free: 2.605 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001797/0.8986, allocations: 374.8 kB / 1.184 GB, free: 2.23 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007057/0.8994, allocations: 257.8 kB / 1.185 GB, free: 1.977 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008475/0.9002, allocations: 485.5 kB / 1.185 GB, free: 1.406 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001359/0.9016, allocations: 0.689 MB / 1.186 GB, free: 0.6094 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.043e-06/0.9016, allocations: 0 / 1.186 GB, free: 0.6094 MB / 0.9044 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.001919/0.9035, allocations: 0.8301 MB / 1.186 GB, free: 15.77 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 6.541e-05/0.9036, allocations: 41.62 kB / 1.187 GB, free: 15.72 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.004e-05/0.9036, allocations: 8 kB / 1.187 GB, free: 15.71 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.15e-05/0.9037, allocations: 12 kB / 1.187 GB, free: 15.7 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005198/0.9042, allocations: 115.7 kB / 1.187 GB, free: 15.59 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.704e-05/0.9042, allocations: 20.08 kB / 1.187 GB, free: 15.57 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007659/0.905, allocations: 131.3 kB / 1.187 GB, free: 15.44 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.879e-05/0.9051, allocations: 43.98 kB / 1.187 GB, free: 15.39 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 81 ($PRE.sysReq.tim1.u,$PRE.sysReq.tim2.u,$PRE.sysReq.tim3.u,sysReq.sampler.firstTrigger,$PRE.sysReq.sampler.firstTrigger,$whenCondition15,$whenCondition16,$PRE.sysReq.tim2.t_next,$whenCondition10,$PRE.sysReq.tim1.t_next,$whenCondition7,sysReq.sampler.sampleTrigger,$whenCondition13,TZonCooSet.sampleTrigger,$whenCondition14,sysReq.tim2.t_next,booPul.y,$PRE.booPul.y,TZonCooSet.y,$PRE.TZonCooSet.y,sysReq.sampler.y,sysReq.tim2.y,sysReq.tim2.u,sysReq.tim1.y,sysReq.tim1.u,sysReq.intSwi1.y,sysReq.and2.y,sysReq.and1.y,sysReq.booToInt.y,sysReq.greThr.greHys.y,$PRE.sysReq.greThr.greHys.y,sysReq.greThr2.greHys.y,$PRE.sysReq.greThr2.greHys.y,sysReq.greThr1.greHys.y,$PRE.sysReq.greThr1.greHys.y,sysReq.yZonTemResReq,$whenCondition9,$whenCondition8,$whenCondition12,$whenCondition11,sysReq.tim1.t_next,sysReq.sampler3.firstTrigger,$PRE.sysReq.sampler3.firstTrigger,sysReq.sampler2.firstTrigger,$PRE.sysReq.sampler2.firstTrigger,sysReq.sampler1.firstTrigger,$PRE.sysReq.sampler1.firstTrigger,$PRE.sysReq.tim3.t_next,$whenCondition1,sysReq.sampler1.sampleTrigger,$whenCondition4,sysReq.sampler2.sampleTrigger,$whenCondition5,sysReq.sampler3.sampleTrigger,$whenCondition6,sysReq.sampler3.y,sysReq.sampler2.y,sysReq.sampler1.y,sysReq.and5.y,sysReq.greEqu1.greHys.y,$PRE.sysReq.greEqu1.greHys.y,sysReq.greEqu.greHys.y,$PRE.sysReq.greEqu.greHys.y,sysReq.tim3.y,sysReq.tim3.u,sysReq.swi5.y,sysReq.and4.y,sysReq.and3.y,sysReq.booToInt1.y,sysReq.greThr4.greHys.y,$PRE.sysReq.greThr4.greHys.y,sysReq.greThr3.greHys.y,$PRE.sysReq.greThr3.greHys.y,sysReq.yZonPreResReq,$whenCondition3,$whenCondition2,sysReq.tim3.t_next,sysReq.twoCooResReq.y,sysReq.thrCooResReq.y,sysReq.twoPreResReq.y,sysReq.thrPreResReq.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 1 * 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.0003733/0.9055, allocations: 253.6 kB / 1.187 GB, free: 15.14 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001094/0.9056, allocations: 63.27 kB / 1.187 GB, free: 15.07 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001474/0.9057, allocations: 60.7 kB / 1.187 GB, free: 15.02 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.04e-05/0.9058, allocations: 3.984 kB / 1.187 GB, free: 15.01 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.9058, allocations: 8 kB / 1.187 GB, free: 15 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001157/0.9059, allocations: 132.2 kB / 1.187 GB, free: 14.86 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001118/0.906, allocations: 27.98 kB / 1.187 GB, free: 14.83 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005659/0.9066, allocations: 75.89 kB / 1.187 GB, free: 14.75 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002025/0.9068, allocations: 95.81 kB / 1.188 GB, free: 14.66 MB / 0.92 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002117/0.9089, allocations: 0.9409 MB / 1.188 GB, free: 13.71 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001799/0.9108, allocations: 0.9718 MB / 1.189 GB, free: 12.72 MB / 0.92 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007365/0.9115, allocations: 351.7 kB / 1.19 GB, free: 12.38 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0003123/0.9118, allocations: 279.1 kB / 1.19 GB, free: 12.11 MB / 0.92 GB Notification: Performance of Backend: time 1.152e-06/0.9118, allocations: 0 / 1.19 GB, free: 12.11 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001651/0.9135, allocations: 0.5832 MB / 1.191 GB, free: 11.51 MB / 0.92 GB Notification: Performance of SimCode: time 0.001995/0.9155, allocations: 1.367 MB / 1.192 GB, free: 10.09 MB / 0.92 GB Notification: Performance of Templates: time 0.02011/0.9356, allocations: 8.792 MB / 1.2 GB, free: 1.418 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.SystemRequests.makefile (rm -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.SystemRequests.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.SystemRequests.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.SystemRequests.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.SystemRequests.sim & ./Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.SystemRequests -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.SystemRequests.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.SystemRequests_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_CoolingOnly_Subsequences_Validation_SystemRequests.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.SystemRequests.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches