Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.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_10_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_10_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.001335/0.001335, allocations: 111.6 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.001357/0.001358, allocations: 185.7 kB / 17.35 MB, free: 5.758 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.486/1.486, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.62/2.62, allocations: 437.1 MB / 0.7112 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001496/0.001497, allocations: 63.89 kB / 1.019 GB, free: 9.375 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.036/1.038, allocations: 151.6 MB / 1.167 GB, free: 3.992 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.DampersDualSensors): time 0.006505/1.044, allocations: 3.969 MB / 1.171 GB, free: 12 kB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.005141/1.05, allocations: 2.449 MB / 1.174 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001168/1.051, allocations: 27.88 kB / 1.174 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.000788/1.052, allocations: 189.9 kB / 1.174 GB, free: 13.33 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.001006/1.053, allocations: 182.2 kB / 1.174 GB, free: 13.15 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.002074/1.055, allocations: 0.7471 MB / 1.175 GB, free: 12.41 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.002208/1.057, allocations: 1.653 MB / 1.176 GB, free: 10.75 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001465/1.058, allocations: 0.8257 MB / 1.177 GB, free: 9.883 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009668/1.059, allocations: 0.5956 MB / 1.178 GB, free: 9.285 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008806/1.06, allocations: 0.6259 MB / 1.178 GB, free: 8.656 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0004174/1.061, allocations: 180 kB / 1.179 GB, free: 8.48 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004151/1.061, allocations: 196 kB / 1.179 GB, free: 8.289 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0004091/1.062, allocations: 346.9 kB / 1.179 GB, free: 7.949 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0009571/1.063, allocations: 0.6725 MB / 1.18 GB, free: 7.273 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.002518/1.065, allocations: 2.203 MB / 1.182 GB, free: 5.062 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/1.065, allocations: 4 kB / 1.182 GB, free: 5.059 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.074e-06/1.065, allocations: 0 / 1.182 GB, free: 5.059 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 7.572e-05/1.065, allocations: 4 kB / 1.182 GB, free: 5.055 MB / 0.9044 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.003837/1.069, allocations: 1.648 MB / 1.183 GB, free: 3.332 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.409e-05/1.069, allocations: 8.922 kB / 1.183 GB, free: 3.324 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003678/1.069, allocations: 152 kB / 1.184 GB, free: 3.176 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002042/1.072, allocations: 0.9113 MB / 1.184 GB, free: 2.223 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.459e-05/1.072, allocations: 98.58 kB / 1.185 GB, free: 2.125 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002163/1.072, allocations: 124.4 kB / 1.185 GB, free: 2.004 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002104/1.074, allocations: 1.083 MB / 1.186 GB, free: 0.8789 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.44e-05/1.074, allocations: 3.984 kB / 1.186 GB, free: 0.875 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000105/1.074, allocations: 51.98 kB / 1.186 GB, free: 0.8242 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.487e-05/1.074, allocations: 28 kB / 1.186 GB, free: 0.7969 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001682/1.076, allocations: 0.7503 MB / 1.187 GB, free: 36 kB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005406/1.081, allocations: 3.257 MB / 1.19 GB, free: 12.68 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001567/1.083, allocations: 0.9097 MB / 1.191 GB, free: 11.73 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006642/1.084, allocations: 347.8 kB / 1.191 GB, free: 11.39 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 5.939e-05/1.084, allocations: 12.64 kB / 1.191 GB, free: 11.38 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009724/1.085, allocations: 0.5283 MB / 1.192 GB, free: 10.84 MB / 0.92 GB Notification: Performance of pre-optimization done (n=88): time 2.615e-06/1.085, allocations: 0 / 1.192 GB, free: 10.84 MB / 0.92 GB Notification: Performance of matching and sorting (n=88): time 0.002119/1.087, allocations: 0.9802 MB / 1.192 GB, free: 9.855 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.697e-05/1.087, allocations: 68.34 kB / 1.193 GB, free: 9.777 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008795/1.088, allocations: 0.6487 MB / 1.193 GB, free: 9.117 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0001219/1.088, allocations: 61.7 kB / 1.193 GB, free: 9.051 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004977/1.088, allocations: 0.5358 MB / 1.194 GB, free: 8.508 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002478/1.089, allocations: 273.8 kB / 1.194 GB, free: 8.238 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003555/1.089, allocations: 230.8 kB / 1.194 GB, free: 8.008 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001846/1.089, allocations: 394.7 kB / 1.195 GB, free: 7.613 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007383/1.09, allocations: 337.9 kB / 1.195 GB, free: 7.281 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000925/1.091, allocations: 0.6191 MB / 1.196 GB, free: 6.527 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00146/1.092, allocations: 0.8908 MB / 1.196 GB, free: 5.5 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-05/1.092, allocations: 4 kB / 1.196 GB, free: 5.496 MB / 0.92 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.002129/1.094, allocations: 1.118 MB / 1.197 GB, free: 4.359 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001035/1.095, allocations: 75.33 kB / 1.198 GB, free: 4.273 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.858e-05/1.095, allocations: 12.06 kB / 1.198 GB, free: 4.262 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.809e-05/1.095, allocations: 16 kB / 1.198 GB, free: 4.246 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006097/1.095, allocations: 167.7 kB / 1.198 GB, free: 4.082 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.696e-05/1.095, allocations: 19.94 kB / 1.198 GB, free: 4.062 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008058/1.096, allocations: 159.2 kB / 1.198 GB, free: 3.906 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001004/1.096, allocations: 55.98 kB / 1.198 GB, free: 3.852 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009275/1.097, allocations: 0.5065 MB / 1.198 GB, free: 3.344 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008657/1.098, allocations: 0.6149 MB / 1.199 GB, free: 2.598 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001408/1.099, allocations: 0.8791 MB / 1.2 GB, free: 1.586 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.082e-05/1.099, allocations: 0 / 1.2 GB, free: 1.586 MB / 0.92 GB Notification: Performance of matching and sorting (n=140) (initialization_lambda0): time 0.002347/1.102, allocations: 1.098 MB / 1.201 GB, free: 476 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 7.468e-05/1.102, allocations: 75.39 kB / 1.201 GB, free: 388 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.137e-05/1.102, allocations: 8 kB / 1.201 GB, free: 380 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.016e-05/1.102, allocations: 16.03 kB / 1.201 GB, free: 364 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005491/1.103, allocations: 163.7 kB / 1.201 GB, free: 200 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.478e-05/1.103, allocations: 23.92 kB / 1.201 GB, free: 176 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007919/1.103, allocations: 135.4 kB / 1.201 GB, free: 40 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000114/1.103, allocations: 56.03 kB / 1.201 GB, free: 15.98 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 58 ($PRE.dam1.greThr.greHys.y,$PRE.dam1.greThr3.greHys.y,$PRE.dam1.lat.y,$PRE.dam1.lat1.y,dam1.samHea.firstTrigger,$PRE.dam1.samHea.firstTrigger,dam1.samCoo.firstTrigger,$PRE.dam1.samCoo.firstTrigger,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,dam1.samCoo.sampleTrigger,$whenCondition13,dam1.samHea.sampleTrigger,$whenCondition14,dam1.greThr3.greHys.y,dam1.greThr.greHys.y,heaAhu.y,$PRE.heaAhu.y,cooAhu.y,$PRE.cooAhu.y,dam1.lat1.y,dam1.lat1.clr,$PRE.dam1.lat1.clr,dam1.lat1.u,$PRE.dam1.lat1.u,dam1.lat.y,dam1.lat.clr,$PRE.dam1.lat.clr,dam1.lat.u,$PRE.dam1.lat.u,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.falEdg.not_u,$PRE.dam1.falEdg.not_u,dam1.and1.y,dam1.greThr2.greHys.y,$PRE.dam1.greThr2.greHys.y,dam1.greThr1.greHys.y,$PRE.dam1.greThr1.greHys.y,dam1.and4.y,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition15,$whenCondition16,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.0003749/1.104, allocations: 283.2 kB / 1.202 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000159/1.104, allocations: 91.42 kB / 1.202 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00163/1.106, allocations: 0.8039 MB / 1.203 GB, free: 14.8 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.592e-05/1.106, allocations: 3.984 kB / 1.203 GB, free: 14.8 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.519e-06/1.106, allocations: 4 kB / 1.203 GB, free: 14.8 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001697/1.106, allocations: 168.3 kB / 1.203 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001311/1.106, allocations: 35.98 kB / 1.203 GB, free: 14.58 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000361/1.106, allocations: 31.97 kB / 1.203 GB, free: 14.55 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001975/1.107, allocations: 96.81 kB / 1.203 GB, free: 14.45 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001758/1.108, allocations: 0.8413 MB / 1.204 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002177/1.111, allocations: 1.309 MB / 1.205 GB, free: 12.28 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006288/1.111, allocations: 387.8 kB / 1.205 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0005292/1.112, allocations: 419.1 kB / 1.206 GB, free: 11.49 MB / 0.9356 GB Notification: Performance of Backend: time 8.92e-07/1.112, allocations: 0 / 1.206 GB, free: 11.49 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.00281/1.115, allocations: 1.442 MB / 1.207 GB, free: 10 MB / 0.9356 GB Notification: Performance of SimCode: time 0.003956/1.119, allocations: 2.072 MB / 1.209 GB, free: 7.871 MB / 0.9356 GB Notification: Performance of Templates: time 0.02833/1.147, allocations: 14.63 MB / 1.224 GB, free: 9.391 MB / 0.9512 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.DampersDualSensors.makefile (rm -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.DampersDualSensors.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.DampersDualSensors.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.DampersDualSensors.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.DampersDualSensors.sim & ./Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.DampersDualSensors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.DampersDualSensors.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.DampersDualSensors_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctSnapActing_Subsequences_Validation_DampersDualSensors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.DampersDualSensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches