Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Dampers.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.DualDuctColdDuctMin.Subsequences.Validation.Dampers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dam.VActMin_flow|dam.VActCooMax_flow|dam.VActHeaMax_flow|dam.TZon|dam.TColSup|dam.THotSup|dam.uCoo|dam.uHea|dam.VColDucDis_flow_Set|dam.VHotDucDis_flow_Set|dam.VDis_flow_Set|dam.yCooDam|dam.yHeaDam|dam1.VActMin_flow|dam1.VActCooMax_flow|dam1.VActHeaMax_flow|dam1.TZon|dam1.TColSup|dam1.THotSup|dam1.uCoo|dam1.uHea|dam1.VColDucDis_flow_Set|dam1.VHotDucDis_flow_Set|dam1.VDis_flow_Set|dam1.yCooDam|dam1.yHeaDam",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Dampers") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Dampers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dam.VActMin_flow|dam.VActCooMax_flow|dam.VActHeaMax_flow|dam.TZon|dam.TColSup|dam.THotSup|dam.uCoo|dam.uHea|dam.VColDucDis_flow_Set|dam.VHotDucDis_flow_Set|dam.VDis_flow_Set|dam.yCooDam|dam.yHeaDam|dam1.VActMin_flow|dam1.VActCooMax_flow|dam1.VActHeaMax_flow|dam1.TZon|dam1.TColSup|dam1.THotSup|dam1.uCoo|dam1.uHea|dam1.VColDucDis_flow_Set|dam1.VHotDucDis_flow_Set|dam1.VDis_flow_Set|dam1.yCooDam|dam1.yHeaDam",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Dampers") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001231/0.001231, allocations: 109.6 kB / 16.41 MB, free: 6.441 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.001247, allocations: 190.7 kB / 17.35 MB, free: 5.715 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.366/1.366, allocations: 222.9 MB / 241.1 MB, free: 15.08 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.312/2.312, allocations: 390.3 MB / 0.6655 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00158/0.00158, allocations: 59.91 kB / 0.9516 GB, free: 7.59 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8325/0.8341, allocations: 140.4 MB / 1.089 GB, free: 5.496 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Dampers): time 0.006897/0.841, allocations: 5.877 MB / 1.094 GB, free: 1.148 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.008835/0.8499, allocations: 3.09 MB / 1.097 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002356/0.8523, allocations: 41.81 kB / 1.097 GB, free: 14.79 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0007802/0.8531, allocations: 244.2 kB / 1.098 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.0009097/0.8541, allocations: 211.6 kB / 1.098 GB, free: 14.44 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.002154/0.8562, allocations: 0.83 MB / 1.099 GB, free: 13.92 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.002602/0.8588, allocations: 1.919 MB / 1.101 GB, free: 12.91 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001624/0.8605, allocations: 1.073 MB / 1.102 GB, free: 12.3 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001005/0.8615, allocations: 0.685 MB / 1.102 GB, free: 11.9 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007895/0.8623, allocations: 0.7077 MB / 1.103 GB, free: 11.48 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0002985/0.8626, allocations: 207.7 kB / 1.103 GB, free: 11.47 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003337/0.8629, allocations: 222.3 kB / 1.103 GB, free: 11.46 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0003291/0.8633, allocations: 385.7 kB / 1.104 GB, free: 11.19 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0007146/0.864, allocations: 0.7802 MB / 1.105 GB, free: 10.61 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.003172/0.8672, allocations: 2.53 MB / 1.107 GB, free: 9.668 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.8672, allocations: 0 / 1.107 GB, free: 9.668 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.803e-06/0.8672, allocations: 0.5312 kB / 1.107 GB, free: 9.668 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 7.338e-05/0.8673, allocations: 0 / 1.107 GB, free: 9.668 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: 350 * Number of variables: 350 Notification: Performance of Generate backend data structure: time 0.003721/0.871, allocations: 1.806 MB / 1.109 GB, free: 8.488 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.8711, allocations: 8.219 kB / 1.109 GB, free: 8.488 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002995/0.8714, allocations: 175.5 kB / 1.109 GB, free: 8.402 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002086/0.8735, allocations: 1.035 MB / 1.11 GB, free: 7.781 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.913e-05/0.8736, allocations: 114.1 kB / 1.11 GB, free: 7.73 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001977/0.8738, allocations: 144.7 kB / 1.11 GB, free: 7.688 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002339/0.8761, allocations: 1.278 MB / 1.111 GB, free: 7.141 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.601e-05/0.8762, allocations: 5.062 kB / 1.111 GB, free: 7.137 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001089/0.8763, allocations: 60.47 kB / 1.112 GB, free: 7.09 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.303e-05/0.8763, allocations: 33.38 kB / 1.112 GB, free: 7.09 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00185/0.8782, allocations: 0.9167 MB / 1.112 GB, free: 6.75 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00619/0.8844, allocations: 3.861 MB / 1.116 GB, free: 4.547 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00147/0.8859, allocations: 0.7003 MB / 1.117 GB, free: 4.246 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006878/0.8866, allocations: 334.3 kB / 1.117 GB, free: 4.117 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 4.918e-05/0.8867, allocations: 13.23 kB / 1.117 GB, free: 4.113 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007497/0.8874, allocations: 363.6 kB / 1.118 GB, free: 3.953 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=78): time 3.286e-06/0.8874, allocations: 0 / 1.118 GB, free: 3.953 MB / 0.8731 GB Notification: Performance of matching and sorting (n=78): time 0.001821/0.8893, allocations: 0.8002 MB / 1.118 GB, free: 3.645 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.684e-05/0.8893, allocations: 64.03 kB / 1.118 GB, free: 3.578 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009443/0.8903, allocations: 0.743 MB / 1.119 GB, free: 3.246 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 9.764e-05/0.8904, allocations: 54.2 kB / 1.119 GB, free: 3.199 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.000466/0.8908, allocations: 0.6713 MB / 1.12 GB, free: 2.672 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001885/0.891, allocations: 245.7 kB / 1.12 GB, free: 2.48 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003539/0.8914, allocations: 233.8 kB / 1.12 GB, free: 2.371 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001299/0.8915, allocations: 352.7 kB / 1.121 GB, free: 2.043 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006634/0.8922, allocations: 309.9 kB / 1.121 GB, free: 1.93 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008469/0.8931, allocations: 0.6417 MB / 1.122 GB, free: 1.383 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001344/0.8944, allocations: 0.9359 MB / 1.122 GB, free: 0.6211 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.085e-06/0.8944, allocations: 3.406 kB / 1.122 GB, free: 0.6211 MB / 0.8731 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.002012/0.8964, allocations: 1.111 MB / 1.124 GB, free: 132 kB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 8.032e-05/0.8965, allocations: 72.08 kB / 1.124 GB, free: 64 kB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.014e-05/0.8966, allocations: 14.86 kB / 1.124 GB, free: 60 kB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.934e-05/0.8966, allocations: 17.38 kB / 1.124 GB, free: 60 kB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006782/0.8973, allocations: 196.9 kB / 1.124 GB, free: 32 kB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.698e-05/0.8973, allocations: 30.34 kB / 1.124 GB, free: 20 kB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008636/0.8982, allocations: 160 kB / 1.124 GB, free: 15.95 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.893e-05/0.8983, allocations: 60.19 kB / 1.124 GB, free: 15.94 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001032/0.8993, allocations: 0.5101 MB / 1.125 GB, free: 15.66 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008206/0.9002, allocations: 0.633 MB / 1.125 GB, free: 15.12 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001254/0.9014, allocations: 0.9167 MB / 1.126 GB, free: 14.36 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.191e-05/0.9015, allocations: 3.859 kB / 1.126 GB, free: 14.36 MB / 0.8887 GB Notification: Performance of matching and sorting (n=138) (initialization_lambda0): time 0.001874/0.9033, allocations: 1.092 MB / 1.127 GB, free: 13.87 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 5.49e-05/0.9034, allocations: 68.19 kB / 1.127 GB, free: 13.81 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.248e-05/0.9034, allocations: 10.75 kB / 1.127 GB, free: 13.81 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.9035, allocations: 20.34 kB / 1.127 GB, free: 13.8 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006136/0.9041, allocations: 189.3 kB / 1.127 GB, free: 13.78 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.633e-05/0.9041, allocations: 26.7 kB / 1.127 GB, free: 13.77 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007858/0.9049, allocations: 146.9 kB / 1.128 GB, free: 13.71 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.863e-05/0.905, allocations: 54.94 kB / 1.128 GB, free: 13.7 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 36 ($PRE.dam.greThr.greHys.y,$PRE.dam.greThr3.greHys.y,$PRE.dam1.greThr.greHys.y,$PRE.dam1.greThr3.greHys.y,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,dam1.greThr3.greHys.y,dam1.greThr.greHys.y,dam.greThr3.greHys.y,dam.greThr.greHys.y,heaAhu.y,$PRE.heaAhu.y,cooAhu.y,$PRE.cooAhu.y,dam1.or1.y,dam1.and1.y,dam1.greThr2.greHys.y,$PRE.dam1.greThr2.greHys.y,dam1.or2.y,dam1.greThr1.greHys.y,$PRE.dam1.greThr1.greHys.y,dam1.and4.y,dam.or1.y,dam.and1.y,dam.greThr2.greHys.y,$PRE.dam.greThr2.greHys.y,dam.or2.y,dam.greThr1.greHys.y,$PRE.dam.greThr1.greHys.y,dam.and4.y,$whenCondition5,$whenCondition6,dam1.conHeaDam.cheYMinMax.y,dam1.conCooDam.cheYMinMax.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (134): * Single equations (assignments): 132 * 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.0003494/0.9054, allocations: 274.4 kB / 1.128 GB, free: 13.46 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001385/0.9055, allocations: 94.59 kB / 1.128 GB, free: 13.41 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00153/0.907, allocations: 0.6642 MB / 1.129 GB, free: 13.12 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.238e-05/0.9071, allocations: 8.219 kB / 1.129 GB, free: 13.11 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.037e-06/0.9071, allocations: 5.562 kB / 1.129 GB, free: 13.11 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001709/0.9072, allocations: 169.8 kB / 1.129 GB, free: 12.95 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001041/0.9074, allocations: 21.91 kB / 1.129 GB, free: 12.93 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003364/0.9077, allocations: 29.56 kB / 1.129 GB, free: 12.93 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001986/0.9079, allocations: 89.78 kB / 1.129 GB, free: 12.91 MB / 0.8887 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001598/0.9095, allocations: 0.6939 MB / 1.13 GB, free: 12.59 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002051/0.9116, allocations: 1.105 MB / 1.131 GB, free: 12.02 MB / 0.8887 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006219/0.9122, allocations: 293.1 kB / 1.131 GB, free: 11.91 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0007869/0.913, allocations: 482 kB / 1.131 GB, free: 11.7 MB / 0.8887 GB Notification: Performance of Backend: time 4.4e-07/0.913, allocations: 0 / 1.131 GB, free: 11.7 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.003086/0.9161, allocations: 1.395 MB / 1.133 GB, free: 11 MB / 0.8887 GB Notification: Performance of SimCode: time 0.003819/0.9199, allocations: 2.287 MB / 1.135 GB, free: 9.559 MB / 0.8887 GB Notification: Performance of Templates: time 0.03376/0.9537, allocations: 13.89 MB / 1.149 GB, free: 5.594 MB / 0.8887 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Dampers.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Dampers.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Dampers.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Dampers.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Dampers.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Dampers -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Dampers.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Dampers_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctColdDuctMin_Subsequences_Validation_Dampers.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctColdDuctMin.Subsequences.Validation.Dampers.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches