Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.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_9_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_9_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.00181/0.00181, allocations: 119.4 kB / 16.42 MB, free: 6.473 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.0023/0.0023, allocations: 183.9 kB / 17.35 MB, free: 5.75 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.392/1.392, allocations: 222.9 MB / 241 MB, free: 15.17 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.201/2.201, allocations: 390.3 MB / 0.6655 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001484/0.001485, allocations: 63.91 kB / 0.9516 GB, free: 7.59 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.004/1.006, allocations: 140.4 MB / 1.089 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.SystemRequests): time 0.004608/1.01, allocations: 3.008 MB / 1.092 GB, free: 3.387 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003709/1.014, allocations: 2.076 MB / 1.094 GB, free: 1.832 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008239/1.015, allocations: 30.5 kB / 1.094 GB, free: 1.82 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005049/1.016, allocations: 147.2 kB / 1.094 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0005406/1.016, allocations: 158.8 kB / 1.094 GB, free: 1.582 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001722/1.018, allocations: 0.5557 MB / 1.094 GB, free: 1.234 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001868/1.02, allocations: 1.334 MB / 1.096 GB, free: 0.5547 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007528/1.021, allocations: 0.5356 MB / 1.096 GB, free: 260 kB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006882/1.021, allocations: 0.4958 MB / 1.097 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006003/1.022, allocations: 0.5255 MB / 1.097 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0002211/1.022, allocations: 141.2 kB / 1.097 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000302/1.022, allocations: 151.5 kB / 1.098 GB, free: 15.69 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0002612/1.023, allocations: 277 kB / 1.098 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.000538/1.023, allocations: 0.5427 MB / 1.098 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.002124/1.025, allocations: 1.693 MB / 1.1 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/1.025, allocations: 0 / 1.1 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.365e-06/1.025, allocations: 1.062 kB / 1.1 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 3.207e-05/1.025, allocations: 0 / 1.1 GB, free: 14.52 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.003708/1.029, allocations: 1.475 MB / 1.101 GB, free: 13.59 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.934e-05/1.029, allocations: 8.5 kB / 1.101 GB, free: 13.59 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002914/1.029, allocations: 115.7 kB / 1.102 GB, free: 13.54 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002201/1.032, allocations: 0.8712 MB / 1.102 GB, free: 13.05 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001083/1.032, allocations: 73.89 kB / 1.103 GB, free: 13.02 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001806/1.032, allocations: 95.36 kB / 1.103 GB, free: 12.99 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001922/1.034, allocations: 0.8467 MB / 1.103 GB, free: 12.66 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.66e-05/1.034, allocations: 0 / 1.103 GB, free: 12.66 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001011/1.034, allocations: 33.97 kB / 1.103 GB, free: 12.64 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.119e-05/1.034, allocations: 17.97 kB / 1.103 GB, free: 12.64 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001808/1.036, allocations: 0.5977 MB / 1.104 GB, free: 12.45 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004776/1.041, allocations: 2.177 MB / 1.106 GB, free: 11.28 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001986/1.043, allocations: 0.9082 MB / 1.107 GB, free: 10.82 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008989/1.044, allocations: 387.6 kB / 1.107 GB, free: 10.66 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 5.351e-05/1.044, allocations: 13.06 kB / 1.107 GB, free: 10.66 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001418/1.045, allocations: 0.6259 MB / 1.108 GB, free: 10.42 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=92): time 3.156e-06/1.045, allocations: 0 / 1.108 GB, free: 10.42 MB / 0.8731 GB Notification: Performance of matching and sorting (n=92): time 0.003344/1.048, allocations: 1.307 MB / 1.109 GB, free: 9.973 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.321e-05/1.049, allocations: 115.5 kB / 1.109 GB, free: 9.848 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008739/1.049, allocations: 0.5937 MB / 1.11 GB, free: 9.555 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001476/1.05, allocations: 73.69 kB / 1.11 GB, free: 9.496 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003503/1.05, allocations: 380.5 kB / 1.11 GB, free: 9.195 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002057/1.05, allocations: 215.1 kB / 1.111 GB, free: 9.031 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000395/1.051, allocations: 229.6 kB / 1.111 GB, free: 8.93 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0002183/1.051, allocations: 402.2 kB / 1.111 GB, free: 8.574 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009121/1.052, allocations: 332.7 kB / 1.112 GB, free: 8.469 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001097/1.053, allocations: 0.6278 MB / 1.112 GB, free: 7.988 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001928/1.055, allocations: 0.8855 MB / 1.113 GB, free: 7.363 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.995e-06/1.055, allocations: 2.594 kB / 1.113 GB, free: 7.363 MB / 0.8731 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.002568/1.057, allocations: 1.07 MB / 1.114 GB, free: 6.938 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 4.98e-05/1.057, allocations: 38.36 kB / 1.114 GB, free: 6.906 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.126e-05/1.057, allocations: 9.234 kB / 1.114 GB, free: 6.906 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.74e-05/1.058, allocations: 20.09 kB / 1.114 GB, free: 6.902 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006672/1.058, allocations: 158.8 kB / 1.114 GB, free: 6.875 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.424e-05/1.058, allocations: 21.64 kB / 1.114 GB, free: 6.871 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001044/1.059, allocations: 166 kB / 1.115 GB, free: 6.812 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001073/1.059, allocations: 53.23 kB / 1.115 GB, free: 6.801 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.0005815/1.06, allocations: 307.6 kB / 1.115 GB, free: 6.566 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001944/1.06, allocations: 89.16 kB / 1.115 GB, free: 6.523 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002068/1.06, allocations: 85.98 kB / 1.115 GB, free: 6.449 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.396e-05/1.06, allocations: 9.969 kB / 1.115 GB, free: 6.445 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/1.06, allocations: 1.375 kB / 1.115 GB, free: 6.445 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001819/1.061, allocations: 160.1 kB / 1.115 GB, free: 6.293 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001938/1.061, allocations: 38.36 kB / 1.115 GB, free: 6.273 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008015/1.062, allocations: 92.36 kB / 1.115 GB, free: 6.266 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003481/1.062, allocations: 136 kB / 1.115 GB, free: 6.23 MB / 0.8731 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003189/1.065, allocations: 1.262 MB / 1.117 GB, free: 5.668 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002779/1.068, allocations: 1.332 MB / 1.118 GB, free: 4.969 MB / 0.8731 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001063/1.069, allocations: 487 kB / 1.118 GB, free: 4.789 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0005388/1.07, allocations: 374.3 kB / 1.119 GB, free: 4.621 MB / 0.8731 GB Notification: Performance of Backend: time 4.11e-07/1.07, allocations: 4 kB / 1.119 GB, free: 4.617 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002432/1.072, allocations: 0.7339 MB / 1.12 GB, free: 4.289 MB / 0.8731 GB Notification: Performance of SimCode: time 0.002951/1.075, allocations: 1.71 MB / 1.121 GB, free: 3.125 MB / 0.8731 GB Notification: Performance of Templates: time 0.02883/1.104, allocations: 12.1 MB / 1.133 GB, free: 1.152 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.SystemRequests.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.SystemRequests.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.SystemRequests.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.SystemRequests.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.SystemRequests.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.SystemRequests -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.SystemRequests.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.SystemRequests_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanVVF_Subsequences_Validation_SystemRequests.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanVVF.Subsequences.Validation.SystemRequests.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches