Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.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.DualDuctMixConDischargeSensor.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.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.VDis_flow_Set|dam1.yCooDam|dam1.yHeaDam",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Dampers") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.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.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.VDis_flow_Set|dam1.yCooDam|dam1.yHeaDam",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Dampers") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001421/0.001421, allocations: 108.3 kB / 16.41 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.001293/0.001293, 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.385/1.385, allocations: 222.9 MB / 241.1 MB, free: 15.18 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.407/2.407, allocations: 390.3 MB / 0.6655 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001543/0.001542, allocations: 64.09 kB / 0.9516 GB, free: 7.617 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8793/0.8808, allocations: 140.4 MB / 1.089 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Dampers): time 0.007884/0.8888, allocations: 6.067 MB / 1.095 GB, free: 1.023 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.006387/0.8952, allocations: 3.135 MB / 1.098 GB, free: 14.63 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001549/0.8968, allocations: 47.09 kB / 1.098 GB, free: 14.62 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0006061/0.8974, allocations: 237.6 kB / 1.098 GB, free: 14.45 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.0005684/0.898, allocations: 211.8 kB / 1.098 GB, free: 14.27 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001788/0.8998, allocations: 0.8504 MB / 1.099 GB, free: 13.74 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.002163/0.902, allocations: 1.962 MB / 1.101 GB, free: 12.71 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001591/0.9036, allocations: 1.081 MB / 1.102 GB, free: 12.1 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008827/0.9045, allocations: 0.6845 MB / 1.103 GB, free: 11.7 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007297/0.9052, allocations: 0.7175 MB / 1.103 GB, free: 11.26 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0002859/0.9055, allocations: 204.9 kB / 1.103 GB, free: 11.26 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003316/0.9059, allocations: 214.7 kB / 1.104 GB, free: 11.26 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0003251/0.9062, allocations: 389.6 kB / 1.104 GB, free: 10.98 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0007072/0.9069, allocations: 0.7833 MB / 1.105 GB, free: 10.4 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.003127/0.91, allocations: 2.542 MB / 1.107 GB, free: 9.449 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.9101, allocations: 0.5312 kB / 1.107 GB, free: 9.449 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.895e-06/0.9101, allocations: 4 kB / 1.107 GB, free: 9.445 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 5.223e-05/0.9101, allocations: 4.594 kB / 1.107 GB, free: 9.441 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: 362 * Number of variables: 362 Notification: Performance of Generate backend data structure: time 0.00386/0.914, allocations: 1.816 MB / 1.109 GB, free: 8.25 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.366e-05/0.914, allocations: 9.469 kB / 1.109 GB, free: 8.25 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003643/0.9144, allocations: 175.4 kB / 1.109 GB, free: 8.164 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002367/0.9168, allocations: 1.027 MB / 1.11 GB, free: 7.543 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001318/0.9169, allocations: 125.2 kB / 1.11 GB, free: 7.484 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000227/0.9172, allocations: 148.9 kB / 1.111 GB, free: 7.438 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00237/0.9196, allocations: 1.306 MB / 1.112 GB, free: 6.883 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.608e-05/0.9196, allocations: 3.938 kB / 1.112 GB, free: 6.879 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001082/0.9197, allocations: 57.98 kB / 1.112 GB, free: 6.836 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.429e-05/0.9197, allocations: 34.31 kB / 1.112 GB, free: 6.836 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002022/0.9218, allocations: 0.9439 MB / 1.113 GB, free: 6.484 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006354/0.9281, allocations: 3.912 MB / 1.117 GB, free: 4.262 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001419/0.9296, allocations: 0.7145 MB / 1.117 GB, free: 3.949 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006069/0.9302, allocations: 309 kB / 1.118 GB, free: 3.832 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 5.021e-05/0.9303, allocations: 11.05 kB / 1.118 GB, free: 3.832 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007493/0.931, allocations: 369.1 kB / 1.118 GB, free: 3.664 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=81): time 2.866e-06/0.931, allocations: 0 / 1.118 GB, free: 3.664 MB / 0.8731 GB Notification: Performance of matching and sorting (n=81): time 0.001822/0.9329, allocations: 0.8099 MB / 1.119 GB, free: 3.348 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.614e-05/0.9329, allocations: 65.28 kB / 1.119 GB, free: 3.281 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001016/0.9339, allocations: 0.7399 MB / 1.12 GB, free: 2.941 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001025/0.9341, allocations: 59.23 kB / 1.12 GB, free: 2.891 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005426/0.9346, allocations: 0.6798 MB / 1.12 GB, free: 2.355 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002321/0.9348, allocations: 256.5 kB / 1.121 GB, free: 2.156 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003642/0.9352, allocations: 232.5 kB / 1.121 GB, free: 2.051 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001486/0.9354, allocations: 349.9 kB / 1.121 GB, free: 1.727 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007018/0.9361, allocations: 312.4 kB / 1.121 GB, free: 1.609 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008886/0.937, allocations: 0.6442 MB / 1.122 GB, free: 1.055 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00142/0.9384, allocations: 0.9416 MB / 1.123 GB, free: 276 kB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.979e-06/0.9384, allocations: 3.938 kB / 1.123 GB, free: 276 kB / 0.8731 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.002152/0.9406, allocations: 1.117 MB / 1.124 GB, free: 15.77 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 6.645e-05/0.9407, allocations: 67.8 kB / 1.124 GB, free: 15.7 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.923e-05/0.9407, allocations: 10.69 kB / 1.124 GB, free: 15.7 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.538e-05/0.9407, allocations: 21.28 kB / 1.124 GB, free: 15.7 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006947/0.9414, allocations: 197.7 kB / 1.124 GB, free: 15.67 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.023e-05/0.9415, allocations: 22.86 kB / 1.124 GB, free: 15.67 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009648/0.9425, allocations: 170.8 kB / 1.125 GB, free: 15.59 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001101/0.9426, allocations: 56.27 kB / 1.125 GB, free: 15.58 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001171/0.9438, allocations: 0.5092 MB / 1.125 GB, free: 15.3 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000971/0.9447, allocations: 0.6373 MB / 1.126 GB, free: 14.75 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001536/0.9463, allocations: 0.9125 MB / 1.127 GB, free: 14 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.266e-06/0.9463, allocations: 7.281 kB / 1.127 GB, free: 14 MB / 0.8887 GB Notification: Performance of matching and sorting (n=140) (initialization_lambda0): time 0.002163/0.9485, allocations: 1.099 MB / 1.128 GB, free: 13.5 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 6.526e-05/0.9485, allocations: 67.73 kB / 1.128 GB, free: 13.43 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.553e-05/0.9486, allocations: 11.38 kB / 1.128 GB, free: 13.43 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.127e-05/0.9486, allocations: 16.98 kB / 1.128 GB, free: 13.43 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006532/0.9493, allocations: 188.7 kB / 1.128 GB, free: 13.41 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.574e-05/0.9493, allocations: 26.89 kB / 1.128 GB, free: 13.4 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009601/0.9503, allocations: 141.1 kB / 1.128 GB, free: 13.34 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001427/0.9504, allocations: 54.72 kB / 1.128 GB, free: 13.34 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: 35 ($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,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 (136): * Single equations (assignments): 134 * 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.0005751/0.951, allocations: 278.8 kB / 1.128 GB, free: 13.09 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002935/0.9513, allocations: 93.64 kB / 1.128 GB, free: 13.04 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002004/0.9533, allocations: 0.6813 MB / 1.129 GB, free: 12.74 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.975e-05/0.9533, allocations: 8.156 kB / 1.129 GB, free: 12.74 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.9534, allocations: 1.125 kB / 1.129 GB, free: 12.74 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002535/0.9536, allocations: 166.4 kB / 1.129 GB, free: 12.58 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001482/0.9538, allocations: 22.14 kB / 1.129 GB, free: 12.57 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003545/0.9541, allocations: 35.5 kB / 1.129 GB, free: 12.55 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002364/0.9544, allocations: 90.55 kB / 1.129 GB, free: 12.53 MB / 0.8887 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00173/0.9561, allocations: 0.7007 MB / 1.13 GB, free: 12.21 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002026/0.9581, allocations: 1.126 MB / 1.131 GB, free: 11.61 MB / 0.8887 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00065/0.9588, allocations: 299.7 kB / 1.132 GB, free: 11.5 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.000835/0.9597, allocations: 478 kB / 1.132 GB, free: 11.29 MB / 0.8887 GB Notification: Performance of Backend: time 1.222e-06/0.9597, allocations: 1.094 kB / 1.132 GB, free: 11.29 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.003123/0.9628, allocations: 1.406 MB / 1.133 GB, free: 10.57 MB / 0.8887 GB Notification: Performance of SimCode: time 0.003775/0.9666, allocations: 2.295 MB / 1.136 GB, free: 9.137 MB / 0.8887 GB Notification: Performance of Templates: time 0.03086/0.9975, allocations: 13.87 MB / 1.149 GB, free: 5.199 MB / 0.8887 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Dampers.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Dampers.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Dampers.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Dampers.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Dampers.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Dampers -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Dampers.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Dampers_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConDischargeSensor_Subsequences_Validation_Dampers.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Dampers.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches