Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.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.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.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.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.VPri_flow|sysReq.TDisSet|sysReq.TDis|sysReq.yZonTemResReq|sysReq.yZonPreResReq|sysReq.yHeaValResReq|sysReq.yHotWatPlaReq",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.SystemRequests") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.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.VPri_flow|sysReq.TDisSet|sysReq.TDis|sysReq.yZonTemResReq|sysReq.yZonPreResReq|sysReq.yHeaValResReq|sysReq.yHotWatPlaReq",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.SystemRequests") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001248/0.001248, allocations: 117.3 kB / 16.42 MB, free: 6.5 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.001283/0.001283, allocations: 183.9 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.5/1.5, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.722/2.722, allocations: 461.9 MB / 0.7355 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001583/0.001583, allocations: 63.91 kB / 1.055 GB, free: 7.691 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9167/0.9183, allocations: 157.4 MB / 1.208 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.SystemRequests): time 0.004865/0.9232, allocations: 3.024 MB / 1.211 GB, free: 10.63 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.003666/0.9269, allocations: 2.098 MB / 1.213 GB, free: 8.516 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007909/0.9277, allocations: 27.88 kB / 1.213 GB, free: 8.488 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0005274/0.9283, allocations: 150.3 kB / 1.214 GB, free: 8.34 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0005724/0.9289, allocations: 150.5 kB / 1.214 GB, free: 8.191 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001399/0.9303, allocations: 0.5378 MB / 1.214 GB, free: 7.656 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.00159/0.9319, allocations: 1.343 MB / 1.216 GB, free: 6.312 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009189/0.9328, allocations: 0.5277 MB / 1.216 GB, free: 5.754 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000766/0.9336, allocations: 0.4983 MB / 1.217 GB, free: 5.254 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006392/0.9343, allocations: 0.5211 MB / 1.217 GB, free: 4.73 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0002785/0.9345, allocations: 140 kB / 1.217 GB, free: 4.594 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000282/0.9348, allocations: 152 kB / 1.217 GB, free: 4.445 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0002737/0.9351, allocations: 283.1 kB / 1.218 GB, free: 4.168 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0005842/0.9357, allocations: 0.5442 MB / 1.218 GB, free: 3.621 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001661/0.9374, allocations: 1.683 MB / 1.22 GB, free: 1.938 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.9374, allocations: 3.938 kB / 1.22 GB, free: 1.934 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.713e-06/0.9374, allocations: 0 / 1.22 GB, free: 1.934 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.379e-05/0.9375, allocations: 4 kB / 1.22 GB, free: 1.93 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: 179 * Number of variables: 179 Notification: Performance of Generate backend data structure: time 0.003991/0.9414, allocations: 1.468 MB / 1.221 GB, free: 412 kB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.846e-05/0.9415, allocations: 8.031 kB / 1.221 GB, free: 404 kB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003248/0.9418, allocations: 119.6 kB / 1.221 GB, free: 284 kB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002241/0.9441, allocations: 0.869 MB / 1.222 GB, free: 15.36 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.038e-05/0.9442, allocations: 74.3 kB / 1.222 GB, free: 15.29 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001642/0.9444, allocations: 96.36 kB / 1.222 GB, free: 15.2 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001804/0.9462, allocations: 0.8449 MB / 1.223 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.483e-05/0.9462, allocations: 7.922 kB / 1.223 GB, free: 14.33 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.458e-05/0.9463, allocations: 35.98 kB / 1.223 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.033e-05/0.9463, allocations: 20 kB / 1.223 GB, free: 14.27 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00166/0.948, allocations: 0.5955 MB / 1.224 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004102/0.9521, allocations: 2.184 MB / 1.226 GB, free: 11.43 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001884/0.954, allocations: 0.8959 MB / 1.227 GB, free: 10.49 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008711/0.9549, allocations: 374.9 kB / 1.227 GB, free: 10.12 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 5.346e-05/0.955, allocations: 8.234 kB / 1.227 GB, free: 10.11 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001311/0.9563, allocations: 0.6401 MB / 1.228 GB, free: 9.449 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=92): time 4.669e-06/0.9563, allocations: 0 / 1.228 GB, free: 9.449 MB / 0.9512 GB Notification: Performance of matching and sorting (n=92): time 0.003265/0.9596, allocations: 1.294 MB / 1.229 GB, free: 8.152 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.922e-05/0.9597, allocations: 118.8 kB / 1.229 GB, free: 8.012 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009238/0.9606, allocations: 0.5935 MB / 1.23 GB, free: 7.41 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001541/0.9608, allocations: 73.69 kB / 1.23 GB, free: 7.332 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003657/0.9611, allocations: 380.9 kB / 1.23 GB, free: 6.953 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002187/0.9614, allocations: 213.2 kB / 1.23 GB, free: 6.742 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003756/0.9618, allocations: 226.9 kB / 1.231 GB, free: 6.516 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001825/0.962, allocations: 398.7 kB / 1.231 GB, free: 6.117 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008836/0.9628, allocations: 338.4 kB / 1.231 GB, free: 5.785 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001049/0.9639, allocations: 0.626 MB / 1.232 GB, free: 5.031 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001755/0.9657, allocations: 0.8963 MB / 1.233 GB, free: 4.008 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.407e-06/0.9657, allocations: 4 kB / 1.233 GB, free: 4.004 MB / 0.9512 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.002348/0.968, allocations: 1.065 MB / 1.234 GB, free: 2.926 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 4.881e-05/0.9681, allocations: 41.69 kB / 1.234 GB, free: 2.879 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.147e-05/0.9681, allocations: 8 kB / 1.234 GB, free: 2.871 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.563e-05/0.9682, allocations: 19.98 kB / 1.234 GB, free: 2.852 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006541/0.9688, allocations: 160 kB / 1.234 GB, free: 2.695 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.908e-05/0.9689, allocations: 19.94 kB / 1.234 GB, free: 2.676 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009403/0.9698, allocations: 175 kB / 1.234 GB, free: 2.504 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.052e-05/0.9699, allocations: 51.98 kB / 1.234 GB, free: 2.453 MB / 0.9512 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.0005253/0.9704, allocations: 302.5 kB / 1.235 GB, free: 2.141 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001739/0.9706, allocations: 90.98 kB / 1.235 GB, free: 2.051 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000198/0.9708, allocations: 82.17 kB / 1.235 GB, free: 1.965 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.931e-05/0.9709, allocations: 7.984 kB / 1.235 GB, free: 1.957 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.9709, allocations: 0 / 1.235 GB, free: 1.957 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001488/0.971, allocations: 159.9 kB / 1.235 GB, free: 1.781 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001669/0.9712, allocations: 43.98 kB / 1.235 GB, free: 1.738 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007086/0.9719, allocations: 99.86 kB / 1.235 GB, free: 1.641 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00028/0.9722, allocations: 131.8 kB / 1.235 GB, free: 1.512 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002754/0.975, allocations: 1.284 MB / 1.237 GB, free: 228 kB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002315/0.9773, allocations: 1.318 MB / 1.238 GB, free: 14.88 MB / 0.9669 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009748/0.9783, allocations: 483.8 kB / 1.238 GB, free: 14.41 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0004405/0.9787, allocations: 379.1 kB / 1.239 GB, free: 14.05 MB / 0.9669 GB Notification: Performance of Backend: time 4.3e-07/0.9787, allocations: 0 / 1.239 GB, free: 14.05 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.00208/0.9808, allocations: 0.7278 MB / 1.239 GB, free: 13.31 MB / 0.9669 GB Notification: Performance of SimCode: time 0.002449/0.9833, allocations: 1.718 MB / 1.241 GB, free: 11.54 MB / 0.9669 GB Notification: Performance of Templates: time 0.02375/1.007, allocations: 12.18 MB / 1.253 GB, free: 15.5 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.SystemRequests.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.SystemRequests.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.SystemRequests.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.SystemRequests.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.SystemRequests.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.SystemRequests -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.SystemRequests.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.SystemRequests_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanVVF_Subsequences_Validation_SystemRequests.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.SystemRequests.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches