Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Reheat.Subsequences.Validation.SystemRequests,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_11_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=5000,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_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.SystemRequests") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001341/0.001341, allocations: 113.8 kB / 16.81 MB, free: 5.766 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.001296/0.001296, allocations: 196.7 kB / 17.77 MB, free: 5.117 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.578/1.578, allocations: 225.6 MB / 244.2 MB, free: 13.91 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.85/2.85, allocations: 476.7 MB / 0.7556 GB, free: 11.33 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.002856/0.002856, allocations: 69.17 kB / 1.097 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4586/0.4615, allocations: 168.7 MB / 1.262 GB, free: 13.04 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.SystemRequests): time 0.005225/0.4667, allocations: 3.029 MB / 1.265 GB, free: 10 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003941/0.4707, allocations: 2.105 MB / 1.267 GB, free: 7.879 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007827/0.4715, allocations: 27.88 kB / 1.267 GB, free: 7.852 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0004927/0.4719, allocations: 162.3 kB / 1.267 GB, free: 7.691 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0004209/0.4724, allocations: 154.5 kB / 1.267 GB, free: 7.539 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001499/0.4739, allocations: 0.5645 MB / 1.268 GB, free: 6.977 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001596/0.4755, allocations: 1.335 MB / 1.269 GB, free: 5.637 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006908/0.4762, allocations: 372.5 kB / 1.27 GB, free: 5.25 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007036/0.4769, allocations: 0.4906 MB / 1.27 GB, free: 4.758 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006126/0.4775, allocations: 0.5289 MB / 1.271 GB, free: 4.227 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.000198/0.4777, allocations: 140 kB / 1.271 GB, free: 4.09 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002452/0.4779, allocations: 152 kB / 1.271 GB, free: 3.941 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002603/0.4782, allocations: 287.1 kB / 1.271 GB, free: 3.66 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0005244/0.4787, allocations: 0.5364 MB / 1.272 GB, free: 3.121 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001976/0.4807, allocations: 1.7 MB / 1.273 GB, free: 1.414 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.4807, allocations: 4 kB / 1.273 GB, free: 1.41 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.104e-06/0.4807, allocations: 0 / 1.273 GB, free: 1.41 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.649e-05/0.4807, allocations: 0 / 1.273 GB, free: 1.41 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 179 * Number of variables: 179 Notification: Performance of Generate backend data structure: time 0.003558/0.4843, allocations: 1.49 MB / 1.275 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.871e-05/0.4843, allocations: 8.031 kB / 1.275 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002421/0.4845, allocations: 124.2 kB / 1.275 GB, free: 15.71 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002197/0.4867, allocations: 0.8772 MB / 1.276 GB, free: 14.8 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.341e-05/0.4868, allocations: 78.34 kB / 1.276 GB, free: 14.73 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001553/0.487, allocations: 92.36 kB / 1.276 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001732/0.4887, allocations: 0.8372 MB / 1.277 GB, free: 13.79 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.405e-05/0.4887, allocations: 7.938 kB / 1.277 GB, free: 13.78 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.067e-05/0.4888, allocations: 31.98 kB / 1.277 GB, free: 13.75 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.902e-05/0.4888, allocations: 16 kB / 1.277 GB, free: 13.73 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001588/0.4904, allocations: 0.6033 MB / 1.277 GB, free: 13.13 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004145/0.4946, allocations: 2.192 MB / 1.28 GB, free: 10.87 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001888/0.4965, allocations: 0.8198 MB / 1.28 GB, free: 10 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008493/0.4973, allocations: 334.8 kB / 1.281 GB, free: 9.668 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 5.47e-05/0.4974, allocations: 8.234 kB / 1.281 GB, free: 9.66 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001334/0.4987, allocations: 0.6438 MB / 1.281 GB, free: 8.996 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=92): time 3.256e-06/0.4987, allocations: 0 / 1.281 GB, free: 8.996 MB / 0.9981 GB Notification: Performance of matching and sorting (n=92): time 0.003277/0.502, allocations: 1.301 MB / 1.283 GB, free: 7.695 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001165/0.5021, allocations: 118.8 kB / 1.283 GB, free: 7.555 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008384/0.5029, allocations: 0.5976 MB / 1.283 GB, free: 6.945 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001588/0.5031, allocations: 69.7 kB / 1.283 GB, free: 6.871 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003779/0.5035, allocations: 385.6 kB / 1.284 GB, free: 6.488 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002314/0.5037, allocations: 230.2 kB / 1.284 GB, free: 6.262 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003552/0.5041, allocations: 234.9 kB / 1.284 GB, free: 6.027 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000216/0.5043, allocations: 398.7 kB / 1.285 GB, free: 5.629 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008899/0.5052, allocations: 334.4 kB / 1.285 GB, free: 5.301 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00113/0.5063, allocations: 0.6261 MB / 1.285 GB, free: 4.547 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001807/0.5081, allocations: 0.8833 MB / 1.286 GB, free: 3.531 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.386e-06/0.5081, allocations: 4 kB / 1.286 GB, free: 3.527 MB / 0.9981 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.002477/0.5106, allocations: 1.079 MB / 1.287 GB, free: 2.438 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 5.463e-05/0.5106, allocations: 37.7 kB / 1.287 GB, free: 2.395 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.507e-05/0.5107, allocations: 12 kB / 1.287 GB, free: 2.383 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.084e-05/0.5107, allocations: 16 kB / 1.287 GB, free: 2.367 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000638/0.5113, allocations: 155.6 kB / 1.288 GB, free: 2.215 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.275e-05/0.5114, allocations: 27.86 kB / 1.288 GB, free: 2.188 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009678/0.5123, allocations: 163.3 kB / 1.288 GB, free: 2.027 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.864e-05/0.5124, allocations: 47.98 kB / 1.288 GB, free: 1.98 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 111 ($PRE.sysReq.tim1.u,$PRE.sysReq.tim2.u,$PRE.sysReq.tim3.u,$PRE.sysReq.tim4.u,$PRE.sysReq.tim5.u,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 (136): * Single equations (assignments): 135 * 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.000604/0.513, allocations: 315.2 kB / 1.288 GB, free: 1.656 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001629/0.5132, allocations: 91.44 kB / 1.288 GB, free: 1.566 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001855/0.5134, allocations: 86.17 kB / 1.288 GB, free: 1.48 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.482e-05/0.5134, allocations: 7.969 kB / 1.288 GB, free: 1.473 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.342e-06/0.5134, allocations: 8 kB / 1.288 GB, free: 1.465 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001541/0.5135, allocations: 164.4 kB / 1.288 GB, free: 1.285 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001445/0.5137, allocations: 43.97 kB / 1.289 GB, free: 1.242 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006743/0.5144, allocations: 95.81 kB / 1.289 GB, free: 1.148 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002839/0.5147, allocations: 135.8 kB / 1.289 GB, free: 1.016 MB / 0.9981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002766/0.5174, allocations: 1.271 MB / 1.29 GB, free: 15.73 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002405/0.5198, allocations: 1.327 MB / 1.291 GB, free: 14.39 MB / 1.014 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009507/0.5208, allocations: 395.6 kB / 1.292 GB, free: 14 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0005086/0.5213, allocations: 383.1 kB / 1.292 GB, free: 13.63 MB / 1.014 GB Notification: Performance of Backend: time 2.61e-07/0.5213, allocations: 0 / 1.292 GB, free: 13.63 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002197/0.5235, allocations: 0.6884 MB / 1.293 GB, free: 12.93 MB / 1.014 GB Notification: Performance of SimCode: time 0.002663/0.5261, allocations: 1.749 MB / 1.294 GB, free: 11.14 MB / 1.014 GB Notification: Performance of Templates: time 0.02561/0.5517, allocations: 12.47 MB / 1.307 GB, free: 14.8 MB / 1.029 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.SystemRequests.makefile (rm -f Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.SystemRequests.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.SystemRequests.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.SystemRequests.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.SystemRequests.sim & ./Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.SystemRequests -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.SystemRequests.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.SystemRequests_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_SystemRequests.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.SystemRequests.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches