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.DamperValves.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.DamperValves,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|damValFan1.VPri_flow|damValFan1.VActCooMax_flow|damValFan1.VActMin_flow|damValFan1.VPri_flow_Set|damValFan1.uCoo|damValFan1.uHea|damValFan1.TSup|damValFan1.TZon|damValFan1.TSupSet|damValFan1.THeaSet|damValFan1.TDis|damValFan1.uOpeMod|damValFan1.yDam|damValFan1.yVal|damValFan1.THeaDisSet|damValFan1.y1Fan|damValFan1.oveFloSet",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.DamperValves") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.DamperValves,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|damValFan1.VPri_flow|damValFan1.VActCooMax_flow|damValFan1.VActMin_flow|damValFan1.VPri_flow_Set|damValFan1.uCoo|damValFan1.uHea|damValFan1.TSup|damValFan1.TZon|damValFan1.TSupSet|damValFan1.THeaSet|damValFan1.TDis|damValFan1.uOpeMod|damValFan1.yDam|damValFan1.yVal|damValFan1.THeaDisSet|damValFan1.y1Fan|damValFan1.oveFloSet",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.DamperValves") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001323/0.001323, allocations: 110.1 kB / 16.42 MB, free: 6.488 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: 185.7 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.942/1.942, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.758/2.758, allocations: 469.4 MB / 0.7428 GB, free: 3.59 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001615/0.001616, allocations: 63.91 kB / 1.066 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9717/0.9734, allocations: 159.1 MB / 1.221 GB, free: 2.492 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.DamperValves): time 0.006586/0.98, allocations: 4.004 MB / 1.225 GB, free: 14.47 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.004455/0.9845, allocations: 2.464 MB / 1.227 GB, free: 11.99 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001195/0.9857, allocations: 23.94 kB / 1.227 GB, free: 11.97 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0009519/0.9867, allocations: 185.9 kB / 1.227 GB, free: 11.79 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.001328/0.9881, allocations: 194.2 kB / 1.228 GB, free: 11.59 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.002377/0.9905, allocations: 0.7319 MB / 1.228 GB, free: 10.87 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.002383/0.9929, allocations: 1.626 MB / 1.23 GB, free: 9.234 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001771/0.9947, allocations: 0.806 MB / 1.231 GB, free: 8.398 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001098/0.9958, allocations: 0.5955 MB / 1.231 GB, free: 7.801 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009393/0.9968, allocations: 0.6454 MB / 1.232 GB, free: 7.152 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0004724/0.9972, allocations: 176 kB / 1.232 GB, free: 6.98 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004661/0.9977, allocations: 191.9 kB / 1.232 GB, free: 6.793 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0003994/0.9981, allocations: 338.9 kB / 1.233 GB, free: 6.461 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0009418/0.9991, allocations: 0.6724 MB / 1.233 GB, free: 5.785 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0027/1.002, allocations: 2.15 MB / 1.235 GB, free: 3.629 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.832e-06/1.002, allocations: 0 / 1.235 GB, free: 3.629 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.623e-06/1.002, allocations: 3.938 kB / 1.235 GB, free: 3.625 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 7.405e-05/1.002, allocations: 0 / 1.235 GB, free: 3.625 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: 279 * Number of variables: 279 Notification: Performance of Generate backend data structure: time 0.004559/1.006, allocations: 1.647 MB / 1.237 GB, free: 1.906 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.073e-05/1.007, allocations: 8.625 kB / 1.237 GB, free: 1.898 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004458/1.007, allocations: 147.2 kB / 1.237 GB, free: 1.754 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002745/1.01, allocations: 0.9424 MB / 1.238 GB, free: 0.7656 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001075/1.01, allocations: 94.58 kB / 1.238 GB, free: 0.6719 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002782/1.01, allocations: 124.3 kB / 1.238 GB, free: 0.5508 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002775/1.013, allocations: 1.083 MB / 1.239 GB, free: 15.42 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.866e-05/1.013, allocations: 7.922 kB / 1.239 GB, free: 15.41 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001143/1.013, allocations: 48 kB / 1.239 GB, free: 15.37 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.847e-05/1.013, allocations: 31.98 kB / 1.239 GB, free: 15.34 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002264/1.015, allocations: 0.8009 MB / 1.24 GB, free: 14.53 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006296/1.022, allocations: 3.092 MB / 1.243 GB, free: 11.36 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002119/1.024, allocations: 0.9881 MB / 1.244 GB, free: 10.32 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009636/1.025, allocations: 387.7 kB / 1.245 GB, free: 9.941 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 6.127e-05/1.025, allocations: 16.94 kB / 1.245 GB, free: 9.926 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001337/1.026, allocations: 0.4892 MB / 1.245 GB, free: 9.426 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=96): time 5.37e-06/1.026, allocations: 0 / 1.245 GB, free: 9.426 MB / 0.9669 GB Notification: Performance of matching and sorting (n=96): time 0.003006/1.029, allocations: 1.093 MB / 1.246 GB, free: 8.328 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.259e-05/1.029, allocations: 68.34 kB / 1.246 GB, free: 8.25 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00107/1.031, allocations: 0.6763 MB / 1.247 GB, free: 7.562 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0001656/1.031, allocations: 57.7 kB / 1.247 GB, free: 7.5 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005342/1.031, allocations: 0.5191 MB / 1.247 GB, free: 6.973 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003004/1.032, allocations: 288.1 kB / 1.248 GB, free: 6.688 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004603/1.032, allocations: 230.8 kB / 1.248 GB, free: 6.457 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0002161/1.032, allocations: 398.7 kB / 1.248 GB, free: 6.059 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009555/1.033, allocations: 353.9 kB / 1.249 GB, free: 5.711 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001026/1.034, allocations: 0.5738 MB / 1.249 GB, free: 5.043 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001749/1.036, allocations: 0.87 MB / 1.25 GB, free: 4.074 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.442e-06/1.036, allocations: 0 / 1.25 GB, free: 4.074 MB / 0.9669 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.00248/1.039, allocations: 1.121 MB / 1.251 GB, free: 2.934 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 7.163e-05/1.039, allocations: 63.41 kB / 1.251 GB, free: 2.859 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.451e-05/1.039, allocations: 4 kB / 1.251 GB, free: 2.855 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.442e-05/1.039, allocations: 12 kB / 1.251 GB, free: 2.844 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007854/1.039, allocations: 183.6 kB / 1.251 GB, free: 2.664 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.937e-05/1.04, allocations: 19.88 kB / 1.251 GB, free: 2.645 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001015/1.041, allocations: 159.1 kB / 1.252 GB, free: 2.488 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001073/1.041, allocations: 51.97 kB / 1.252 GB, free: 2.438 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001229/1.042, allocations: 0.5299 MB / 1.252 GB, free: 1.906 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009732/1.043, allocations: 0.5621 MB / 1.253 GB, free: 1.254 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00165/1.045, allocations: 0.8661 MB / 1.253 GB, free: 296 kB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.062e-06/1.045, allocations: 4 kB / 1.253 GB, free: 292 kB / 0.9669 GB Notification: Performance of matching and sorting (n=135) (initialization_lambda0): time 0.002419/1.047, allocations: 1.097 MB / 1.255 GB, free: 15.17 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 7.384e-05/1.047, allocations: 69.95 kB / 1.255 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.354e-05/1.047, allocations: 8 kB / 1.255 GB, free: 15.08 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.763e-05/1.047, allocations: 16 kB / 1.255 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007483/1.048, allocations: 175.7 kB / 1.255 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.431e-05/1.048, allocations: 15.94 kB / 1.255 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009738/1.049, allocations: 155.1 kB / 1.255 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.521e-05/1.049, allocations: 47.98 kB / 1.255 GB, free: 14.68 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 56 (booPul.y,$PRE.booPul.y,$whenCondition13,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,terFan.y,$PRE.terFan.y,damValFan1.tim.entryTime,$PRE.damValFan1.tim.entryTime,$whenCondition9,$whenCondition8,$whenCondition7,damValFan1.conInt2.y,damValFan1.conInt1.y,damValFan1.conInt.y,damValFan1.occ.y,damValFan1.unOcc.y,reaToInt1.y,reaToInt2.y,damValFan1.or2.y,damValFan1.or1.y,damValFan1.forMinFlo.y,damValFan1.forCooMax.y,damValFan1.forZerFlo.y,damValFan1.falEdg.not_u,$PRE.damValFan1.falEdg.not_u,damValFan1.falEdg.y,damValFan1.lat1.y,damValFan1.and2.y,damValFan1.tim.passed,$PRE.damValFan1.tim.passed,damValFan1.edg.y,damValFan1.edg.u,$PRE.damValFan1.edg.u,damValFan1.isOcc.y,damValFan1.or5.y,damValFan1.cloDam.lesHys.y,$PRE.damValFan1.cloDam.lesHys.y,damValFan1.lat.y,damValFan1.isUno.y,damValFan1.greThr2.greHys.y,$PRE.damValFan1.greThr2.greHys.y,damValFan1.greThr.greHys.y,$PRE.damValFan1.greThr.greHys.y,damValFan1.greThr1.greHys.y,$PRE.damValFan1.greThr1.greHys.y,damValFan1.and4.y,$whenCondition5,$whenCondition6,$whenCondition10,$whenCondition11,$whenCondition12,damValFan1.conDam.cheYMinMax.y,damValFan1.conVal.cheYMinMax.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (131): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 2 * 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.0003748/1.049, allocations: 265.7 kB / 1.255 GB, free: 14.41 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002343/1.05, allocations: 90.88 kB / 1.255 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002192/1.052, allocations: 0.8862 MB / 1.256 GB, free: 13.43 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.293e-05/1.052, allocations: 4.078 kB / 1.256 GB, free: 13.42 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.241e-06/1.052, allocations: 7.984 kB / 1.256 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002332/1.052, allocations: 171.7 kB / 1.256 GB, free: 13.23 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001579/1.052, allocations: 24 kB / 1.256 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000492/1.053, allocations: 51.94 kB / 1.256 GB, free: 13.15 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002488/1.053, allocations: 116.8 kB / 1.257 GB, free: 13.04 MB / 0.9825 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002376/1.055, allocations: 0.931 MB / 1.257 GB, free: 12.1 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002892/1.058, allocations: 1.422 MB / 1.259 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008629/1.059, allocations: 419.8 kB / 1.259 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0007383/1.06, allocations: 435 kB / 1.26 GB, free: 9.836 MB / 0.9825 GB Notification: Performance of Backend: time 8.42e-07/1.06, allocations: 0 / 1.26 GB, free: 9.836 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.00345/1.063, allocations: 1.447 MB / 1.261 GB, free: 8.336 MB / 0.9825 GB Notification: Performance of SimCode: time 0.003453/1.067, allocations: 2.074 MB / 1.263 GB, free: 6.211 MB / 0.9825 GB Notification: Performance of Templates: time 0.03098/1.098, allocations: 15.91 MB / 1.279 GB, free: 6.441 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.DamperValves.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.DamperValves.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.DamperValves.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.DamperValves.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.DamperValves.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.DamperValves -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.DamperValves.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.DamperValves_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_SeriesFanCVF_Subsequences_Validation_DamperValves.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.DamperValves.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches