Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.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.SeriesFanCVF.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.SeriesFanCVF.Subsequences.Validation.SystemRequests") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.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.SeriesFanCVF.Subsequences.Validation.SystemRequests") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001397/0.001397, allocations: 116.2 kB / 16.42 MB, free: 6.492 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.001246/0.001246, 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.488/1.488, 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 11.0.1-master/package.mo): time 2.812/2.812, allocations: 469.4 MB / 0.7428 GB, free: 3.594 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001573/0.001573, allocations: 67.89 kB / 1.066 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9855/0.9871, allocations: 159.1 MB / 1.221 GB, free: 2.359 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.SystemRequests): time 0.005117/0.9923, allocations: 3.005 MB / 1.224 GB, free: 15.34 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.004239/0.9965, allocations: 2.09 MB / 1.226 GB, free: 13.24 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001113/0.9977, allocations: 31.81 kB / 1.226 GB, free: 13.21 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0006897/0.9984, allocations: 154.3 kB / 1.226 GB, free: 13.05 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.001108/0.9996, allocations: 154.6 kB / 1.226 GB, free: 12.9 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.00182/1.001, allocations: 0.5451 MB / 1.227 GB, free: 12.36 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.002035/1.003, allocations: 1.343 MB / 1.228 GB, free: 11.01 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001061/1.005, allocations: 0.5238 MB / 1.229 GB, free: 10.46 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009452/1.006, allocations: 0.4983 MB / 1.229 GB, free: 9.965 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008168/1.006, allocations: 0.5211 MB / 1.23 GB, free: 9.441 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.000416/1.007, allocations: 140 kB / 1.23 GB, free: 9.305 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004261/1.007, allocations: 155.9 kB / 1.23 GB, free: 9.152 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0003141/1.008, allocations: 279.2 kB / 1.23 GB, free: 8.879 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0006985/1.008, allocations: 0.5364 MB / 1.231 GB, free: 8.34 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001881/1.01, allocations: 1.695 MB / 1.232 GB, free: 6.645 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.189e-06/1.01, allocations: 4 kB / 1.232 GB, free: 6.641 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.615e-06/1.01, allocations: 0 / 1.232 GB, free: 6.641 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.125e-05/1.01, allocations: 0 / 1.232 GB, free: 6.641 MB / 0.9512 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.004234/1.014, allocations: 1.464 MB / 1.234 GB, free: 5.105 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.863e-05/1.015, allocations: 12.62 kB / 1.234 GB, free: 5.094 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003189/1.015, allocations: 119.6 kB / 1.234 GB, free: 4.977 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002211/1.017, allocations: 0.8688 MB / 1.235 GB, free: 4.066 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.549e-05/1.017, allocations: 70.36 kB / 1.235 GB, free: 4 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001437/1.017, allocations: 100.3 kB / 1.235 GB, free: 3.902 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001643/1.019, allocations: 0.841 MB / 1.236 GB, free: 3.047 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.991e-05/1.019, allocations: 3.938 kB / 1.236 GB, free: 3.043 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.21e-05/1.019, allocations: 35.98 kB / 1.236 GB, free: 3.008 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.867e-05/1.019, allocations: 23.98 kB / 1.236 GB, free: 2.984 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001513/1.021, allocations: 0.6033 MB / 1.236 GB, free: 2.383 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003708/1.024, allocations: 2.188 MB / 1.238 GB, free: 128 kB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001852/1.026, allocations: 0.8846 MB / 1.239 GB, free: 15.2 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009209/1.027, allocations: 378.3 kB / 1.24 GB, free: 14.82 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 6.278e-05/1.027, allocations: 16.22 kB / 1.24 GB, free: 14.81 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001314/1.029, allocations: 0.6362 MB / 1.24 GB, free: 14.15 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=92): time 4.829e-06/1.029, allocations: 0 / 1.24 GB, free: 14.15 MB / 0.9669 GB Notification: Performance of matching and sorting (n=92): time 0.003062/1.032, allocations: 1.297 MB / 1.242 GB, free: 12.85 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.574e-05/1.032, allocations: 118.8 kB / 1.242 GB, free: 12.71 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006755/1.032, allocations: 0.5934 MB / 1.242 GB, free: 12.11 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0001145/1.033, allocations: 77.69 kB / 1.242 GB, free: 12.03 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002941/1.033, allocations: 381 kB / 1.243 GB, free: 11.65 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001883/1.033, allocations: 213.2 kB / 1.243 GB, free: 11.44 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003186/1.033, allocations: 226.9 kB / 1.243 GB, free: 11.21 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001817/1.034, allocations: 398.7 kB / 1.244 GB, free: 10.81 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008309/1.034, allocations: 334.4 kB / 1.244 GB, free: 10.48 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001045/1.035, allocations: 0.6299 MB / 1.244 GB, free: 9.727 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001671/1.037, allocations: 0.8899 MB / 1.245 GB, free: 8.703 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/1.037, allocations: 0 / 1.245 GB, free: 8.703 MB / 0.9669 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.002247/1.039, allocations: 1.071 MB / 1.246 GB, free: 7.625 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 4.874e-05/1.039, allocations: 45.69 kB / 1.246 GB, free: 7.574 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.026e-05/1.039, allocations: 12.08 kB / 1.246 GB, free: 7.562 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.531e-05/1.04, allocations: 12 kB / 1.246 GB, free: 7.551 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006403/1.04, allocations: 151.7 kB / 1.247 GB, free: 7.402 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.422e-05/1.04, allocations: 27.91 kB / 1.247 GB, free: 7.375 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009567/1.041, allocations: 171.3 kB / 1.247 GB, free: 7.207 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001036/1.041, allocations: 51.98 kB / 1.247 GB, free: 7.156 MB / 0.9669 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.0005054/1.042, allocations: 315 kB / 1.247 GB, free: 6.832 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001576/1.042, allocations: 86.95 kB / 1.247 GB, free: 6.746 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002017/1.042, allocations: 94.17 kB / 1.247 GB, free: 6.652 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.16e-05/1.042, allocations: 3.984 kB / 1.247 GB, free: 6.648 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/1.042, allocations: 0 / 1.247 GB, free: 6.648 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001706/1.042, allocations: 156 kB / 1.247 GB, free: 6.477 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001543/1.043, allocations: 35.98 kB / 1.248 GB, free: 6.441 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006882/1.043, allocations: 99.86 kB / 1.248 GB, free: 6.344 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002842/1.044, allocations: 135.8 kB / 1.248 GB, free: 6.211 MB / 0.9669 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002765/1.046, allocations: 1.276 MB / 1.249 GB, free: 4.926 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00231/1.049, allocations: 1.319 MB / 1.25 GB, free: 3.59 MB / 0.9669 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000995/1.05, allocations: 485.2 kB / 1.251 GB, free: 3.117 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0004503/1.05, allocations: 379 kB / 1.251 GB, free: 2.75 MB / 0.9669 GB Notification: Performance of Backend: time 5.51e-07/1.05, allocations: 0 / 1.251 GB, free: 2.75 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.002013/1.052, allocations: 0.7232 MB / 1.252 GB, free: 2.016 MB / 0.9669 GB Notification: Performance of SimCode: time 0.002764/1.055, allocations: 1.726 MB / 1.253 GB, free: 244 kB / 0.9669 GB Notification: Performance of Templates: time 0.025/1.08, allocations: 12.18 MB / 1.265 GB, free: 4.199 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.SystemRequests.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.SystemRequests.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.SystemRequests.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.SystemRequests.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.SystemRequests.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.SystemRequests -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.SystemRequests.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.SystemRequests_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanCVF_Subsequences_Validation_SystemRequests.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.SystemRequests.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches