Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001503/0.001502, allocations: 113.7 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.001584/0.001584, allocations: 193.6 kB / 17.35 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.41/1.41, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.251/2.251, allocations: 390.3 MB / 0.6655 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00146/0.00146, allocations: 63.91 kB / 0.9516 GB, free: 7.629 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9809/0.9824, allocations: 140.4 MB / 1.089 GB, free: 5.773 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.SystemRequests): time 0.004142/0.9866, allocations: 3.011 MB / 1.092 GB, free: 3.641 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003021/0.9896, allocations: 2.08 MB / 1.094 GB, free: 2.078 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005744/0.9902, allocations: 26.44 kB / 1.094 GB, free: 2.07 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0003725/0.9906, allocations: 151.9 kB / 1.094 GB, free: 1.953 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003002/0.991, allocations: 159.3 kB / 1.094 GB, free: 1.828 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001193/0.9922, allocations: 0.5435 MB / 1.094 GB, free: 1.496 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001484/0.9936, allocations: 1.338 MB / 1.096 GB, free: 0.8125 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008652/0.9945, allocations: 0.5397 MB / 1.096 GB, free: 0.5078 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008048/0.9953, allocations: 0.4911 MB / 1.097 GB, free: 252 kB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006441/0.996, allocations: 0.5217 MB / 1.097 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0002709/0.9963, allocations: 137.5 kB / 1.097 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003218/0.9966, allocations: 152 kB / 1.098 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0002771/0.9969, allocations: 284.7 kB / 1.098 GB, free: 15.76 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.00053/0.9974, allocations: 0.5384 MB / 1.098 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.002371/0.9998, allocations: 1.697 MB / 1.1 GB, free: 14.77 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.241e-06/0.9998, allocations: 1.062 kB / 1.1 GB, free: 14.77 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.465e-06/0.9998, allocations: 4 kB / 1.1 GB, free: 14.77 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 5.044e-05/0.9999, allocations: 0 / 1.1 GB, free: 14.77 MB / 0.8731 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.004085/1.004, allocations: 1.472 MB / 1.101 GB, free: 13.85 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/1.004, allocations: 8.734 kB / 1.101 GB, free: 13.85 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002543/1.004, allocations: 115.5 kB / 1.102 GB, free: 13.8 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002314/1.007, allocations: 0.8751 MB / 1.102 GB, free: 13.3 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001056/1.007, allocations: 77.59 kB / 1.103 GB, free: 13.26 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001933/1.007, allocations: 95.94 kB / 1.103 GB, free: 13.24 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001936/1.009, allocations: 0.842 MB / 1.103 GB, free: 12.91 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.863e-05/1.009, allocations: 1.891 kB / 1.103 GB, free: 12.91 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.65e-05/1.009, allocations: 32.56 kB / 1.103 GB, free: 12.89 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.966e-05/1.009, allocations: 17.41 kB / 1.103 GB, free: 12.89 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001821/1.011, allocations: 0.5987 MB / 1.104 GB, free: 12.7 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004687/1.016, allocations: 2.181 MB / 1.106 GB, free: 11.52 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001851/1.017, allocations: 0.8898 MB / 1.107 GB, free: 11.08 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008857/1.018, allocations: 391.6 kB / 1.107 GB, free: 10.92 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 5.832e-05/1.018, allocations: 13.78 kB / 1.107 GB, free: 10.92 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001438/1.02, allocations: 0.6287 MB / 1.108 GB, free: 10.67 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=92): time 3.536e-06/1.02, allocations: 0 / 1.108 GB, free: 10.67 MB / 0.8731 GB Notification: Performance of matching and sorting (n=92): time 0.003304/1.023, allocations: 1.3 MB / 1.109 GB, free: 10.23 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.28e-05/1.023, allocations: 120 kB / 1.109 GB, free: 10.11 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007576/1.024, allocations: 0.5986 MB / 1.11 GB, free: 9.809 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001321/1.024, allocations: 73.19 kB / 1.11 GB, free: 9.75 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003142/1.024, allocations: 375.5 kB / 1.11 GB, free: 9.453 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002/1.025, allocations: 216.6 kB / 1.111 GB, free: 9.289 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003564/1.025, allocations: 227.7 kB / 1.111 GB, free: 9.188 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0002011/1.025, allocations: 398.3 kB / 1.111 GB, free: 8.836 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000898/1.026, allocations: 337.7 kB / 1.112 GB, free: 8.727 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001121/1.027, allocations: 0.6274 MB / 1.112 GB, free: 8.246 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001865/1.029, allocations: 0.8848 MB / 1.113 GB, free: 7.621 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.544e-06/1.029, allocations: 2.406 kB / 1.113 GB, free: 7.621 MB / 0.8731 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.002408/1.032, allocations: 1.075 MB / 1.114 GB, free: 7.191 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 6.253e-05/1.032, allocations: 38.66 kB / 1.114 GB, free: 7.16 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.789e-05/1.032, allocations: 9.375 kB / 1.114 GB, free: 7.16 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.958e-05/1.032, allocations: 14.78 kB / 1.114 GB, free: 7.16 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006641/1.032, allocations: 163 kB / 1.114 GB, free: 7.129 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.816e-05/1.032, allocations: 21.17 kB / 1.114 GB, free: 7.125 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009905/1.033, allocations: 167 kB / 1.115 GB, free: 7.066 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.844e-05/1.034, allocations: 49.34 kB / 1.115 GB, free: 7.059 MB / 0.8731 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.0005266/1.034, allocations: 312.3 kB / 1.115 GB, free: 6.82 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001417/1.034, allocations: 84.47 kB / 1.115 GB, free: 6.781 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002023/1.034, allocations: 87.48 kB / 1.115 GB, free: 6.707 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.409e-05/1.034, allocations: 8.391 kB / 1.115 GB, free: 6.703 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/1.034, allocations: 1.406 kB / 1.115 GB, free: 6.703 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001372/1.035, allocations: 156.5 kB / 1.115 GB, free: 6.555 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001502/1.035, allocations: 38.81 kB / 1.115 GB, free: 6.535 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006879/1.035, allocations: 96.34 kB / 1.115 GB, free: 6.523 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003023/1.036, allocations: 134.7 kB / 1.115 GB, free: 6.488 MB / 0.8731 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002822/1.039, allocations: 1.27 MB / 1.117 GB, free: 5.918 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002391/1.041, allocations: 1.325 MB / 1.118 GB, free: 5.227 MB / 0.8731 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001012/1.042, allocations: 491.1 kB / 1.118 GB, free: 5.043 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0004453/1.042, allocations: 374.2 kB / 1.119 GB, free: 4.875 MB / 0.8731 GB Notification: Performance of Backend: time 1.894e-06/1.042, allocations: 0 / 1.119 GB, free: 4.875 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002046/1.045, allocations: 0.7303 MB / 1.12 GB, free: 4.551 MB / 0.8731 GB Notification: Performance of SimCode: time 0.00238/1.047, allocations: 1.709 MB / 1.121 GB, free: 3.387 MB / 0.8731 GB Notification: Performance of Templates: time 0.02438/1.071, allocations: 12.11 MB / 1.133 GB, free: 1.359 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.SystemRequests.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.SystemRequests.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.SystemRequests.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.SystemRequests.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.SystemRequests.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.SystemRequests -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.SystemRequests.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.SystemRequests_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_SystemRequests.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.SystemRequests.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches