Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.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.ParallelFanVVF.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.ParallelFanVVF.Subsequences.Validation.DamperValves") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.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.ParallelFanVVF.Subsequences.Validation.DamperValves") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002096/0.002096, allocations: 108.9 kB / 16.42 MB, free: 6.449 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.00201/0.00201, allocations: 185.7 kB / 17.35 MB, free: 5.734 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.384/1.384, allocations: 222.9 MB / 241.1 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.54/2.54, allocations: 461.9 MB / 0.7355 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001301, allocations: 64.14 kB / 1.055 GB, free: 7.625 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8019/0.8033, allocations: 157.4 MB / 1.208 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.DamperValves): time 0.006041/0.8093, allocations: 4.519 MB / 1.213 GB, free: 9.082 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.004252/0.8136, allocations: 2.557 MB / 1.215 GB, free: 6.508 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00107/0.8147, allocations: 31.88 kB / 1.215 GB, free: 6.477 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0007151/0.8154, allocations: 213.5 kB / 1.216 GB, free: 6.266 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0008357/0.8163, allocations: 190.1 kB / 1.216 GB, free: 6.078 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001726/0.8181, allocations: 0.7129 MB / 1.217 GB, free: 5.367 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.002107/0.8202, allocations: 1.775 MB / 1.218 GB, free: 3.586 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001653/0.8218, allocations: 0.9724 MB / 1.219 GB, free: 2.566 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008992/0.8228, allocations: 0.6421 MB / 1.22 GB, free: 1.922 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008433/0.8236, allocations: 0.6958 MB / 1.22 GB, free: 1.223 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0003433/0.824, allocations: 200 kB / 1.221 GB, free: 1.027 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003483/0.8243, allocations: 208 kB / 1.221 GB, free: 0.8242 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0003167/0.8246, allocations: 386.8 kB / 1.221 GB, free: 456 kB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.000745/0.8254, allocations: 0.7423 MB / 1.222 GB, free: 15.7 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.002439/0.8278, allocations: 2.434 MB / 1.224 GB, free: 13.26 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.8279, allocations: 0 / 1.224 GB, free: 13.26 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.023e-06/0.8279, allocations: 0 / 1.224 GB, free: 13.26 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.958e-05/0.8279, allocations: 0 / 1.224 GB, free: 13.26 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: 332 * Number of variables: 332 Notification: Performance of Generate backend data structure: time 0.004028/0.832, allocations: 1.766 MB / 1.226 GB, free: 11.43 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/0.832, allocations: 8.031 kB / 1.226 GB, free: 11.43 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003601/0.8324, allocations: 171 kB / 1.226 GB, free: 11.26 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002116/0.8345, allocations: 1.013 MB / 1.227 GB, free: 10.2 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001179/0.8347, allocations: 114.9 kB / 1.227 GB, free: 10.09 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002086/0.8349, allocations: 136.4 kB / 1.227 GB, free: 9.953 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002355/0.8372, allocations: 1.254 MB / 1.229 GB, free: 8.664 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.472e-05/0.8373, allocations: 7.922 kB / 1.229 GB, free: 8.656 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001011/0.8374, allocations: 56 kB / 1.229 GB, free: 8.602 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.779e-05/0.8374, allocations: 32 kB / 1.229 GB, free: 8.57 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001992/0.8394, allocations: 0.9392 MB / 1.23 GB, free: 7.625 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005292/0.8447, allocations: 3.568 MB / 1.233 GB, free: 3.969 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001743/0.8465, allocations: 1.003 MB / 1.234 GB, free: 2.922 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008306/0.8473, allocations: 410.2 kB / 1.235 GB, free: 2.52 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 5.389e-05/0.8474, allocations: 12.98 kB / 1.235 GB, free: 2.508 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009651/0.8483, allocations: 481 kB / 1.235 GB, free: 2.02 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=96): time 2.855e-06/0.8484, allocations: 0 / 1.235 GB, free: 2.02 MB / 0.9512 GB Notification: Performance of matching and sorting (n=96): time 0.002442/0.8508, allocations: 1.065 MB / 1.236 GB, free: 0.9531 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.14e-05/0.8509, allocations: 60.41 kB / 1.236 GB, free: 0.8828 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000855/0.8517, allocations: 0.7322 MB / 1.237 GB, free: 140 kB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001174/0.8519, allocations: 57.69 kB / 1.237 GB, free: 76 kB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005124/0.8524, allocations: 0.5967 MB / 1.237 GB, free: 15.47 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002248/0.8526, allocations: 299.8 kB / 1.238 GB, free: 15.17 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003093/0.8529, allocations: 226.8 kB / 1.238 GB, free: 14.94 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001302/0.8531, allocations: 341.9 kB / 1.238 GB, free: 14.6 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008061/0.8539, allocations: 349.9 kB / 1.239 GB, free: 14.26 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001091/0.855, allocations: 0.5897 MB / 1.239 GB, free: 13.56 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001594/0.8566, allocations: 0.9028 MB / 1.24 GB, free: 12.55 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.352e-06/0.8566, allocations: 4 kB / 1.24 GB, free: 12.55 MB / 0.9669 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.002204/0.8588, allocations: 1.091 MB / 1.241 GB, free: 11.44 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 4.639e-05/0.8589, allocations: 42.25 kB / 1.241 GB, free: 11.39 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.33e-05/0.8589, allocations: 8 kB / 1.241 GB, free: 11.39 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.365e-05/0.8589, allocations: 16 kB / 1.241 GB, free: 11.37 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007933/0.8597, allocations: 211.6 kB / 1.241 GB, free: 11.16 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.254e-05/0.8597, allocations: 19.94 kB / 1.241 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008056/0.8606, allocations: 147 kB / 1.242 GB, free: 11 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.288e-05/0.8606, allocations: 47.98 kB / 1.242 GB, free: 10.95 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001158/0.8618, allocations: 0.5377 MB / 1.242 GB, free: 10.41 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009349/0.8628, allocations: 0.5858 MB / 1.243 GB, free: 9.727 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001543/0.8643, allocations: 0.8717 MB / 1.244 GB, free: 8.754 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.619e-06/0.8643, allocations: 4 kB / 1.244 GB, free: 8.75 MB / 0.9669 GB Notification: Performance of matching and sorting (n=138) (initialization_lambda0): time 0.002003/0.8663, allocations: 1.08 MB / 1.245 GB, free: 7.652 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.339e-05/0.8664, allocations: 37.7 kB / 1.245 GB, free: 7.609 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.418e-06/0.8664, allocations: 8 kB / 1.245 GB, free: 7.602 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.8664, allocations: 12 kB / 1.245 GB, free: 7.59 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007517/0.8672, allocations: 199.6 kB / 1.245 GB, free: 7.395 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.822e-05/0.8672, allocations: 23.86 kB / 1.245 GB, free: 7.371 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007292/0.8679, allocations: 135.2 kB / 1.245 GB, free: 7.238 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.394e-05/0.868, allocations: 47.98 kB / 1.245 GB, free: 7.191 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 42 (booPul.y,$PRE.booPul.y,$whenCondition5,$whenCondition1,$whenCondition2,damValFan1.conInt2.y,damValFan1.conInt1.y,damValFan1.conInt.y,damValFan1.uno.y,damValFan1.occ.y,reaToInt1.y,reaToInt2.y,damValFan1.or2.y,damValFan1.or3.y,damValFan1.forMinFlo.y,damValFan1.forCooMax.y,damValFan1.forZerFlo.y,damValFan1.greThr3.greHys.y,$PRE.damValFan1.greThr3.greHys.y,damValFan1.isUno.y,damValFan1.gre2.greHys.y,$PRE.damValFan1.gre2.greHys.y,damValFan1.not1.y,damValFan1.gre1.greHys.y,$PRE.damValFan1.gre1.greHys.y,damValFan1.and1.y,damValFan1.isOcc.y,damValFan1.lat.y,damValFan1.gre.greHys.y,$PRE.damValFan1.gre.greHys.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,$whenCondition3,$whenCondition4,$whenCondition6,damValFan1.conVal.cheYMinMax.y,damValFan1.conDam.cheYMinMax.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.0002836/0.8683, allocations: 268 kB / 1.245 GB, free: 6.926 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001284/0.8684, allocations: 98.77 kB / 1.245 GB, free: 6.828 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001969/0.8704, allocations: 0.8675 MB / 1.246 GB, free: 5.945 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.264e-05/0.8704, allocations: 11.92 kB / 1.246 GB, free: 5.934 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.8705, allocations: 0 / 1.246 GB, free: 5.934 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001548/0.8706, allocations: 179.7 kB / 1.246 GB, free: 5.738 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000119/0.8707, allocations: 28 kB / 1.246 GB, free: 5.711 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004716/0.8712, allocations: 51.94 kB / 1.247 GB, free: 5.66 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002364/0.8715, allocations: 124.8 kB / 1.247 GB, free: 5.539 MB / 0.9669 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002131/0.8736, allocations: 0.9192 MB / 1.248 GB, free: 4.613 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002606/0.8762, allocations: 1.414 MB / 1.249 GB, free: 3.184 MB / 0.9669 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007695/0.877, allocations: 415.8 kB / 1.249 GB, free: 2.777 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.000586/0.8776, allocations: 475 kB / 1.25 GB, free: 2.316 MB / 0.9669 GB Notification: Performance of Backend: time 2.444e-06/0.8776, allocations: 0 / 1.25 GB, free: 2.316 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.00288/0.8805, allocations: 1.33 MB / 1.251 GB, free: 0.9609 MB / 0.9669 GB Notification: Performance of SimCode: time 0.003068/0.8836, allocations: 2.241 MB / 1.253 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of Templates: time 0.03289/0.9165, allocations: 16.11 MB / 1.269 GB, free: 14.71 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.DamperValves.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.DamperValves.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.DamperValves.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.DamperValves.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.DamperValves.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.DamperValves -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.DamperValves.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.DamperValves_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_ParallelFanVVF_Subsequences_Validation_DamperValves.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.ParallelFanVVF.Subsequences.Validation.DamperValves.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches