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.001509/0.001509, allocations: 112.7 kB / 16.42 MB, free: 6.512 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.001642/0.001642, allocations: 190.7 kB / 17.35 MB, free: 5.738 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.412/1.412, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.565/2.565, allocations: 461.9 MB / 0.7355 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001604/0.001604, allocations: 67.91 kB / 1.055 GB, free: 7.648 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.062/1.063, allocations: 157.4 MB / 1.208 GB, free: 13.72 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.DamperValves): time 0.006888/1.07, allocations: 4.001 MB / 1.212 GB, free: 9.719 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.005733/1.076, allocations: 2.464 MB / 1.215 GB, free: 7.238 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001187/1.077, allocations: 27.88 kB / 1.215 GB, free: 7.211 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0007348/1.078, allocations: 181.9 kB / 1.215 GB, free: 7.031 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0005048/1.079, allocations: 182.1 kB / 1.215 GB, free: 6.852 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001905/1.08, allocations: 0.7207 MB / 1.216 GB, free: 6.137 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.00207/1.083, allocations: 1.634 MB / 1.217 GB, free: 4.496 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001162/1.084, allocations: 0.8099 MB / 1.218 GB, free: 3.652 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000821/1.085, allocations: 0.5994 MB / 1.219 GB, free: 3.051 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000724/1.085, allocations: 0.6375 MB / 1.219 GB, free: 2.41 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0003459/1.086, allocations: 176 kB / 1.22 GB, free: 2.238 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000282/1.086, allocations: 192 kB / 1.22 GB, free: 2.051 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0002821/1.086, allocations: 339 kB / 1.22 GB, free: 1.719 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0007018/1.087, allocations: 0.6724 MB / 1.221 GB, free: 1.043 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.002258/1.089, allocations: 2.15 MB / 1.223 GB, free: 14.89 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/1.089, allocations: 4 kB / 1.223 GB, free: 14.88 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.674e-06/1.089, allocations: 0 / 1.223 GB, free: 14.88 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.89e-05/1.089, allocations: 0 / 1.223 GB, free: 14.88 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.003434/1.093, allocations: 1.643 MB / 1.224 GB, free: 13.17 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.723e-05/1.093, allocations: 12.03 kB / 1.225 GB, free: 13.16 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002714/1.093, allocations: 151.2 kB / 1.225 GB, free: 13.01 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00212/1.095, allocations: 0.9346 MB / 1.226 GB, free: 12.03 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.908e-05/1.095, allocations: 98.56 kB / 1.226 GB, free: 11.93 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001812/1.095, allocations: 120.4 kB / 1.226 GB, free: 11.82 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002254/1.098, allocations: 1.087 MB / 1.227 GB, free: 10.69 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.355e-05/1.098, allocations: 7.875 kB / 1.227 GB, free: 10.68 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001007/1.098, allocations: 51.98 kB / 1.227 GB, free: 10.63 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.252e-05/1.098, allocations: 28 kB / 1.227 GB, free: 10.6 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001956/1.1, allocations: 0.8049 MB / 1.228 GB, free: 9.789 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005334/1.105, allocations: 3.088 MB / 1.231 GB, free: 6.617 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001823/1.107, allocations: 0.9853 MB / 1.232 GB, free: 5.59 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008192/1.108, allocations: 387.6 kB / 1.232 GB, free: 5.207 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 6.381e-05/1.108, allocations: 25.05 kB / 1.232 GB, free: 5.184 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001099/1.109, allocations: 496.9 kB / 1.233 GB, free: 4.688 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=96): time 3.787e-06/1.109, allocations: 0 / 1.233 GB, free: 4.688 MB / 0.9512 GB Notification: Performance of matching and sorting (n=96): time 0.002829/1.112, allocations: 1.085 MB / 1.234 GB, free: 3.594 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.002e-05/1.112, allocations: 64.41 kB / 1.234 GB, free: 3.52 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009349/1.113, allocations: 0.6841 MB / 1.234 GB, free: 2.824 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001286/1.113, allocations: 57.69 kB / 1.234 GB, free: 2.762 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.00052/1.114, allocations: 0.5152 MB / 1.235 GB, free: 2.238 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002591/1.114, allocations: 280.2 kB / 1.235 GB, free: 1.961 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003674/1.114, allocations: 230.8 kB / 1.235 GB, free: 1.73 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0002169/1.114, allocations: 402.7 kB / 1.236 GB, free: 1.328 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00089/1.115, allocations: 353.9 kB / 1.236 GB, free: 0.9805 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001045/1.116, allocations: 0.5699 MB / 1.237 GB, free: 324 kB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00183/1.118, allocations: 0.8739 MB / 1.238 GB, free: 15.34 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.228e-06/1.118, allocations: 4 kB / 1.238 GB, free: 15.34 MB / 0.9669 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002486/1.121, allocations: 1.117 MB / 1.239 GB, free: 14.2 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001119/1.121, allocations: 71.39 kB / 1.239 GB, free: 14.12 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.853e-05/1.121, allocations: 8 kB / 1.239 GB, free: 14.11 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.306e-05/1.121, allocations: 12 kB / 1.239 GB, free: 14.1 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007584/1.122, allocations: 183.7 kB / 1.239 GB, free: 13.92 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.341e-05/1.122, allocations: 19.94 kB / 1.239 GB, free: 13.9 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008906/1.123, allocations: 159 kB / 1.239 GB, free: 13.75 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.693e-05/1.123, allocations: 47.98 kB / 1.239 GB, free: 13.7 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00119/1.124, allocations: 0.5338 MB / 1.24 GB, free: 13.16 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009778/1.125, allocations: 0.5621 MB / 1.24 GB, free: 12.51 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001583/1.127, allocations: 0.8544 MB / 1.241 GB, free: 11.56 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.324e-06/1.127, allocations: 4 kB / 1.241 GB, free: 11.55 MB / 0.9669 GB Notification: Performance of matching and sorting (n=135) (initialization_lambda0): time 0.002206/1.129, allocations: 1.105 MB / 1.242 GB, free: 10.43 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 5.176e-05/1.129, allocations: 63.41 kB / 1.242 GB, free: 10.36 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.104e-05/1.129, allocations: 8 kB / 1.242 GB, free: 10.35 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.779e-05/1.129, allocations: 11.94 kB / 1.242 GB, free: 10.34 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007026/1.13, allocations: 179.6 kB / 1.242 GB, free: 10.16 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.97e-05/1.13, allocations: 19.92 kB / 1.242 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008194/1.13, allocations: 151.2 kB / 1.242 GB, free: 9.996 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.136e-05/1.131, allocations: 51.98 kB / 1.243 GB, free: 9.945 MB / 0.9669 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.0003591/1.131, allocations: 265.3 kB / 1.243 GB, free: 9.68 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000151/1.131, allocations: 90.81 kB / 1.243 GB, free: 9.59 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002101/1.133, allocations: 0.8825 MB / 1.244 GB, free: 8.695 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.461e-05/1.133, allocations: 11.97 kB / 1.244 GB, free: 8.684 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/1.133, allocations: 0 / 1.244 GB, free: 8.684 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001638/1.133, allocations: 171.7 kB / 1.244 GB, free: 8.496 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001341/1.133, allocations: 24 kB / 1.244 GB, free: 8.473 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004574/1.134, allocations: 51.94 kB / 1.244 GB, free: 8.422 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002335/1.134, allocations: 112.8 kB / 1.244 GB, free: 8.312 MB / 0.9669 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002249/1.136, allocations: 0.9349 MB / 1.245 GB, free: 7.371 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002802/1.139, allocations: 1.426 MB / 1.246 GB, free: 5.93 MB / 0.9669 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007993/1.14, allocations: 411.8 kB / 1.247 GB, free: 5.527 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0005931/1.141, allocations: 439 kB / 1.247 GB, free: 5.102 MB / 0.9669 GB Notification: Performance of Backend: time 7.01e-07/1.141, allocations: 0 / 1.247 GB, free: 5.102 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.00335/1.144, allocations: 1.456 MB / 1.249 GB, free: 3.594 MB / 0.9669 GB Notification: Performance of SimCode: time 0.003209/1.147, allocations: 2.071 MB / 1.251 GB, free: 1.477 MB / 0.9669 GB Notification: Performance of Templates: time 0.02772/1.175, allocations: 15.92 MB / 1.266 GB, free: 1.707 MB / 0.9825 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