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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001273/0.001273, allocations: 114.1 kB / 16.42 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.001201/0.001201, allocations: 183.9 kB / 17.35 MB, free: 5.75 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.425/1.425, 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 12.0.0-master/package.mo): time 2.708/2.708, allocations: 472.7 MB / 0.746 GB, free: 424 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001399/0.001399, allocations: 59.91 kB / 1.07 GB, free: 9.57 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.831/0.8325, allocations: 159.9 MB / 1.226 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.DampersSingleSensors): time 0.005747/0.8383, allocations: 2.821 MB / 1.229 GB, free: 10.73 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.003943/0.8422, allocations: 2.043 MB / 1.231 GB, free: 8.668 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000818/0.8431, allocations: 19.94 kB / 1.231 GB, free: 8.648 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0004001/0.8435, allocations: 118.6 kB / 1.231 GB, free: 8.531 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0003202/0.8439, allocations: 122.8 kB / 1.231 GB, free: 8.41 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001299/0.8452, allocations: 0.5639 MB / 1.232 GB, free: 7.852 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001061/0.8462, allocations: 1.126 MB / 1.233 GB, free: 6.723 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007569/0.847, allocations: 0.5238 MB / 1.234 GB, free: 6.172 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004628/0.8475, allocations: 426.5 kB / 1.234 GB, free: 5.754 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004334/0.8479, allocations: 438 kB / 1.234 GB, free: 5.324 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001548/0.8481, allocations: 124 kB / 1.234 GB, free: 5.203 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001857/0.8483, allocations: 136 kB / 1.235 GB, free: 5.07 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001667/0.8484, allocations: 231.2 kB / 1.235 GB, free: 4.844 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0003495/0.8488, allocations: 465.7 kB / 1.235 GB, free: 4.387 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001432/0.8502, allocations: 1.479 MB / 1.237 GB, free: 2.906 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.8502, allocations: 0 / 1.237 GB, free: 2.906 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.112e-06/0.8503, allocations: 4 kB / 1.237 GB, free: 2.902 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.482e-05/0.8503, allocations: 0 / 1.237 GB, free: 2.902 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: 190 * Number of variables: 190 Notification: Performance of Generate backend data structure: time 0.002053/0.8523, allocations: 1.24 MB / 1.238 GB, free: 1.59 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.8524, allocations: 8.031 kB / 1.238 GB, free: 1.582 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001603/0.8525, allocations: 112.2 kB / 1.238 GB, free: 1.473 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00135/0.8539, allocations: 0.6753 MB / 1.239 GB, free: 0.7617 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.982e-05/0.854, allocations: 66.38 kB / 1.239 GB, free: 0.6953 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001278/0.8541, allocations: 84.36 kB / 1.239 GB, free: 0.6133 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001243/0.8554, allocations: 0.7359 MB / 1.24 GB, free: 15.86 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.157e-05/0.8554, allocations: 3.938 kB / 1.24 GB, free: 15.86 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.302e-05/0.8555, allocations: 32 kB / 1.24 GB, free: 15.83 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.645e-05/0.8555, allocations: 16 kB / 1.24 GB, free: 15.81 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001029/0.8565, allocations: 0.5153 MB / 1.24 GB, free: 15.3 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003146/0.8597, allocations: 2.143 MB / 1.242 GB, free: 13.09 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009655/0.8607, allocations: 0.5887 MB / 1.243 GB, free: 12.47 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003981/0.8611, allocations: 218.1 kB / 1.243 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 4.811e-05/0.8611, allocations: 8.438 kB / 1.243 GB, free: 12.24 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005834/0.8617, allocations: 318.9 kB / 1.243 GB, free: 11.92 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=63): time 2.405e-06/0.8617, allocations: 0 / 1.243 GB, free: 11.92 MB / 0.9669 GB Notification: Performance of matching and sorting (n=63): time 0.001384/0.8631, allocations: 0.682 MB / 1.244 GB, free: 11.23 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.381e-05/0.8632, allocations: 71.94 kB / 1.244 GB, free: 11.15 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004667/0.8637, allocations: 473.8 kB / 1.245 GB, free: 10.68 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 6.239e-05/0.8637, allocations: 49.7 kB / 1.245 GB, free: 10.62 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002684/0.864, allocations: 388.6 kB / 1.245 GB, free: 10.23 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001263/0.8641, allocations: 174.5 kB / 1.245 GB, free: 10.06 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002407/0.8644, allocations: 182.6 kB / 1.245 GB, free: 9.875 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001396/0.8645, allocations: 366.8 kB / 1.246 GB, free: 9.508 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000472/0.865, allocations: 236.7 kB / 1.246 GB, free: 9.273 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000592/0.8656, allocations: 451.2 kB / 1.246 GB, free: 8.746 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009509/0.8666, allocations: 0.6228 MB / 1.247 GB, free: 8.023 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.8666, allocations: 0 / 1.247 GB, free: 8.023 MB / 0.9669 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001379/0.868, allocations: 0.8028 MB / 1.248 GB, free: 7.203 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 5.784e-05/0.868, allocations: 67.39 kB / 1.248 GB, free: 7.125 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.202e-05/0.8681, allocations: 12.06 kB / 1.248 GB, free: 7.113 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.85e-05/0.8681, allocations: 11.94 kB / 1.248 GB, free: 7.102 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003836/0.8685, allocations: 115.8 kB / 1.248 GB, free: 6.988 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.908e-05/0.8685, allocations: 19.94 kB / 1.248 GB, free: 6.969 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005534/0.8691, allocations: 127.4 kB / 1.248 GB, free: 6.844 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.743e-05/0.8691, allocations: 35.98 kB / 1.248 GB, free: 6.809 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006135/0.8698, allocations: 386 kB / 1.248 GB, free: 6.43 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005734/0.8703, allocations: 431.3 kB / 1.249 GB, free: 5.922 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008465/0.8712, allocations: 0.6189 MB / 1.249 GB, free: 5.199 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.041e-06/0.8712, allocations: 4 kB / 1.249 GB, free: 5.195 MB / 0.9669 GB Notification: Performance of matching and sorting (n=96) (initialization_lambda0): time 0.001239/0.8725, allocations: 0.7874 MB / 1.25 GB, free: 4.391 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 4.226e-05/0.8725, allocations: 71.39 kB / 1.25 GB, free: 4.309 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.8725, allocations: 4 kB / 1.25 GB, free: 4.305 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.064e-05/0.8725, allocations: 15.94 kB / 1.25 GB, free: 4.289 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003651/0.8729, allocations: 111.7 kB / 1.25 GB, free: 4.18 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.755e-05/0.8729, allocations: 19.92 kB / 1.25 GB, free: 4.16 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005331/0.8735, allocations: 111.5 kB / 1.251 GB, free: 4.051 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.132e-05/0.8736, allocations: 39.98 kB / 1.251 GB, free: 4.012 MB / 0.9669 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.0002194/0.8738, allocations: 248.5 kB / 1.251 GB, free: 3.762 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.754e-05/0.8739, allocations: 63.61 kB / 1.251 GB, free: 3.699 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001069/0.8749, allocations: 0.5596 MB / 1.251 GB, free: 3.137 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.566e-06/0.875, allocations: 3.984 kB / 1.251 GB, free: 3.133 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.875, allocations: 0 / 1.251 GB, free: 3.133 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 9.697e-05/0.8751, allocations: 144.6 kB / 1.252 GB, free: 2.973 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.425e-05/0.8751, allocations: 16 kB / 1.252 GB, free: 2.957 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000249/0.8754, allocations: 31.95 kB / 1.252 GB, free: 2.926 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000139/0.8755, allocations: 64.42 kB / 1.252 GB, free: 2.863 MB / 0.9669 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001125/0.8767, allocations: 0.6042 MB / 1.252 GB, free: 2.25 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001424/0.8781, allocations: 0.947 MB / 1.253 GB, free: 1.289 MB / 0.9669 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004059/0.8785, allocations: 248.4 kB / 1.253 GB, free: 1.043 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0002979/0.8788, allocations: 306.8 kB / 1.254 GB, free: 0.7461 MB / 0.9669 GB Notification: Performance of Backend: time 8.12e-07/0.8788, allocations: 0 / 1.254 GB, free: 0.7461 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001896/0.8807, allocations: 1.106 MB / 1.255 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of SimCode: time 0.002089/0.8828, allocations: 1.568 MB / 1.256 GB, free: 13.97 MB / 0.9825 GB Notification: Performance of Templates: time 0.01872/0.9016, allocations: 10.52 MB / 1.267 GB, free: 3.566 MB / 0.9825 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