Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.SystemRequests.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001332/0.001332, allocations: 97.11 kB / 19.7 MB, free: 2.129 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001525/0.001525, allocations: 209.2 kB / 23 MB, free: 4.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.523/1.523, allocations: 230.6 MB / 256.8 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.308/3.308, allocations: 0.49 GB / 0.7959 GB, free: 35.5 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.SystemRequests,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sysReq.TCooSet|sysReq.TZon|sysReq.uCoo|sysReq.uDam|sysReq.uVal|sysReq.VSet_flow|sysReq.VDis_flow|sysReq.TDisSet|sysReq.TDis|sysReq.yZonTemResReq|sysReq.yZonPreResReq|sysReq.yHeaValResReq|sysReq.yHotWatPlaReq",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.SystemRequests") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.SystemRequests,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sysReq.TCooSet|sysReq.TZon|sysReq.uCoo|sysReq.uDam|sysReq.uVal|sysReq.VSet_flow|sysReq.VDis_flow|sysReq.TDisSet|sysReq.TDis|sysReq.yZonTemResReq|sysReq.yZonPreResReq|sysReq.yHeaValResReq|sysReq.yHotWatPlaReq",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.SystemRequests") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002177/0.002177, allocations: 65.38 kB / 1.155 GB, free: 25.2 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4038/0.406, allocations: 176.1 MB / 1.327 GB, free: 0.9922 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.SystemRequests): time 0.005971/0.412, allocations: 2.678 MB / 1.33 GB, free: 14.31 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.006215/0.4182, allocations: 2.133 MB / 1.332 GB, free: 12.16 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001453/0.4196, allocations: 35.75 kB / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0005752/0.4202, allocations: 154.3 kB / 1.332 GB, free: 11.97 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0005115/0.4207, allocations: 158.5 kB / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001614/0.4224, allocations: 0.5551 MB / 1.333 GB, free: 11.26 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001929/0.4243, allocations: 1.335 MB / 1.334 GB, free: 9.922 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006996/0.425, allocations: 369 kB / 1.334 GB, free: 9.535 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009006/0.4259, allocations: 0.5178 MB / 1.335 GB, free: 9.016 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006095/0.4265, allocations: 0.5289 MB / 1.335 GB, free: 8.484 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.000235/0.4267, allocations: 140 kB / 1.336 GB, free: 8.348 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002644/0.427, allocations: 156 kB / 1.336 GB, free: 8.195 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0002646/0.4273, allocations: 271.2 kB / 1.336 GB, free: 7.93 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0004827/0.4277, allocations: 449.9 kB / 1.336 GB, free: 7.488 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001987/0.4297, allocations: 1.728 MB / 1.338 GB, free: 5.754 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.4297, allocations: 4 kB / 1.338 GB, free: 5.75 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.344e-06/0.4297, allocations: 0 / 1.338 GB, free: 5.75 MB / 1.029 GB Notification: Performance of Transformations before backend: time 2.478e-05/0.4298, allocations: 3.938 kB / 1.338 GB, free: 5.746 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 180 * Number of variables: 180 Notification: Performance of Generate backend data structure: time 0.003637/0.4334, allocations: 1.419 MB / 1.339 GB, free: 4.277 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.231e-05/0.4334, allocations: 15.97 kB / 1.339 GB, free: 4.262 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004397/0.4339, allocations: 140.2 kB / 1.34 GB, free: 4.125 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0022/0.4361, allocations: 0.7973 MB / 1.34 GB, free: 3.301 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.751e-05/0.4362, allocations: 70.36 kB / 1.34 GB, free: 3.234 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001649/0.4363, allocations: 96.36 kB / 1.341 GB, free: 3.141 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001766/0.4381, allocations: 0.845 MB / 1.341 GB, free: 2.277 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.174e-05/0.4381, allocations: 3.938 kB / 1.341 GB, free: 2.273 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.479e-05/0.4382, allocations: 35.98 kB / 1.341 GB, free: 2.238 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.616e-05/0.4382, allocations: 20 kB / 1.341 GB, free: 2.219 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001569/0.4398, allocations: 0.5957 MB / 1.342 GB, free: 1.621 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003882/0.4437, allocations: 1.803 MB / 1.344 GB, free: 15.77 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001912/0.4456, allocations: 0.7481 MB / 1.344 GB, free: 15 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008444/0.4464, allocations: 339.6 kB / 1.345 GB, free: 14.66 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 6.427e-05/0.4465, allocations: 20.16 kB / 1.345 GB, free: 14.64 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001382/0.4479, allocations: 0.6327 MB / 1.345 GB, free: 13.99 MB / 1.045 GB Notification: Performance of pre-optimization done (n=93): time 3.356e-06/0.4479, allocations: 0 / 1.345 GB, free: 13.99 MB / 1.045 GB Notification: Performance of matching and sorting (n=93): time 0.003274/0.4512, allocations: 1.326 MB / 1.347 GB, free: 12.66 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.628e-05/0.4513, allocations: 122.8 kB / 1.347 GB, free: 12.52 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008185/0.4521, allocations: 0.5976 MB / 1.347 GB, free: 11.91 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0001352/0.4522, allocations: 73.7 kB / 1.348 GB, free: 11.83 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003502/0.4526, allocations: 389.5 kB / 1.348 GB, free: 11.45 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002181/0.4528, allocations: 226.3 kB / 1.348 GB, free: 11.22 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003707/0.4532, allocations: 230.9 kB / 1.348 GB, free: 10.99 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0002249/0.4534, allocations: 398.7 kB / 1.349 GB, free: 10.59 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000905/0.4543, allocations: 368.1 kB / 1.349 GB, free: 10.23 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001171/0.4555, allocations: 0.6676 MB / 1.35 GB, free: 9.422 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001793/0.4572, allocations: 0.8882 MB / 1.351 GB, free: 8.398 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.693e-06/0.4573, allocations: 4 kB / 1.351 GB, free: 8.395 MB / 1.045 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.002595/0.4599, allocations: 1.124 MB / 1.352 GB, free: 7.258 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 5.904e-05/0.4599, allocations: 37.69 kB / 1.352 GB, free: 7.215 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.233e-05/0.4599, allocations: 12 kB / 1.352 GB, free: 7.203 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.443e-05/0.46, allocations: 16 kB / 1.352 GB, free: 7.188 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006715/0.4606, allocations: 160 kB / 1.352 GB, free: 7.031 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.247e-05/0.4607, allocations: 19.94 kB / 1.352 GB, free: 7.012 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009592/0.4616, allocations: 171.3 kB / 1.352 GB, free: 6.844 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001019/0.4617, allocations: 55.92 kB / 1.352 GB, free: 6.789 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 113 ($PRE.sysReq.tim1.u,$PRE.sysReq.tim2.u,$PRE.sysReq.tim3.u,$PRE.sysReq.tim4.u,$PRE.sysReq.tim5.u,TCooSet.u_internal,$PRE.TCooSet.u_internal,sysReq.sampler.firstTrigger,$PRE.sysReq.sampler.firstTrigger,$whenCondition21,$whenCondition22,$PRE.sysReq.tim2.t_next,$whenCondition16,$PRE.sysReq.tim1.t_next,$whenCondition13,sysReq.sampler.sampleTrigger,$whenCondition19,TCooSet.sampleTrigger,$whenCondition20,sysReq.tim2.t_next,booPul.y,$PRE.booPul.y,TCooSet.y,$PRE.TCooSet.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,$whenCondition15,$whenCondition14,$whenCondition18,$whenCondition17,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,$whenCondition7,sysReq.sampler1.sampleTrigger,$whenCondition10,sysReq.sampler2.sampleTrigger,$whenCondition11,sysReq.sampler3.sampleTrigger,$whenCondition12,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,$whenCondition9,$whenCondition8,sysReq.tim3.t_next,$PRE.sysReq.tim5.t_next,$whenCondition4,$PRE.sysReq.tim4.t_next,$whenCondition1,sysReq.tim5.t_next,sysReq.greThr6.greHys.y,$PRE.sysReq.greThr6.greHys.y,sysReq.booToInt2.y,sysReq.greThr5.greHys.y,$PRE.sysReq.greThr5.greHys.y,sysReq.tim5.y,sysReq.tim5.u,sysReq.tim4.y,sysReq.tim4.u,sysReq.intSwi3.y,sysReq.les1.lesHys.y,$PRE.sysReq.les1.lesHys.y,sysReq.les.lesHys.y,$PRE.sysReq.les.lesHys.y,sysReq.yHotWatPlaReq,sysReq.yHeaValResReq,$whenCondition3,$whenCondition2,$whenCondition6,$whenCondition5,sysReq.tim4.t_next,sysReq.twoCooResReq.y,sysReq.thrCooResReq.y,sysReq.twoPreResReq.y,sysReq.thrPreResReq.y,sysReq.twoHeaResReq.y,sysReq.thrHeaResReq.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (138): * Single equations (assignments): 137 * 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.0005754/0.4623, allocations: 315.1 kB / 1.352 GB, free: 6.465 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001664/0.4625, allocations: 95.42 kB / 1.353 GB, free: 6.371 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001968/0.4627, allocations: 86.17 kB / 1.353 GB, free: 6.285 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.001e-05/0.4627, allocations: 7.922 kB / 1.353 GB, free: 6.277 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.4627, allocations: 0 / 1.353 GB, free: 6.277 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000127/0.4628, allocations: 79.34 kB / 1.353 GB, free: 6.199 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001452/0.463, allocations: 47.92 kB / 1.353 GB, free: 6.152 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006619/0.4636, allocations: 99.86 kB / 1.353 GB, free: 6.055 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002843/0.4639, allocations: 139.7 kB / 1.353 GB, free: 5.918 MB / 1.045 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002742/0.4666, allocations: 1.296 MB / 1.354 GB, free: 4.613 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002428/0.4691, allocations: 1.361 MB / 1.356 GB, free: 3.23 MB / 1.045 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009577/0.47, allocations: 389.6 kB / 1.356 GB, free: 2.852 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0004825/0.4705, allocations: 379.1 kB / 1.356 GB, free: 2.484 MB / 1.045 GB Notification: Performance of Backend: time 3.71e-07/0.4705, allocations: 0 / 1.356 GB, free: 2.484 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.002205/0.4727, allocations: 0.7304 MB / 1.357 GB, free: 1.73 MB / 1.045 GB Notification: Performance of SimCode: time 0.002725/0.4754, allocations: 1.737 MB / 1.359 GB, free: 15.94 MB / 1.061 GB Notification: Performance of Templates: time 0.0257/0.5011, allocations: 14.24 MB / 1.373 GB, free: 1.965 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.SystemRequests.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.SystemRequests.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.SystemRequests.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.SystemRequests.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.SystemRequests.sim & ./Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.SystemRequests -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.SystemRequests.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.SystemRequests_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_SystemRequests.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.SystemRequests.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.963379833003273]