Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.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_10_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_10_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.001205/0.001205, allocations: 115.3 kB / 16.42 MB, free: 6.02 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.00125/0.00125, allocations: 186.1 kB / 17.35 MB, free: 5.633 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.428/1.428, 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 10.1.1-maint.10.0.x/package.mo): time 2.518/2.518, allocations: 437 MB / 0.7112 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001524/0.001524, allocations: 67.89 kB / 1.019 GB, free: 9.387 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9314/0.9329, allocations: 151.6 MB / 1.167 GB, free: 3.879 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.SystemRequests): time 0.00409/0.9371, allocations: 2.998 MB / 1.17 GB, free: 0.8711 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002888/0.94, allocations: 2.075 MB / 1.172 GB, free: 14.78 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004546/0.9405, allocations: 31.81 kB / 1.172 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0004022/0.9409, allocations: 146.3 kB / 1.172 GB, free: 14.6 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0003207/0.9412, allocations: 158.5 kB / 1.173 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001238/0.9425, allocations: 0.5522 MB / 1.173 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001228/0.9437, allocations: 1.335 MB / 1.174 GB, free: 12.55 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007283/0.9445, allocations: 0.5316 MB / 1.175 GB, free: 12 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005719/0.945, allocations: 0.4983 MB / 1.175 GB, free: 11.5 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004511/0.9455, allocations: 0.525 MB / 1.176 GB, free: 10.97 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001612/0.9457, allocations: 136 kB / 1.176 GB, free: 10.84 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002063/0.9459, allocations: 151.9 kB / 1.176 GB, free: 10.69 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002076/0.9461, allocations: 287.1 kB / 1.177 GB, free: 10.41 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0004145/0.9465, allocations: 0.5364 MB / 1.177 GB, free: 9.871 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001405/0.9479, allocations: 1.695 MB / 1.179 GB, free: 8.176 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.9479, allocations: 0 / 1.179 GB, free: 8.176 MB / 0.9044 GB Notification: Performance of FrontEnd: time 3.487e-06/0.948, allocations: 0 / 1.179 GB, free: 8.176 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.752e-05/0.948, allocations: 3.938 kB / 1.179 GB, free: 8.172 MB / 0.9044 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.003206/0.9512, allocations: 1.464 MB / 1.18 GB, free: 6.641 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.9512, allocations: 8.922 kB / 1.18 GB, free: 6.633 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002004/0.9515, allocations: 119.6 kB / 1.18 GB, free: 6.516 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002033/0.9535, allocations: 0.8689 MB / 1.181 GB, free: 5.605 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.708e-05/0.9536, allocations: 74.36 kB / 1.181 GB, free: 5.535 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001409/0.9537, allocations: 92.36 kB / 1.181 GB, free: 5.445 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001635/0.9554, allocations: 0.8449 MB / 1.182 GB, free: 4.586 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.202e-05/0.9554, allocations: 3.938 kB / 1.182 GB, free: 4.582 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.043e-05/0.9555, allocations: 39.91 kB / 1.182 GB, free: 4.543 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.673e-05/0.9555, allocations: 16 kB / 1.182 GB, free: 4.527 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001588/0.9571, allocations: 0.5995 MB / 1.183 GB, free: 3.926 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003747/0.9609, allocations: 2.176 MB / 1.185 GB, free: 1.691 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001838/0.9627, allocations: 0.9007 MB / 1.186 GB, free: 0.75 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008532/0.9636, allocations: 374.8 kB / 1.186 GB, free: 380 kB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 5.358e-05/0.9637, allocations: 12.22 kB / 1.186 GB, free: 368 kB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001287/0.965, allocations: 0.6362 MB / 1.187 GB, free: 15.7 MB / 0.92 GB Notification: Performance of pre-optimization done (n=92): time 3.226e-06/0.965, allocations: 0 / 1.187 GB, free: 15.7 MB / 0.92 GB Notification: Performance of matching and sorting (n=92): time 0.003094/0.9681, allocations: 1.301 MB / 1.188 GB, free: 14.4 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.674e-05/0.9682, allocations: 118.8 kB / 1.188 GB, free: 14.26 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000726/0.9689, allocations: 0.5935 MB / 1.189 GB, free: 13.66 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0001392/0.969, allocations: 73.69 kB / 1.189 GB, free: 13.58 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002985/0.9693, allocations: 380.8 kB / 1.189 GB, free: 13.2 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001923/0.9695, allocations: 213.2 kB / 1.189 GB, free: 12.99 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003136/0.9699, allocations: 230.9 kB / 1.19 GB, free: 12.76 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001655/0.97, allocations: 402.7 kB / 1.19 GB, free: 12.36 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008672/0.9709, allocations: 330.4 kB / 1.19 GB, free: 12.04 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001044/0.972, allocations: 0.6337 MB / 1.191 GB, free: 11.27 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001704/0.9737, allocations: 0.8886 MB / 1.192 GB, free: 10.25 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.376e-06/0.9737, allocations: 4 kB / 1.192 GB, free: 10.25 MB / 0.92 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.00231/0.976, allocations: 1.068 MB / 1.193 GB, free: 9.172 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 5.047e-05/0.9761, allocations: 37.7 kB / 1.193 GB, free: 9.129 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.768e-05/0.9761, allocations: 12.48 kB / 1.193 GB, free: 9.117 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.388e-05/0.9761, allocations: 23.94 kB / 1.193 GB, free: 9.094 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006512/0.9768, allocations: 155.6 kB / 1.193 GB, free: 8.941 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.068e-05/0.9768, allocations: 19.92 kB / 1.193 GB, free: 8.922 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000994/0.9778, allocations: 175 kB / 1.193 GB, free: 8.75 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.281e-05/0.9779, allocations: 44 kB / 1.193 GB, free: 8.707 MB / 0.92 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.0005971/0.9785, allocations: 314.5 kB / 1.194 GB, free: 8.383 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001589/0.9787, allocations: 87.05 kB / 1.194 GB, free: 8.297 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001843/0.9789, allocations: 86.17 kB / 1.194 GB, free: 8.207 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.13e-05/0.9789, allocations: 7.922 kB / 1.194 GB, free: 8.199 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.9789, allocations: 0 / 1.194 GB, free: 8.199 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001397/0.9791, allocations: 159.9 kB / 1.194 GB, free: 8.023 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001498/0.9792, allocations: 47.97 kB / 1.194 GB, free: 7.977 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000672/0.9799, allocations: 91.86 kB / 1.194 GB, free: 7.887 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002757/0.9802, allocations: 135.8 kB / 1.194 GB, free: 7.754 MB / 0.92 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002644/0.9828, allocations: 1.279 MB / 1.195 GB, free: 6.469 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002361/0.9852, allocations: 1.325 MB / 1.197 GB, free: 5.117 MB / 0.92 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009693/0.9862, allocations: 479.6 kB / 1.197 GB, free: 4.648 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0004838/0.9867, allocations: 371.1 kB / 1.197 GB, free: 4.289 MB / 0.92 GB Notification: Performance of Backend: time 4.2e-07/0.9867, allocations: 0 / 1.197 GB, free: 4.289 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.002273/0.989, allocations: 0.7326 MB / 1.198 GB, free: 3.539 MB / 0.92 GB Notification: Performance of SimCode: time 0.002533/0.9915, allocations: 1.699 MB / 1.2 GB, free: 1.793 MB / 0.92 GB Notification: Performance of Templates: time 0.02368/1.015, allocations: 12.11 MB / 1.212 GB, free: 5.824 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.SystemRequests.makefile (rm -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.SystemRequests.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.SystemRequests.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.SystemRequests.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.SystemRequests.sim & ./Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.SystemRequests -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.SystemRequests.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.SystemRequests_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanCVF_Subsequences_Validation_SystemRequests.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.SystemRequests.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches