Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.DampersSingleSensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001804/0.001804, allocations: 95.92 kB / 19.7 MB, free: 2.129 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002176/0.002176, allocations: 209.1 kB / 23 MB, free: 4.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.516/1.516, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.439/3.439, allocations: 0.49 GB / 0.7959 GB, free: 35.47 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.DampersSingleSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_12_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=2500,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_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.DampersSingleSensors") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002082/0.002082, allocations: 66.38 kB / 1.155 GB, free: 25.22 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.419/0.4211, allocations: 176.1 MB / 1.327 GB, free: 0.9688 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.DampersSingleSensors): time 0.004855/0.4259, allocations: 2.471 MB / 1.33 GB, free: 14.49 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.004187/0.4301, allocations: 2.067 MB / 1.332 GB, free: 12.41 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006832/0.4308, allocations: 31.81 kB / 1.332 GB, free: 12.38 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.000405/0.4312, allocations: 114.7 kB / 1.332 GB, free: 12.27 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0003382/0.4315, allocations: 118.8 kB / 1.332 GB, free: 12.15 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001424/0.433, allocations: 0.5724 MB / 1.332 GB, free: 11.58 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001327/0.4343, allocations: 1.122 MB / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007666/0.4351, allocations: 385 kB / 1.334 GB, free: 10.05 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007339/0.4358, allocations: 450.4 kB / 1.334 GB, free: 9.613 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005416/0.4363, allocations: 442 kB / 1.335 GB, free: 9.18 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001787/0.4365, allocations: 124 kB / 1.335 GB, free: 9.059 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002362/0.4368, allocations: 132 kB / 1.335 GB, free: 8.93 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.000223/0.437, allocations: 231.3 kB / 1.335 GB, free: 8.703 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0004084/0.4374, allocations: 382.2 kB / 1.336 GB, free: 8.328 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001867/0.4393, allocations: 1.49 MB / 1.337 GB, free: 6.832 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.4393, allocations: 0 / 1.337 GB, free: 6.832 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.295e-06/0.4393, allocations: 0 / 1.337 GB, free: 6.832 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.78e-05/0.4393, allocations: 0 / 1.337 GB, free: 6.832 MB / 1.029 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.002836/0.4421, allocations: 1.228 MB / 1.338 GB, free: 5.547 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.371e-05/0.4422, allocations: 8.031 kB / 1.338 GB, free: 5.539 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003532/0.4425, allocations: 120.3 kB / 1.338 GB, free: 5.422 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001635/0.4442, allocations: 0.5916 MB / 1.339 GB, free: 4.809 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.849e-05/0.4442, allocations: 66.38 kB / 1.339 GB, free: 4.742 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001503/0.4444, allocations: 88.36 kB / 1.339 GB, free: 4.656 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001546/0.4459, allocations: 0.8072 MB / 1.34 GB, free: 3.82 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.39e-05/0.446, allocations: 3.938 kB / 1.34 GB, free: 3.816 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.683e-05/0.446, allocations: 35.98 kB / 1.34 GB, free: 3.781 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.55e-05/0.4461, allocations: 20 kB / 1.34 GB, free: 3.762 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001077/0.4471, allocations: 0.5076 MB / 1.34 GB, free: 3.25 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003499/0.4506, allocations: 1.789 MB / 1.342 GB, free: 1.406 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009996/0.4516, allocations: 472.2 kB / 1.343 GB, free: 0.9375 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003968/0.452, allocations: 186.1 kB / 1.343 GB, free: 0.75 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 5.083e-05/0.4521, allocations: 16.36 kB / 1.343 GB, free: 0.7305 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006669/0.4527, allocations: 324.1 kB / 1.343 GB, free: 412 kB / 1.029 GB Notification: Performance of pre-optimization done (n=63): time 3.186e-06/0.4528, allocations: 0 / 1.343 GB, free: 412 kB / 1.029 GB Notification: Performance of matching and sorting (n=63): time 0.001554/0.4543, allocations: 0.685 MB / 1.344 GB, free: 15.71 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.499e-05/0.4544, allocations: 64 kB / 1.344 GB, free: 15.63 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006259/0.455, allocations: 477.7 kB / 1.344 GB, free: 15.15 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 8.986e-05/0.4551, allocations: 53.69 kB / 1.344 GB, free: 15.09 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003357/0.4554, allocations: 384.6 kB / 1.345 GB, free: 14.71 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001837/0.4556, allocations: 186.5 kB / 1.345 GB, free: 14.53 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002822/0.4559, allocations: 170.6 kB / 1.345 GB, free: 14.36 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0002069/0.4561, allocations: 374.8 kB / 1.345 GB, free: 13.98 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005683/0.4567, allocations: 288.1 kB / 1.346 GB, free: 13.69 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007491/0.4574, allocations: 0.512 MB / 1.346 GB, free: 13.07 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001036/0.4584, allocations: 0.6357 MB / 1.347 GB, free: 12.34 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.836e-06/0.4584, allocations: 4 kB / 1.347 GB, free: 12.34 MB / 1.045 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001635/0.4601, allocations: 0.8615 MB / 1.348 GB, free: 11.44 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 7.669e-05/0.4602, allocations: 71.39 kB / 1.348 GB, free: 11.36 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.312e-05/0.4602, allocations: 4 kB / 1.348 GB, free: 11.36 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.103e-05/0.4602, allocations: 16.62 kB / 1.348 GB, free: 11.34 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004459/0.4606, allocations: 119.7 kB / 1.348 GB, free: 11.22 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.985e-05/0.4607, allocations: 11.94 kB / 1.348 GB, free: 11.21 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006532/0.4613, allocations: 123.4 kB / 1.348 GB, free: 11.09 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-05/0.4614, allocations: 43.98 kB / 1.348 GB, free: 11.05 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007805/0.4622, allocations: 449.4 kB / 1.348 GB, free: 10.59 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007064/0.4629, allocations: 0.5004 MB / 1.349 GB, free: 9.988 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009911/0.4639, allocations: 0.6162 MB / 1.349 GB, free: 9.27 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.752e-06/0.4639, allocations: 4 kB / 1.349 GB, free: 9.266 MB / 1.045 GB Notification: Performance of matching and sorting (n=96) (initialization_lambda0): time 0.001492/0.4654, allocations: 0.8543 MB / 1.35 GB, free: 8.379 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 6.047e-05/0.4654, allocations: 67.39 kB / 1.35 GB, free: 8.301 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.4654, allocations: 8 kB / 1.35 GB, free: 8.293 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.4655, allocations: 12 kB / 1.35 GB, free: 8.281 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004157/0.4659, allocations: 107.8 kB / 1.351 GB, free: 8.176 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.556e-05/0.4659, allocations: 15.94 kB / 1.351 GB, free: 8.16 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005944/0.4665, allocations: 115.7 kB / 1.351 GB, free: 8.047 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.406e-05/0.4666, allocations: 43.98 kB / 1.351 GB, free: 8.004 MB / 1.045 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,dam1.y1CooDam,dam1.y1HeaDam,dam1.greThr1.greHys.y,$PRE.dam1.greThr1.greHys.y,dam1.greThr2.greHys.y,$PRE.dam1.greThr2.greHys.y,dam1.falEdg.y,dam1.falEdg.not_u,$PRE.dam1.falEdg.not_u,dam1.and2.y,dam1.and3.y,dam1.samHea.y,dam1.samCoo.y,dam1.greThr4.greHys.y,$PRE.dam1.greThr4.greHys.y,dam1.greThr5.greHys.y,$PRE.dam1.greThr5.greHys.y,dam1.lat.y,dam1.lat1.y,dam1.or1.y,dam1.or3.y,dam1.or4.y,cooAhu.y,$PRE.cooAhu.y,heaAhu.y,$PRE.heaAhu.y,$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.0003185/0.4669, allocations: 248.5 kB / 1.351 GB, free: 7.754 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001201/0.467, allocations: 59.62 kB / 1.351 GB, free: 7.695 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001249/0.4682, allocations: 0.5657 MB / 1.352 GB, free: 7.121 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.214e-05/0.4683, allocations: 7.922 kB / 1.352 GB, free: 7.113 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.4683, allocations: 0 / 1.352 GB, free: 7.113 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001189/0.4684, allocations: 71.39 kB / 1.352 GB, free: 7.043 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.04e-05/0.4685, allocations: 19.98 kB / 1.352 GB, free: 7.023 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002639/0.4687, allocations: 27.97 kB / 1.352 GB, free: 6.996 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001611/0.4689, allocations: 72.53 kB / 1.352 GB, free: 6.926 MB / 1.045 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001246/0.4701, allocations: 0.6026 MB / 1.352 GB, free: 6.316 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001614/0.4717, allocations: 0.9541 MB / 1.353 GB, free: 5.348 MB / 1.045 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004227/0.4722, allocations: 213.1 kB / 1.353 GB, free: 5.137 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0003601/0.4725, allocations: 290.9 kB / 1.354 GB, free: 4.855 MB / 1.045 GB Notification: Performance of Backend: time 1.112e-06/0.4725, allocations: 0 / 1.354 GB, free: 4.855 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.002318/0.4748, allocations: 1.149 MB / 1.355 GB, free: 3.637 MB / 1.045 GB Notification: Performance of SimCode: time 0.002475/0.4773, allocations: 1.566 MB / 1.356 GB, free: 2.02 MB / 1.045 GB Notification: Performance of Templates: time 0.02244/0.4998, allocations: 12.18 MB / 1.368 GB, free: 6.066 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.DampersSingleSensors.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.DampersSingleSensors.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.DampersSingleSensors.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.DampersSingleSensors.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.DampersSingleSensors.sim & ./Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.DampersSingleSensors -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.DampersSingleSensors.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.DampersSingleSensors_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctSnapActing_Subsequences_Validation_DampersSingleSensors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctSnapActing.Subsequences.Validation.DampersSingleSensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.873219061999407]