Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.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.ParallelFanVVF.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.ParallelFanVVF.Subsequences.Validation.SystemRequests") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.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.ParallelFanVVF.Subsequences.Validation.SystemRequests") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001387/0.001387, allocations: 109.6 kB / 16.41 MB, free: 6.465 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.001416/0.001416, allocations: 189.4 kB / 17.35 MB, free: 5.711 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.483/1.483, allocations: 222.9 MB / 241.1 MB, free: 15.08 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.609/2.609, allocations: 437 MB / 0.7112 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001599/0.001599, allocations: 67.89 kB / 1.019 GB, free: 9.336 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.021/1.023, allocations: 151.6 MB / 1.167 GB, free: 3.824 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.SystemRequests): time 0.005098/1.028, allocations: 3.016 MB / 1.17 GB, free: 0.8008 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.004114/1.032, allocations: 2.079 MB / 1.172 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00092/1.033, allocations: 23.88 kB / 1.172 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0006459/1.034, allocations: 154.3 kB / 1.172 GB, free: 14.53 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0007579/1.035, allocations: 158.5 kB / 1.173 GB, free: 14.37 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001622/1.036, allocations: 0.5502 MB / 1.173 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001922/1.038, allocations: 1.343 MB / 1.174 GB, free: 12.48 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001055/1.039, allocations: 0.5316 MB / 1.175 GB, free: 11.92 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001022/1.04, allocations: 0.4905 MB / 1.175 GB, free: 11.43 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009454/1.041, allocations: 0.525 MB / 1.176 GB, free: 10.9 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0004002/1.042, allocations: 140 kB / 1.176 GB, free: 10.77 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004314/1.042, allocations: 152 kB / 1.176 GB, free: 10.62 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0003364/1.042, allocations: 287.1 kB / 1.177 GB, free: 10.34 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0008058/1.043, allocations: 0.5442 MB / 1.177 GB, free: 9.789 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.002078/1.045, allocations: 1.693 MB / 1.179 GB, free: 8.094 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.872e-06/1.045, allocations: 0 / 1.179 GB, free: 8.094 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.423e-06/1.045, allocations: 3.938 kB / 1.179 GB, free: 8.09 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 5.675e-05/1.045, allocations: 4 kB / 1.179 GB, free: 8.086 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.004492/1.05, allocations: 1.49 MB / 1.18 GB, free: 6.527 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.862e-05/1.05, allocations: 8.922 kB / 1.18 GB, free: 6.52 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003495/1.05, allocations: 124.2 kB / 1.18 GB, free: 6.398 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002455/1.053, allocations: 0.8772 MB / 1.181 GB, free: 5.48 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001145/1.053, allocations: 74.36 kB / 1.181 GB, free: 5.41 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002133/1.053, allocations: 100.3 kB / 1.181 GB, free: 5.312 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001977/1.055, allocations: 0.8333 MB / 1.182 GB, free: 4.465 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.489e-05/1.055, allocations: 15.81 kB / 1.182 GB, free: 4.449 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.391e-05/1.055, allocations: 31.98 kB / 1.182 GB, free: 4.418 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.849e-05/1.055, allocations: 16 kB / 1.182 GB, free: 4.402 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001736/1.057, allocations: 0.6033 MB / 1.183 GB, free: 3.797 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004399/1.061, allocations: 2.196 MB / 1.185 GB, free: 1.543 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001939/1.063, allocations: 0.8876 MB / 1.186 GB, free: 0.6094 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008929/1.064, allocations: 370.8 kB / 1.186 GB, free: 244 kB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 5.937e-05/1.064, allocations: 8.234 kB / 1.186 GB, free: 236 kB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001414/1.066, allocations: 0.644 MB / 1.187 GB, free: 15.57 MB / 0.92 GB Notification: Performance of pre-optimization done (n=92): time 5.39e-06/1.066, allocations: 0 / 1.187 GB, free: 15.57 MB / 0.92 GB Notification: Performance of matching and sorting (n=92): time 0.003308/1.069, allocations: 1.305 MB / 1.188 GB, free: 14.26 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.275e-05/1.069, allocations: 118.8 kB / 1.188 GB, free: 14.12 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008711/1.07, allocations: 0.5937 MB / 1.189 GB, free: 13.52 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0001694/1.07, allocations: 77.69 kB / 1.189 GB, free: 13.44 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003756/1.071, allocations: 377.6 kB / 1.189 GB, free: 13.06 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002381/1.071, allocations: 234.2 kB / 1.189 GB, free: 12.83 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004091/1.071, allocations: 222.9 kB / 1.19 GB, free: 12.61 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0002252/1.072, allocations: 398.7 kB / 1.19 GB, free: 12.21 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000969/1.073, allocations: 338.4 kB / 1.19 GB, free: 11.88 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001153/1.074, allocations: 0.6297 MB / 1.191 GB, free: 11.12 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001803/1.076, allocations: 0.8837 MB / 1.192 GB, free: 10.11 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.12e-05/1.076, allocations: 4 kB / 1.192 GB, free: 10.1 MB / 0.92 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.002524/1.078, allocations: 1.08 MB / 1.193 GB, free: 9.012 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 5.128e-05/1.078, allocations: 37.7 kB / 1.193 GB, free: 8.969 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.118e-05/1.078, allocations: 8 kB / 1.193 GB, free: 8.961 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.593e-05/1.078, allocations: 16 kB / 1.193 GB, free: 8.945 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006525/1.079, allocations: 160 kB / 1.193 GB, free: 8.789 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.105e-05/1.079, allocations: 19.94 kB / 1.193 GB, free: 8.77 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001012/1.08, allocations: 171.2 kB / 1.193 GB, free: 8.602 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000101/1.08, allocations: 51.98 kB / 1.193 GB, free: 8.551 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.0005947/1.081, allocations: 310.5 kB / 1.194 GB, free: 8.23 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002223/1.081, allocations: 91.44 kB / 1.194 GB, free: 8.141 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002364/1.081, allocations: 86.11 kB / 1.194 GB, free: 8.051 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.045e-05/1.081, allocations: 3.984 kB / 1.194 GB, free: 8.047 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/1.081, allocations: 4 kB / 1.194 GB, free: 8.043 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001964/1.081, allocations: 160.4 kB / 1.194 GB, free: 7.867 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001821/1.082, allocations: 39.98 kB / 1.194 GB, free: 7.828 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007054/1.082, allocations: 99.86 kB / 1.194 GB, free: 7.73 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003175/1.083, allocations: 131.8 kB / 1.194 GB, free: 7.602 MB / 0.92 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002893/1.086, allocations: 1.283 MB / 1.195 GB, free: 6.312 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002299/1.088, allocations: 1.33 MB / 1.197 GB, free: 4.957 MB / 0.92 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009974/1.089, allocations: 483.5 kB / 1.197 GB, free: 4.484 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0006068/1.089, allocations: 379.1 kB / 1.198 GB, free: 4.117 MB / 0.92 GB Notification: Performance of Backend: time 5.61e-07/1.089, allocations: 0 / 1.198 GB, free: 4.117 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.002489/1.092, allocations: 0.7336 MB / 1.198 GB, free: 3.367 MB / 0.92 GB Notification: Performance of SimCode: time 0.002993/1.095, allocations: 1.737 MB / 1.2 GB, free: 1.582 MB / 0.92 GB Notification: Performance of Templates: time 0.02797/1.123, allocations: 12.1 MB / 1.212 GB, free: 5.617 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.SystemRequests.makefile (rm -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.SystemRequests.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.SystemRequests.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.SystemRequests.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.SystemRequests.sim & ./Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.SystemRequests -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.SystemRequests.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.SystemRequests_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_ParallelFanVVF_Subsequences_Validation_SystemRequests.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.SystemRequests.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches