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.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 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.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_10_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_10_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.001621/0.001621, allocations: 117.2 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.001831/0.001831, allocations: 187.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.361/1.361, allocations: 222.9 MB / 241 MB, free: 15.17 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.454/2.454, allocations: 437 MB / 0.7112 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001583/0.001583, allocations: 67.89 kB / 1.019 GB, free: 9.395 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8617/0.8634, allocations: 151.6 MB / 1.167 GB, free: 3.883 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.DampersSingleSensors): time 0.004421/0.8678, allocations: 2.839 MB / 1.17 GB, free: 1.031 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.003953/0.8718, allocations: 2.087 MB / 1.172 GB, free: 14.92 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007305/0.8726, allocations: 23.88 kB / 1.172 GB, free: 14.9 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0004615/0.8731, allocations: 118.5 kB / 1.172 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0005243/0.8736, allocations: 122.8 kB / 1.172 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.00165/0.8753, allocations: 0.5883 MB / 1.173 GB, free: 14.08 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001542/0.8768, allocations: 1.165 MB / 1.174 GB, free: 12.91 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009588/0.8778, allocations: 0.5277 MB / 1.175 GB, free: 12.36 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007094/0.8785, allocations: 450.4 kB / 1.175 GB, free: 11.92 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006263/0.8792, allocations: 446 kB / 1.175 GB, free: 11.48 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0002678/0.8794, allocations: 128 kB / 1.176 GB, free: 11.36 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000275/0.8797, allocations: 140 kB / 1.176 GB, free: 11.22 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002274/0.8799, allocations: 239.3 kB / 1.176 GB, free: 10.98 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0005819/0.8805, allocations: 489.6 kB / 1.176 GB, free: 10.5 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001531/0.8821, allocations: 1.516 MB / 1.178 GB, free: 8.988 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.8821, allocations: 0 / 1.178 GB, free: 8.988 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.202e-06/0.8821, allocations: 0 / 1.178 GB, free: 8.988 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 4.567e-05/0.8822, allocations: 0 / 1.178 GB, free: 8.988 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: 190 * Number of variables: 190 Notification: Performance of Generate backend data structure: time 0.002809/0.885, allocations: 1.225 MB / 1.179 GB, free: 7.695 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/0.885, allocations: 8.922 kB / 1.179 GB, free: 7.688 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002365/0.8853, allocations: 111.8 kB / 1.179 GB, free: 7.578 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001485/0.8868, allocations: 0.675 MB / 1.18 GB, free: 6.867 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.027e-05/0.8868, allocations: 74.36 kB / 1.18 GB, free: 6.793 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001447/0.887, allocations: 84.38 kB / 1.18 GB, free: 6.711 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00139/0.8884, allocations: 0.767 MB / 1.181 GB, free: 5.934 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.819e-05/0.8884, allocations: 3.938 kB / 1.181 GB, free: 5.93 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.974e-05/0.8885, allocations: 36 kB / 1.181 GB, free: 5.895 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.55e-05/0.8885, allocations: 16 kB / 1.181 GB, free: 5.879 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001075/0.8896, allocations: 0.5193 MB / 1.181 GB, free: 5.359 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003281/0.8929, allocations: 2.205 MB / 1.184 GB, free: 3.086 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001073/0.894, allocations: 0.6334 MB / 1.184 GB, free: 2.426 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004386/0.8944, allocations: 240.3 kB / 1.184 GB, free: 2.191 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 4.406e-05/0.8945, allocations: 16.36 kB / 1.184 GB, free: 2.176 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007664/0.8953, allocations: 446.6 kB / 1.185 GB, free: 1.73 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=69): time 2.084e-06/0.8953, allocations: 0 / 1.185 GB, free: 1.73 MB / 0.9044 GB Notification: Performance of matching and sorting (n=69): time 0.001574/0.8968, allocations: 0.7753 MB / 1.186 GB, free: 0.9531 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.438e-05/0.8969, allocations: 67.91 kB / 1.186 GB, free: 0.875 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005051/0.8974, allocations: 473.6 kB / 1.186 GB, free: 404 kB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 9.071e-05/0.8975, allocations: 61.69 kB / 1.186 GB, free: 336 kB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003116/0.8978, allocations: 375.9 kB / 1.186 GB, free: 15.95 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001737/0.898, allocations: 193.4 kB / 1.187 GB, free: 15.76 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002782/0.8983, allocations: 194.5 kB / 1.187 GB, free: 15.56 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001629/0.8985, allocations: 374.8 kB / 1.187 GB, free: 15.19 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005559/0.899, allocations: 260.7 kB / 1.187 GB, free: 14.93 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006803/0.8997, allocations: 485.1 kB / 1.188 GB, free: 14.36 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001044/0.9008, allocations: 0.6659 MB / 1.189 GB, free: 13.59 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.005e-06/0.9008, allocations: 4 kB / 1.189 GB, free: 13.59 MB / 0.92 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001581/0.9024, allocations: 0.8633 MB / 1.189 GB, free: 12.71 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 5.562e-05/0.9025, allocations: 63.41 kB / 1.189 GB, free: 12.63 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.51e-05/0.9025, allocations: 16.05 kB / 1.189 GB, free: 12.62 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.76e-05/0.9025, allocations: 15.94 kB / 1.19 GB, free: 12.6 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004264/0.903, allocations: 123.6 kB / 1.19 GB, free: 12.48 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.762e-05/0.903, allocations: 12 kB / 1.19 GB, free: 12.47 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006408/0.9036, allocations: 123.2 kB / 1.19 GB, free: 12.35 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.096e-05/0.9037, allocations: 47.98 kB / 1.19 GB, free: 12.3 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006899/0.9044, allocations: 418 kB / 1.19 GB, free: 11.89 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006451/0.9051, allocations: 485 kB / 1.191 GB, free: 11.32 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009513/0.906, allocations: 0.662 MB / 1.191 GB, free: 10.55 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.958e-06/0.9061, allocations: 0 / 1.191 GB, free: 10.55 MB / 0.92 GB Notification: Performance of matching and sorting (n=108) (initialization_lambda0): time 0.00147/0.9075, allocations: 0.8629 MB / 1.192 GB, free: 9.668 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 5.209e-05/0.9076, allocations: 67.39 kB / 1.192 GB, free: 9.59 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.9076, allocations: 4 kB / 1.192 GB, free: 9.586 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.096e-05/0.9076, allocations: 12 kB / 1.192 GB, free: 9.574 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003872/0.908, allocations: 115.8 kB / 1.192 GB, free: 9.461 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.749e-05/0.908, allocations: 20.38 kB / 1.192 GB, free: 9.441 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006341/0.9087, allocations: 115.4 kB / 1.192 GB, free: 9.328 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.077e-05/0.9088, allocations: 43.98 kB / 1.193 GB, free: 9.285 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 55 ($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,heaAhu.y,$PRE.heaAhu.y,cooAhu.y,$PRE.cooAhu.y,dam1.or4.y,dam1.or3.y,dam1.or1.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.greThr2.greHys.y,$PRE.dam1.greThr2.greHys.y,dam1.greThr1.greHys.y,$PRE.dam1.greThr1.greHys.y,dam1.y1HeaDam,dam1.y1CooDam,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition15,dam1.conCooDam.cheYMinMax.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (104): * Single equations (assignments): 102 * 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.0002626/0.909, allocations: 260 kB / 1.193 GB, free: 9.023 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.401e-05/0.9091, allocations: 59.25 kB / 1.193 GB, free: 8.965 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001263/0.9104, allocations: 0.6323 MB / 1.193 GB, free: 8.328 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.411e-05/0.9104, allocations: 15.84 kB / 1.193 GB, free: 8.312 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.9104, allocations: 4 kB / 1.193 GB, free: 8.309 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001248/0.9106, allocations: 140.2 kB / 1.194 GB, free: 8.152 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.845e-05/0.9107, allocations: 20 kB / 1.194 GB, free: 8.133 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002871/0.911, allocations: 31.95 kB / 1.194 GB, free: 8.102 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001741/0.9111, allocations: 88.55 kB / 1.194 GB, free: 8.016 MB / 0.92 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001377/0.9125, allocations: 0.6768 MB / 1.194 GB, free: 7.336 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001726/0.9143, allocations: 1.059 MB / 1.195 GB, free: 6.258 MB / 0.92 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005065/0.9148, allocations: 309.1 kB / 1.196 GB, free: 5.953 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0003329/0.9151, allocations: 294.9 kB / 1.196 GB, free: 5.668 MB / 0.92 GB Notification: Performance of Backend: time 4.71e-07/0.9151, allocations: 0 / 1.196 GB, free: 5.668 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.002295/0.9174, allocations: 1.212 MB / 1.197 GB, free: 4.406 MB / 0.92 GB Notification: Performance of SimCode: time 0.002461/0.9199, allocations: 1.558 MB / 1.199 GB, free: 2.801 MB / 0.92 GB Notification: Performance of Templates: time 0.0229/0.9428, allocations: 11.5 MB / 1.21 GB, free: 7.41 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.DampersSingleSensors.makefile (rm -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.DampersSingleSensors.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.DampersSingleSensors.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.DampersSingleSensors.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.DampersSingleSensors.sim & ./Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.DampersSingleSensors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.DampersSingleSensors.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.DampersSingleSensors_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctSnapActing_Subsequences_Validation_DampersSingleSensors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.DampersSingleSensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches