Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.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.DualDuctMixConInletSensor.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.DualDuctMixConInletSensor.Subsequences.Validation.Dampers") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.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.DualDuctMixConInletSensor.Subsequences.Validation.Dampers") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001666/0.001666, allocations: 115.1 kB / 16.42 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.001805/0.001805, allocations: 183.9 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.417/1.417, 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 9.1.3-maint.9.1.x/package.mo): time 2.316/2.316, allocations: 390.2 MB / 0.6655 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001414/0.001414, allocations: 63.91 kB / 0.9516 GB, free: 7.621 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9169/0.9183, allocations: 140.4 MB / 1.089 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Dampers): time 0.006226/0.9246, allocations: 6.149 MB / 1.095 GB, free: 0.9453 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.005776/0.9304, allocations: 3.155 MB / 1.098 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001671/0.9321, allocations: 42.78 kB / 1.098 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0006399/0.9327, allocations: 251 kB / 1.098 GB, free: 14.35 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.0006241/0.9334, allocations: 220.1 kB / 1.098 GB, free: 14.17 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001975/0.9354, allocations: 0.8725 MB / 1.099 GB, free: 13.62 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.002369/0.9377, allocations: 2.024 MB / 1.101 GB, free: 12.56 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001641/0.9394, allocations: 1.153 MB / 1.102 GB, free: 11.91 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009481/0.9404, allocations: 0.7229 MB / 1.103 GB, free: 11.48 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007999/0.9412, allocations: 0.7586 MB / 1.104 GB, free: 11.02 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0003083/0.9415, allocations: 220.2 kB / 1.104 GB, free: 11.02 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003886/0.9419, allocations: 233.1 kB / 1.104 GB, free: 11.02 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0003617/0.9422, allocations: 412.3 kB / 1.104 GB, free: 10.72 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.000698/0.9429, allocations: 0.8329 MB / 1.105 GB, free: 10.11 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.003763/0.9467, allocations: 2.703 MB / 1.108 GB, free: 9.098 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.9467, allocations: 7.938 kB / 1.108 GB, free: 9.09 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.863e-06/0.9468, allocations: 3.938 kB / 1.108 GB, free: 9.086 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 7.98e-05/0.9468, allocations: 0.9062 kB / 1.108 GB, free: 9.086 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: 384 * Number of variables: 384 Notification: Performance of Generate backend data structure: time 0.003815/0.9507, allocations: 1.891 MB / 1.11 GB, free: 7.855 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.498e-05/0.9507, allocations: 9.75 kB / 1.11 GB, free: 7.855 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003304/0.951, allocations: 187 kB / 1.11 GB, free: 7.762 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002319/0.9534, allocations: 1.076 MB / 1.111 GB, free: 7.113 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001693/0.9536, allocations: 125 kB / 1.111 GB, free: 7.059 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003134/0.9539, allocations: 155.8 kB / 1.111 GB, free: 7.012 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003237/0.9571, allocations: 1.391 MB / 1.113 GB, free: 6.422 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.067e-05/0.9572, allocations: 3.938 kB / 1.113 GB, free: 6.418 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001247/0.9573, allocations: 61.89 kB / 1.113 GB, free: 6.371 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.691e-05/0.9573, allocations: 37.22 kB / 1.113 GB, free: 6.371 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002201/0.9596, allocations: 0.9959 MB / 1.114 GB, free: 6.008 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007129/0.9667, allocations: 4.139 MB / 1.118 GB, free: 3.672 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00147/0.9682, allocations: 0.7652 MB / 1.119 GB, free: 3.348 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006917/0.9689, allocations: 362.3 kB / 1.119 GB, free: 3.211 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 5.584e-05/0.969, allocations: 17.25 kB / 1.119 GB, free: 3.207 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007495/0.9697, allocations: 397.9 kB / 1.119 GB, free: 3.035 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=88): time 2.936e-06/0.9697, allocations: 0 / 1.119 GB, free: 3.035 MB / 0.8731 GB Notification: Performance of matching and sorting (n=88): time 0.001907/0.9716, allocations: 0.8957 MB / 1.12 GB, free: 2.68 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.033e-05/0.9717, allocations: 61.56 kB / 1.12 GB, free: 2.617 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009694/0.9727, allocations: 0.753 MB / 1.121 GB, free: 2.281 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 9.177e-05/0.9728, allocations: 57.23 kB / 1.121 GB, free: 2.23 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005063/0.9733, allocations: 0.6997 MB / 1.122 GB, free: 1.684 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002127/0.9735, allocations: 289.2 kB / 1.122 GB, free: 1.457 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003494/0.9739, allocations: 245.7 kB / 1.122 GB, free: 1.348 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001269/0.974, allocations: 355.5 kB / 1.123 GB, free: 1.02 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000765/0.9748, allocations: 330 kB / 1.123 GB, free: 0.8945 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009573/0.9757, allocations: 0.6695 MB / 1.123 GB, free: 340 kB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001542/0.9773, allocations: 0.979 MB / 1.124 GB, free: 15.55 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.805e-06/0.9773, allocations: 6.969 kB / 1.124 GB, free: 15.55 MB / 0.8887 GB Notification: Performance of matching and sorting (n=148) (initialization): time 0.0022/0.9795, allocations: 1.17 MB / 1.126 GB, free: 15.03 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 6.605e-05/0.9796, allocations: 71.53 kB / 1.126 GB, free: 14.96 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.852e-05/0.9796, allocations: 10.19 kB / 1.126 GB, free: 14.96 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.348e-05/0.9796, allocations: 17.64 kB / 1.126 GB, free: 14.96 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007623/0.9804, allocations: 215.9 kB / 1.126 GB, free: 14.93 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.22e-05/0.9805, allocations: 22.55 kB / 1.126 GB, free: 14.93 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008739/0.9813, allocations: 166.2 kB / 1.126 GB, free: 14.86 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001056/0.9815, allocations: 56.95 kB / 1.126 GB, free: 14.85 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001043/0.9825, allocations: 0.5388 MB / 1.127 GB, free: 14.56 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009978/0.9835, allocations: 0.6612 MB / 1.127 GB, free: 14.01 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001434/0.985, allocations: 0.9655 MB / 1.128 GB, free: 13.23 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.855e-06/0.985, allocations: 4.109 kB / 1.128 GB, free: 13.23 MB / 0.8887 GB Notification: Performance of matching and sorting (n=148) (initialization_lambda0): time 0.00219/0.9872, allocations: 1.151 MB / 1.129 GB, free: 12.71 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 6.147e-05/0.9873, allocations: 71.84 kB / 1.129 GB, free: 12.65 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.053e-05/0.9873, allocations: 14.78 kB / 1.129 GB, free: 12.64 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.332e-05/0.9873, allocations: 16.47 kB / 1.129 GB, free: 12.64 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007295/0.988, allocations: 211.5 kB / 1.13 GB, free: 12.61 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.938e-05/0.9881, allocations: 24.05 kB / 1.13 GB, free: 12.61 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008374/0.9889, allocations: 143.4 kB / 1.13 GB, free: 12.55 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.816e-05/0.989, allocations: 59.66 kB / 1.13 GB, free: 12.54 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.not1.y,dam1.greThr2.greHys.y,$PRE.dam1.greThr2.greHys.y,dam1.greThr1.greHys.y,$PRE.dam1.greThr1.greHys.y,dam1.and4.y,dam.or1.y,dam.and1.y,dam.not1.y,dam.greThr2.greHys.y,$PRE.dam.greThr2.greHys.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 (144): * Single equations (assignments): 142 * 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.0003969/0.9894, allocations: 283.3 kB / 1.13 GB, free: 12.29 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001518/0.9896, allocations: 96.27 kB / 1.13 GB, free: 12.24 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001656/0.9913, allocations: 0.7333 MB / 1.131 GB, free: 11.92 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.525e-05/0.9913, allocations: 5.203 kB / 1.131 GB, free: 11.92 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/0.9913, allocations: 4.594 kB / 1.131 GB, free: 11.91 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001979/0.9915, allocations: 179.3 kB / 1.131 GB, free: 11.75 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001131/0.9916, allocations: 20.16 kB / 1.131 GB, free: 11.73 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003381/0.992, allocations: 36.56 kB / 1.131 GB, free: 11.72 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002206/0.9922, allocations: 93.77 kB / 1.131 GB, free: 11.7 MB / 0.8887 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00166/0.9939, allocations: 0.7696 MB / 1.132 GB, free: 11.35 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002108/0.996, allocations: 1.216 MB / 1.133 GB, free: 10.72 MB / 0.8887 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006121/0.9966, allocations: 326.6 kB / 1.134 GB, free: 10.6 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.000702/0.9973, allocations: 482.8 kB / 1.134 GB, free: 10.39 MB / 0.8887 GB Notification: Performance of Backend: time 3.2e-07/0.9973, allocations: 0 / 1.134 GB, free: 10.39 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.003086/1, allocations: 1.484 MB / 1.135 GB, free: 9.652 MB / 0.8887 GB Notification: Performance of SimCode: time 0.00369/1.004, allocations: 2.394 MB / 1.138 GB, free: 8.16 MB / 0.8887 GB Notification: Performance of Templates: time 0.03301/1.037, allocations: 14.63 MB / 1.152 GB, free: 3.465 MB / 0.8887 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Dampers.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Dampers.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Dampers.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Dampers.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Dampers.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Dampers -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Dampers.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Dampers_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConInletSensor_Subsequences_Validation_Dampers.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConInletSensor.Subsequences.Validation.Dampers.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches