Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.DampersSingleSensors.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.DualDuctSnapActing.Subsequences.Validation.DampersSingleSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dam1.VActMin_flow|dam1.VActCooMax_flow|dam1.VActHeaMax_flow|dam1.uCoo|dam1.uHea|dam1.VDis_flow_Set|dam1.yCooDam|dam1.yHeaDam",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.DampersSingleSensors") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.DampersSingleSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dam1.VActMin_flow|dam1.VActCooMax_flow|dam1.VActHeaMax_flow|dam1.uCoo|dam1.uHea|dam1.VDis_flow_Set|dam1.yCooDam|dam1.yHeaDam",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.DampersSingleSensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001543/0.001543, allocations: 114.8 kB / 16.42 MB, free: 6.496 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.001328/0.001328, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.378/1.378, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.676/2.676, allocations: 461.9 MB / 0.7355 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001352/0.001352, allocations: 59.91 kB / 1.055 GB, free: 7.695 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8205/0.8219, allocations: 157.4 MB / 1.208 GB, free: 13.83 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.DampersSingleSensors): time 0.004228/0.8262, allocations: 2.819 MB / 1.211 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.003112/0.8293, allocations: 2.047 MB / 1.213 GB, free: 8.945 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004085/0.8297, allocations: 19.94 kB / 1.213 GB, free: 8.926 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0003504/0.8301, allocations: 118.6 kB / 1.213 GB, free: 8.809 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0002511/0.8304, allocations: 114.9 kB / 1.213 GB, free: 8.695 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001167/0.8316, allocations: 0.576 MB / 1.214 GB, free: 8.125 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001068/0.8326, allocations: 1.118 MB / 1.215 GB, free: 7.004 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007592/0.8334, allocations: 0.5238 MB / 1.216 GB, free: 6.457 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004663/0.8339, allocations: 426.5 kB / 1.216 GB, free: 6.039 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004253/0.8343, allocations: 442 kB / 1.216 GB, free: 5.605 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001533/0.8345, allocations: 120 kB / 1.217 GB, free: 5.488 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001982/0.8347, allocations: 132 kB / 1.217 GB, free: 5.359 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001652/0.8348, allocations: 227.3 kB / 1.217 GB, free: 5.137 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0003423/0.8352, allocations: 473.7 kB / 1.217 GB, free: 4.672 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001263/0.8365, allocations: 1.469 MB / 1.219 GB, free: 3.199 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.8365, allocations: 3.938 kB / 1.219 GB, free: 3.195 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.773e-06/0.8365, allocations: 0 / 1.219 GB, free: 3.195 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.176e-05/0.8365, allocations: 0 / 1.219 GB, free: 3.195 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 190 * Number of variables: 190 Notification: Performance of Generate backend data structure: time 0.002155/0.8387, allocations: 1.217 MB / 1.22 GB, free: 1.91 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.802e-05/0.8387, allocations: 12.02 kB / 1.22 GB, free: 1.898 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001757/0.8389, allocations: 107.8 kB / 1.22 GB, free: 1.793 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001363/0.8403, allocations: 0.6672 MB / 1.221 GB, free: 1.082 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.746e-05/0.8403, allocations: 66.38 kB / 1.221 GB, free: 1.02 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001193/0.8405, allocations: 84.38 kB / 1.221 GB, free: 0.9375 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001243/0.8417, allocations: 0.7319 MB / 1.222 GB, free: 196 kB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.983e-05/0.8418, allocations: 3.938 kB / 1.222 GB, free: 192 kB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.028e-05/0.8418, allocations: 28 kB / 1.222 GB, free: 164 kB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.759e-05/0.8419, allocations: 24 kB / 1.222 GB, free: 140 kB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001019/0.8429, allocations: 0.5075 MB / 1.222 GB, free: 15.63 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003042/0.8459, allocations: 2.15 MB / 1.224 GB, free: 13.41 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009529/0.8469, allocations: 0.5849 MB / 1.225 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003941/0.8473, allocations: 214.1 kB / 1.225 GB, free: 12.59 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 4.027e-05/0.8474, allocations: 8.438 kB / 1.225 GB, free: 12.58 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006044/0.848, allocations: 330.7 kB / 1.225 GB, free: 12.25 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=63): time 2.344e-06/0.848, allocations: 0 / 1.225 GB, free: 12.25 MB / 0.9512 GB Notification: Performance of matching and sorting (n=63): time 0.001373/0.8494, allocations: 0.6855 MB / 1.226 GB, free: 11.55 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.036e-05/0.8494, allocations: 59.97 kB / 1.226 GB, free: 11.48 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004791/0.8499, allocations: 469.8 kB / 1.227 GB, free: 11.01 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 6.947e-05/0.85, allocations: 45.7 kB / 1.227 GB, free: 10.96 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002729/0.8503, allocations: 387.6 kB / 1.227 GB, free: 10.57 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.000136/0.8504, allocations: 165.7 kB / 1.227 GB, free: 10.41 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002374/0.8506, allocations: 174.5 kB / 1.227 GB, free: 10.23 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001401/0.8508, allocations: 374.8 kB / 1.228 GB, free: 9.855 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004899/0.8513, allocations: 228.8 kB / 1.228 GB, free: 9.629 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006307/0.8519, allocations: 439.2 kB / 1.228 GB, free: 9.113 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009872/0.8529, allocations: 0.6267 MB / 1.229 GB, free: 8.387 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/0.8529, allocations: 3.938 kB / 1.229 GB, free: 8.383 MB / 0.9512 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001422/0.8544, allocations: 0.8024 MB / 1.23 GB, free: 7.562 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 6.126e-05/0.8544, allocations: 67.39 kB / 1.23 GB, free: 7.484 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.334e-05/0.8545, allocations: 8 kB / 1.23 GB, free: 7.477 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.34e-05/0.8545, allocations: 15.94 kB / 1.23 GB, free: 7.461 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004201/0.8549, allocations: 107.8 kB / 1.23 GB, free: 7.355 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.283e-05/0.8549, allocations: 15.94 kB / 1.23 GB, free: 7.34 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006324/0.8556, allocations: 123.4 kB / 1.23 GB, free: 7.219 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.647e-05/0.8557, allocations: 43.98 kB / 1.23 GB, free: 7.176 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000648/0.8563, allocations: 382 kB / 1.23 GB, free: 6.801 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005652/0.8569, allocations: 439.8 kB / 1.231 GB, free: 6.285 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008396/0.8577, allocations: 0.615 MB / 1.231 GB, free: 5.574 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.068e-06/0.8578, allocations: 7.984 kB / 1.231 GB, free: 5.566 MB / 0.9512 GB Notification: Performance of matching and sorting (n=96) (initialization_lambda0): time 0.001264/0.859, allocations: 0.7867 MB / 1.232 GB, free: 4.758 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 4.702e-05/0.8591, allocations: 71.39 kB / 1.232 GB, free: 4.676 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.8591, allocations: 4 kB / 1.232 GB, free: 4.672 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.038e-05/0.8591, allocations: 12 kB / 1.232 GB, free: 4.66 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003717/0.8595, allocations: 107.7 kB / 1.232 GB, free: 4.555 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.393e-05/0.8595, allocations: 19.92 kB / 1.232 GB, free: 4.535 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005998/0.8601, allocations: 111.8 kB / 1.233 GB, free: 4.426 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.975e-05/0.8602, allocations: 39.98 kB / 1.233 GB, free: 4.387 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 43 (dam1.samHea.firstTrigger,$PRE.dam1.samHea.firstTrigger,dam1.samCoo.firstTrigger,$PRE.dam1.samCoo.firstTrigger,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,dam1.samCoo.sampleTrigger,$whenCondition8,dam1.samHea.sampleTrigger,$whenCondition9,heaAhu.y,$PRE.heaAhu.y,cooAhu.y,$PRE.cooAhu.y,dam1.or4.y,dam1.or3.y,dam1.or1.y,dam1.lat1.y,dam1.lat.y,dam1.greThr5.greHys.y,$PRE.dam1.greThr5.greHys.y,dam1.greThr4.greHys.y,$PRE.dam1.greThr4.greHys.y,dam1.samCoo.y,dam1.samHea.y,dam1.and3.y,dam1.and2.y,dam1.falEdg.not_u,$PRE.dam1.falEdg.not_u,dam1.falEdg.y,dam1.greThr2.greHys.y,$PRE.dam1.greThr2.greHys.y,dam1.greThr1.greHys.y,$PRE.dam1.greThr1.greHys.y,dam1.y1HeaDam,dam1.y1CooDam,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition10,dam1.conCooDam.cheYMinMax.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 90 * 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.0002322/0.8604, allocations: 256 kB / 1.233 GB, free: 4.129 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.375e-05/0.8605, allocations: 59.25 kB / 1.233 GB, free: 4.07 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001117/0.8616, allocations: 0.5596 MB / 1.233 GB, free: 3.5 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.858e-06/0.8617, allocations: 3.984 kB / 1.233 GB, free: 3.496 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.8617, allocations: 0 / 1.233 GB, free: 3.496 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 9.642e-05/0.8618, allocations: 136.2 kB / 1.234 GB, free: 3.344 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.076e-05/0.8619, allocations: 20 kB / 1.234 GB, free: 3.324 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000281/0.8621, allocations: 31.95 kB / 1.234 GB, free: 3.293 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001346/0.8623, allocations: 64.42 kB / 1.234 GB, free: 3.23 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001151/0.8635, allocations: 0.6081 MB / 1.234 GB, free: 2.617 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001402/0.8649, allocations: 0.9427 MB / 1.235 GB, free: 1.656 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003938/0.8653, allocations: 244.4 kB / 1.235 GB, free: 1.418 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0003226/0.8656, allocations: 298.9 kB / 1.236 GB, free: 1.129 MB / 0.9512 GB Notification: Performance of Backend: time 6.51e-07/0.8656, allocations: 0 / 1.236 GB, free: 1.129 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002095/0.8677, allocations: 1.112 MB / 1.237 GB, free: 15.97 MB / 0.9669 GB Notification: Performance of SimCode: time 0.001986/0.8697, allocations: 1.542 MB / 1.238 GB, free: 14.38 MB / 0.9669 GB Notification: Performance of Templates: time 0.01765/0.8874, allocations: 10.51 MB / 1.249 GB, free: 3.984 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.DampersSingleSensors.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.DampersSingleSensors.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.DampersSingleSensors.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.DampersSingleSensors.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.DampersSingleSensors.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.DampersSingleSensors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.DampersSingleSensors.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.DampersSingleSensors_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctSnapActing_Subsequences_Validation_DampersSingleSensors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.DampersSingleSensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches