Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.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.ParallelFanCVF.Subsequences.Validation.DamperValves,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|damValFan1.VPri_flow|damValFan1.VActCooMax_flow|damValFan1.VActMin_flow|damValFan1.VOAMin_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.ParallelFanCVF.Subsequences.Validation.DamperValves") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.DamperValves,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|damValFan1.VPri_flow|damValFan1.VActCooMax_flow|damValFan1.VActMin_flow|damValFan1.VOAMin_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.ParallelFanCVF.Subsequences.Validation.DamperValves") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001631/0.001631, allocations: 119.5 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.001716/0.001716, 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.49/1.49, allocations: 222.9 MB / 241.1 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.595/2.595, allocations: 461.9 MB / 0.7355 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001318/0.001318, allocations: 63.91 kB / 1.055 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9202/0.9215, allocations: 157.4 MB / 1.208 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.DamperValves): time 0.006846/0.9284, allocations: 4.002 MB / 1.212 GB, free: 9.621 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.00503/0.9335, allocations: 2.487 MB / 1.215 GB, free: 7.117 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00154/0.935, allocations: 23.94 kB / 1.215 GB, free: 7.094 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0008184/0.9359, allocations: 181.9 kB / 1.215 GB, free: 6.914 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.00113/0.9371, allocations: 178.2 kB / 1.215 GB, free: 6.738 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.002321/0.9394, allocations: 0.7283 MB / 1.216 GB, free: 6.016 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.002414/0.9419, allocations: 1.646 MB / 1.217 GB, free: 4.367 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001774/0.9436, allocations: 0.8059 MB / 1.218 GB, free: 3.527 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001173/0.9448, allocations: 0.5955 MB / 1.219 GB, free: 2.93 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001111/0.9459, allocations: 0.6454 MB / 1.219 GB, free: 2.281 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0005381/0.9465, allocations: 180 kB / 1.22 GB, free: 2.105 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004468/0.947, allocations: 192 kB / 1.22 GB, free: 1.918 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0002942/0.9473, allocations: 339 kB / 1.22 GB, free: 1.586 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0007758/0.948, allocations: 0.6802 MB / 1.221 GB, free: 0.9023 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.002332/0.9504, allocations: 2.154 MB / 1.223 GB, free: 14.75 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.9504, allocations: 0 / 1.223 GB, free: 14.75 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.715e-06/0.9504, allocations: 0 / 1.223 GB, free: 14.75 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 2.8e-05/0.9505, allocations: 0 / 1.223 GB, free: 14.75 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: 274 * Number of variables: 274 Notification: Performance of Generate backend data structure: time 0.003356/0.9538, allocations: 1.647 MB / 1.225 GB, free: 13.03 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.275e-05/0.9539, allocations: 8.031 kB / 1.225 GB, free: 13.02 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002461/0.9541, allocations: 147.2 kB / 1.225 GB, free: 12.88 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002035/0.9562, allocations: 0.9385 MB / 1.226 GB, free: 11.89 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.175e-05/0.9563, allocations: 90.53 kB / 1.226 GB, free: 11.8 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001723/0.9565, allocations: 124.4 kB / 1.226 GB, free: 11.68 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002149/0.9586, allocations: 1.083 MB / 1.227 GB, free: 10.55 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.325e-05/0.9587, allocations: 3.938 kB / 1.227 GB, free: 10.55 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001146/0.9588, allocations: 51.98 kB / 1.227 GB, free: 10.5 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.167e-05/0.9588, allocations: 24 kB / 1.227 GB, free: 10.47 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00186/0.9607, allocations: 0.7969 MB / 1.228 GB, free: 9.668 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00522/0.9659, allocations: 3.196 MB / 1.231 GB, free: 6.383 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001879/0.9678, allocations: 0.9746 MB / 1.232 GB, free: 5.355 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008539/0.9687, allocations: 404 kB / 1.232 GB, free: 4.957 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 4.7e-05/0.9687, allocations: 12.72 kB / 1.232 GB, free: 4.945 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001079/0.9698, allocations: 0.5324 MB / 1.233 GB, free: 4.398 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=91): time 2.895e-06/0.9698, allocations: 0 / 1.233 GB, free: 4.398 MB / 0.9512 GB Notification: Performance of matching and sorting (n=91): time 0.002759/0.9726, allocations: 1.112 MB / 1.234 GB, free: 3.277 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.618e-05/0.9727, allocations: 90.11 kB / 1.234 GB, free: 3.172 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008851/0.9736, allocations: 0.676 MB / 1.235 GB, free: 2.484 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001143/0.9737, allocations: 61.69 kB / 1.235 GB, free: 2.418 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004335/0.9741, allocations: 0.5113 MB / 1.235 GB, free: 1.898 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002103/0.9744, allocations: 268.3 kB / 1.235 GB, free: 1.633 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003268/0.9747, allocations: 230.8 kB / 1.236 GB, free: 1.398 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001819/0.9749, allocations: 410.6 kB / 1.236 GB, free: 0.9883 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008238/0.9757, allocations: 341.9 kB / 1.236 GB, free: 0.6523 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009925/0.9767, allocations: 0.6097 MB / 1.237 GB, free: 15.93 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001707/0.9784, allocations: 0.931 MB / 1.238 GB, free: 14.87 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.144e-06/0.9784, allocations: 7.938 kB / 1.238 GB, free: 14.86 MB / 0.9669 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002332/0.9808, allocations: 1.136 MB / 1.239 GB, free: 13.7 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 5.464e-05/0.9809, allocations: 63.41 kB / 1.239 GB, free: 13.63 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.436e-05/0.9809, allocations: 8 kB / 1.239 GB, free: 13.62 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.453e-05/0.9809, allocations: 12 kB / 1.239 GB, free: 13.61 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007613/0.9817, allocations: 191.8 kB / 1.239 GB, free: 13.42 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.376e-05/0.9817, allocations: 19.94 kB / 1.239 GB, free: 13.4 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009144/0.9826, allocations: 166.9 kB / 1.239 GB, free: 13.24 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.667e-05/0.9827, allocations: 59.98 kB / 1.239 GB, free: 13.18 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001094/0.9838, allocations: 0.5142 MB / 1.24 GB, free: 12.66 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009313/0.9848, allocations: 0.5941 MB / 1.241 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001591/0.9864, allocations: 0.9113 MB / 1.241 GB, free: 10.91 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.889e-06/0.9864, allocations: 0 / 1.241 GB, free: 10.91 MB / 0.9669 GB Notification: Performance of matching and sorting (n=135) (initialization_lambda0): time 0.002209/0.9886, allocations: 1.113 MB / 1.242 GB, free: 9.785 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 4.885e-05/0.9887, allocations: 67.5 kB / 1.243 GB, free: 9.707 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/0.9887, allocations: 8 kB / 1.243 GB, free: 9.699 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.9887, allocations: 15.98 kB / 1.243 GB, free: 9.684 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007078/0.9894, allocations: 179.7 kB / 1.243 GB, free: 9.508 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.793e-05/0.9894, allocations: 19.92 kB / 1.243 GB, free: 9.488 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008721/0.9903, allocations: 155.2 kB / 1.243 GB, free: 9.336 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.094e-05/0.9904, allocations: 47.98 kB / 1.243 GB, free: 9.289 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 56 ($PRE.damValFan1.truDel7.u,$PRE.damValFan1.truDel1.u,booPul.y,$PRE.booPul.y,$whenCondition14,$PRE.damValFan1.truDel7.t_next,$whenCondition10,$PRE.damValFan1.truDel1.t_next,$whenCondition5,$whenCondition3,$whenCondition4,damValFan1.truDel7.t_next,damValFan1.truDel1.t_next,cooAhu.y,$PRE.cooAhu.y,$whenCondition1,$whenCondition2,damValFan1.conInt2.y,damValFan1.conInt1.y,damValFan1.conInt.y,damValFan1.con1.y,damValFan1.con.y,damValFan1.unOcc.y,reaToInt1.y,reaToInt2.y,damValFan1.or2.y,damValFan1.or3.y,damValFan1.forMinFlo.y,damValFan1.forCooMax.y,damValFan1.forZerFlo.y,damValFan1.logSwi.y,damValFan1.truDel1.y,damValFan1.truDel1.u,damValFan1.lat.y,damValFan1.truDel7.y,damValFan1.truDel7.u,damValFan1.les.lesHys.y,$PRE.damValFan1.les.lesHys.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,damValFan1.y1Fan,$whenCondition7,$whenCondition6,$whenCondition8,$whenCondition9,$whenCondition12,$whenCondition11,$whenCondition13,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.0003387/0.9907, allocations: 281.2 kB / 1.243 GB, free: 9.008 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001443/0.9909, allocations: 94.86 kB / 1.243 GB, free: 8.914 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001951/0.9929, allocations: 0.8667 MB / 1.244 GB, free: 8.027 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.23e-05/0.9929, allocations: 7.984 kB / 1.244 GB, free: 8.02 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.05e-06/0.9929, allocations: 3.984 kB / 1.244 GB, free: 8.016 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001701/0.9931, allocations: 171.7 kB / 1.244 GB, free: 7.828 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001162/0.9932, allocations: 31.98 kB / 1.244 GB, free: 7.797 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004695/0.9937, allocations: 51.94 kB / 1.244 GB, free: 7.746 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00021/0.9939, allocations: 104.9 kB / 1.245 GB, free: 7.645 MB / 0.9669 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002264/0.9962, allocations: 1.051 MB / 1.246 GB, free: 6.586 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002787/0.999, allocations: 1.516 MB / 1.247 GB, free: 5.051 MB / 0.9669 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008318/0.9998, allocations: 427.8 kB / 1.247 GB, free: 4.637 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.000541/1, allocations: 435 kB / 1.248 GB, free: 4.219 MB / 0.9669 GB Notification: Performance of Backend: time 5.11e-07/1, allocations: 0 / 1.248 GB, free: 4.219 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.003224/1.004, allocations: 1.448 MB / 1.249 GB, free: 2.723 MB / 0.9669 GB Notification: Performance of SimCode: time 0.003369/1.007, allocations: 2.06 MB / 1.251 GB, free: 0.6133 MB / 0.9669 GB Notification: Performance of Templates: time 0.03201/1.039, allocations: 15.79 MB / 1.267 GB, free: 0.957 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.DamperValves.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.DamperValves.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.DamperValves.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.DamperValves.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.DamperValves.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.DamperValves -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.DamperValves.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.DamperValves_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_ParallelFanCVF_Subsequences_Validation_DamperValves.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanCVF.Subsequences.Validation.DamperValves.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches