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.DampersDualSensors.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.DampersDualSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|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_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.DampersDualSensors") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.DampersDualSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|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_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.DampersDualSensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001514/0.001514, allocations: 115.4 kB / 16.42 MB, free: 6.5 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.001647/0.001647, 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.405/1.405, 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.662/2.662, allocations: 461.9 MB / 0.7355 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001446/0.001446, allocations: 64.11 kB / 1.055 GB, free: 7.707 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8455/0.847, allocations: 157.4 MB / 1.208 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.DampersDualSensors): time 0.006655/0.8537, allocations: 3.962 MB / 1.212 GB, free: 9.695 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.005239/0.859, allocations: 2.413 MB / 1.215 GB, free: 7.266 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009699/0.86, allocations: 27.88 kB / 1.215 GB, free: 7.238 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0006584/0.8606, allocations: 189.9 kB / 1.215 GB, free: 7.051 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0007786/0.8615, allocations: 170.3 kB / 1.215 GB, free: 6.883 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001738/0.8632, allocations: 0.721 MB / 1.216 GB, free: 6.164 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.002333/0.8655, allocations: 1.603 MB / 1.217 GB, free: 4.555 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001461/0.867, allocations: 0.8217 MB / 1.218 GB, free: 3.695 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009071/0.8679, allocations: 0.5838 MB / 1.219 GB, free: 3.109 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007764/0.8687, allocations: 0.6142 MB / 1.219 GB, free: 2.492 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0003022/0.869, allocations: 176 kB / 1.219 GB, free: 2.32 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003007/0.8693, allocations: 188 kB / 1.22 GB, free: 2.137 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0002626/0.8696, allocations: 331 kB / 1.22 GB, free: 1.812 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0007294/0.8704, allocations: 0.653 MB / 1.221 GB, free: 1.156 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.002191/0.8726, allocations: 2.162 MB / 1.223 GB, free: 14.99 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.8726, allocations: 0 / 1.223 GB, free: 14.99 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.054e-06/0.8726, allocations: 0 / 1.223 GB, free: 14.99 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.005e-05/0.8726, allocations: 4 kB / 1.223 GB, free: 14.98 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: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.003635/0.8763, allocations: 1.587 MB / 1.224 GB, free: 13.33 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 6.973e-05/0.8764, allocations: 12.03 kB / 1.224 GB, free: 13.32 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003053/0.8767, allocations: 151.2 kB / 1.224 GB, free: 13.17 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001971/0.8787, allocations: 0.8949 MB / 1.225 GB, free: 12.23 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.513e-05/0.8788, allocations: 90.58 kB / 1.225 GB, free: 12.14 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001851/0.879, allocations: 120.4 kB / 1.226 GB, free: 12.02 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002008/0.881, allocations: 1.06 MB / 1.227 GB, free: 10.92 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.382e-05/0.881, allocations: 7.875 kB / 1.227 GB, free: 10.91 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.318e-05/0.8811, allocations: 48 kB / 1.227 GB, free: 10.87 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.611e-05/0.8811, allocations: 28 kB / 1.227 GB, free: 10.84 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001687/0.8828, allocations: 0.7386 MB / 1.227 GB, free: 10.09 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005243/0.8881, allocations: 3.182 MB / 1.23 GB, free: 6.812 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001526/0.8896, allocations: 0.8627 MB / 1.231 GB, free: 5.902 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006848/0.8903, allocations: 310.7 kB / 1.232 GB, free: 5.598 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 5.368e-05/0.8904, allocations: 16.64 kB / 1.232 GB, free: 5.582 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008217/0.8912, allocations: 408.1 kB / 1.232 GB, free: 5.168 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=82): time 3.006e-06/0.8912, allocations: 0 / 1.232 GB, free: 5.168 MB / 0.9512 GB Notification: Performance of matching and sorting (n=82): time 0.00199/0.8932, allocations: 0.8874 MB / 1.233 GB, free: 4.277 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.651e-05/0.8933, allocations: 60.06 kB / 1.233 GB, free: 4.207 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008104/0.8941, allocations: 0.6329 MB / 1.234 GB, free: 3.562 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 9.231e-05/0.8942, allocations: 57.69 kB / 1.234 GB, free: 3.5 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004062/0.8946, allocations: 0.5265 MB / 1.234 GB, free: 2.965 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001969/0.8948, allocations: 244.6 kB / 1.234 GB, free: 2.723 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003146/0.8952, allocations: 218.5 kB / 1.235 GB, free: 2.504 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0002339/0.8954, allocations: 398.7 kB / 1.235 GB, free: 2.105 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007232/0.8961, allocations: 309 kB / 1.235 GB, free: 1.801 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008891/0.897, allocations: 0.5664 MB / 1.236 GB, free: 1.105 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001472/0.8985, allocations: 0.8536 MB / 1.237 GB, free: 128 kB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.938e-06/0.8985, allocations: 11.88 kB / 1.237 GB, free: 116 kB / 0.9512 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.002104/0.9006, allocations: 1.047 MB / 1.238 GB, free: 15.04 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 5.824e-05/0.9007, allocations: 67.39 kB / 1.238 GB, free: 14.96 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.571e-05/0.9007, allocations: 12 kB / 1.238 GB, free: 14.95 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.73e-05/0.9008, allocations: 12 kB / 1.238 GB, free: 14.94 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006061/0.9014, allocations: 159.7 kB / 1.238 GB, free: 14.79 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.753e-05/0.9014, allocations: 19.92 kB / 1.238 GB, free: 14.77 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007807/0.9022, allocations: 151.1 kB / 1.238 GB, free: 14.62 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.147e-05/0.9023, allocations: 47.98 kB / 1.238 GB, free: 14.57 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009701/0.9033, allocations: 487.8 kB / 1.239 GB, free: 14.09 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007952/0.9041, allocations: 0.5625 MB / 1.239 GB, free: 13.41 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001437/0.9055, allocations: 0.8457 MB / 1.24 GB, free: 12.44 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.751e-06/0.9056, allocations: 0 / 1.24 GB, free: 12.44 MB / 0.9669 GB Notification: Performance of matching and sorting (n=128) (initialization_lambda0): time 0.001807/0.9074, allocations: 1.027 MB / 1.241 GB, free: 11.39 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 4.532e-05/0.9074, allocations: 63.41 kB / 1.241 GB, free: 11.31 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.303e-05/0.9074, allocations: 8 kB / 1.241 GB, free: 11.3 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.9075, allocations: 16.58 kB / 1.241 GB, free: 11.29 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000588/0.9081, allocations: 167.7 kB / 1.241 GB, free: 11.12 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.759e-05/0.9081, allocations: 15.94 kB / 1.241 GB, free: 11.11 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007424/0.9088, allocations: 131.3 kB / 1.241 GB, free: 10.98 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.228e-05/0.9089, allocations: 51.92 kB / 1.241 GB, free: 10.93 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * Number of states: 0 () * Number of discrete variables: 46 ($PRE.dam1.greThr.greHys.y,$PRE.dam1.greThr3.greHys.y,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,dam1.greThr3.greHys.y,dam1.greThr.greHys.y,heaAhu.y,$PRE.heaAhu.y,cooAhu.y,$PRE.cooAhu.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.and1.y,dam1.greThr2.greHys.y,$PRE.dam1.greThr2.greHys.y,dam1.greThr1.greHys.y,$PRE.dam1.greThr1.greHys.y,dam1.and4.y,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition10,$whenCondition11,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 (124): * Single equations (assignments): 122 * 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.0002735/0.9092, allocations: 275.8 kB / 1.242 GB, free: 10.65 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001205/0.9093, allocations: 82.95 kB / 1.242 GB, free: 10.57 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00164/0.911, allocations: 0.7293 MB / 1.242 GB, free: 9.828 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.146e-05/0.911, allocations: 3.984 kB / 1.242 GB, free: 9.824 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.195e-06/0.911, allocations: 0 / 1.242 GB, free: 9.824 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001552/0.9112, allocations: 159.9 kB / 1.243 GB, free: 9.648 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000104/0.9113, allocations: 20 kB / 1.243 GB, free: 9.629 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003578/0.9116, allocations: 39.95 kB / 1.243 GB, free: 9.59 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001617/0.9118, allocations: 84.81 kB / 1.243 GB, free: 9.508 MB / 0.9669 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001754/0.9136, allocations: 0.7749 MB / 1.243 GB, free: 8.727 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002001/0.9156, allocations: 1.192 MB / 1.245 GB, free: 7.52 MB / 0.9669 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005886/0.9162, allocations: 323.8 kB / 1.245 GB, free: 7.199 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0005245/0.9167, allocations: 415.1 kB / 1.245 GB, free: 6.801 MB / 0.9669 GB Notification: Performance of Backend: time 5.11e-07/0.9167, allocations: 0 / 1.245 GB, free: 6.801 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.002749/0.9195, allocations: 1.347 MB / 1.247 GB, free: 5.406 MB / 0.9669 GB Notification: Performance of SimCode: time 0.003203/0.9227, allocations: 2.022 MB / 1.249 GB, free: 3.332 MB / 0.9669 GB Notification: Performance of Templates: time 0.02565/0.9484, allocations: 13.64 MB / 1.262 GB, free: 5.832 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.DampersDualSensors.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.DampersDualSensors.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.DampersDualSensors.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.DampersDualSensors.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.DampersDualSensors.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.DampersDualSensors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.DampersDualSensors.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.DampersDualSensors_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctSnapActing_Subsequences_Validation_DampersDualSensors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.DampersDualSensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches