Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.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.001215/0.001215, allocations: 80.8 kB / 20.75 MB, free: 3.738 MB / 18.57 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.001693/0.001693, allocations: 161.4 kB / 24.16 MB, free: 332 kB / 18.57 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.061/1.061, allocations: 177.1 MB / 204.6 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.97/1.97, allocations: 377.9 MB / 0.624 GB, free: 8.352 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.CDL.Logical.Validation.Timer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|noThr.u|noThr.y|noThr.t|noThr.passed|thrTim.u|thrTim.y|thrTim.t|thrTim.passed|thrTim1.u|thrTim1.y|thrTim1.t|thrTim1.passed",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Timer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|noThr.u|noThr.y|noThr.t|noThr.passed|thrTim.u|thrTim.y|thrTim.t|thrTim.passed|thrTim1.u|thrTim1.y|thrTim1.t|thrTim1.passed",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.505e-06/2.505e-06, allocations: 0 / 0.7601 GB, free: 6.547 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.157e-05/3.407e-05, allocations: 9.344 kB / 0.7601 GB, free: 6.539 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.001855/0.00189, allocations: 0.7852 MB / 0.7608 GB, free: 5.777 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001507/0.003396, allocations: 1.314 MB / 0.7621 GB, free: 4.453 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.624e-05/0.003462, allocations: 0.5469 kB / 0.7621 GB, free: 4.453 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 3.406e-05/0.003496, allocations: 3.938 kB / 0.7621 GB, free: 4.449 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001243/0.003621, allocations: 28.19 kB / 0.7621 GB, free: 4.43 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007457/0.004366, allocations: 245.3 kB / 0.7624 GB, free: 4.191 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0003727/0.004739, allocations: 253.7 kB / 0.7626 GB, free: 3.953 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001112/0.00485, allocations: 21.14 kB / 0.7626 GB, free: 3.93 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002004/0.005051, allocations: 147.8 kB / 0.7628 GB, free: 3.785 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001516/0.005202, allocations: 76.84 kB / 0.7629 GB, free: 3.711 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 3.538e-05/0.005238, allocations: 20.69 kB / 0.7629 GB, free: 3.691 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001124/0.00535, allocations: 33.7 kB / 0.7629 GB, free: 3.66 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 3.771e-05/0.005388, allocations: 31.91 kB / 0.7629 GB, free: 3.629 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 7.981e-05/0.005467, allocations: 71.86 kB / 0.763 GB, free: 3.559 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002007/0.005668, allocations: 167.6 kB / 0.7632 GB, free: 3.395 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.005671, allocations: 0 / 0.7632 GB, free: 3.395 MB / 0.7136 GB Notification: Performance of FrontEnd: time 9.32e-07/0.005672, allocations: 0.9688 kB / 0.7632 GB, free: 3.395 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.005676, allocations: 0 / 0.7632 GB, free: 3.395 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0005346/0.006211, allocations: 388.9 kB / 0.7635 GB, free: 2.977 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.006248, allocations: 12.03 kB / 0.7636 GB, free: 2.965 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.218e-05/0.0063, allocations: 25.84 kB / 0.7636 GB, free: 2.941 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001791/0.00648, allocations: 155.3 kB / 0.7637 GB, free: 2.766 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.036e-05/0.0065, allocations: 13.11 kB / 0.7637 GB, free: 2.754 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.467e-05/0.006525, allocations: 20.38 kB / 0.7638 GB, free: 2.734 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001369/0.006661, allocations: 121.3 kB / 0.7639 GB, free: 2.602 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.00667, allocations: 192 / 0.7639 GB, free: 2.602 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.304e-05/0.006683, allocations: 12.95 kB / 0.7639 GB, free: 2.59 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.00669, allocations: 4.359 kB / 0.7639 GB, free: 2.586 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.041e-05/0.00674, allocations: 42.03 kB / 0.7639 GB, free: 2.547 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004093/0.007149, allocations: 320.3 kB / 0.7642 GB, free: 2.215 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001457/0.007295, allocations: 109.1 kB / 0.7643 GB, free: 2.094 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003761/0.007671, allocations: 37.7 kB / 0.7644 GB, free: 2.051 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.225e-05/0.007684, allocations: 4 kB / 0.7644 GB, free: 2.047 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002461/0.00793, allocations: 194.3 kB / 0.7646 GB, free: 1.84 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=22): time 1.874e-06/0.007932, allocations: 0 / 0.7646 GB, free: 1.84 MB / 0.7136 GB Notification: Performance of matching and sorting (n=22): time 0.000264/0.008196, allocations: 187.3 kB / 0.7647 GB, free: 1.656 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.669e-05/0.008242, allocations: 85.05 kB / 0.7648 GB, free: 1.555 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.06e-05/0.008333, allocations: 142.5 kB / 0.765 GB, free: 1.402 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.972e-05/0.008363, allocations: 37.7 kB / 0.765 GB, free: 1.359 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.639e-05/0.008409, allocations: 96.61 kB / 0.7651 GB, free: 1.258 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.903e-05/0.008448, allocations: 51.62 kB / 0.7651 GB, free: 1.207 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.127e-05/0.008529, allocations: 73.64 kB / 0.7652 GB, free: 1.129 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.421e-05/0.008604, allocations: 323.5 kB / 0.7655 GB, free: 0.8047 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.757e-05/0.008691, allocations: 111.7 kB / 0.7656 GB, free: 0.6797 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001066/0.008798, allocations: 173 kB / 0.7658 GB, free: 484 kB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001695/0.008967, allocations: 222 kB / 0.766 GB, free: 224 kB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.008971, allocations: 3.938 kB / 0.766 GB, free: 220 kB / 0.7136 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0002972/0.009269, allocations: 325.7 kB / 0.7663 GB, free: 15.87 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 4.546e-05/0.009314, allocations: 67.39 kB / 0.7664 GB, free: 15.79 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.806e-06/0.009323, allocations: 7.984 kB / 0.7664 GB, free: 15.79 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.009339, allocations: 4 kB / 0.7664 GB, free: 15.78 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.669e-05/0.009416, allocations: 23.94 kB / 0.7664 GB, free: 15.76 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.009421, allocations: 4 kB / 0.7664 GB, free: 15.75 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001652/0.009586, allocations: 57.03 kB / 0.7665 GB, free: 15.7 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.287e-05/0.009609, allocations: 17.3 kB / 0.7665 GB, free: 15.68 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 27 (thrTim.passed,$PRE.thrTim.passed,noThr.passed,$PRE.noThr.passed,$whenCondition10,$whenCondition11,booPul.y,$PRE.booPul.y,thrTim.entryTime,$PRE.thrTim.entryTime,noThr.entryTime,$PRE.noThr.entryTime,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition9,thrTim1.passed,$PRE.thrTim1.passed,$whenCondition4,$whenCondition5,booPul1.y,$PRE.booPul1.y,thrTim1.entryTime,$PRE.thrTim1.entryTime,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 28 * 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.0001081/0.009717, allocations: 147.6 kB / 0.7666 GB, free: 15.53 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.739e-05/0.009745, allocations: 29.5 kB / 0.7667 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.41e-05/0.009779, allocations: 12.44 kB / 0.7667 GB, free: 15.49 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.009783, allocations: 4 kB / 0.7667 GB, free: 15.49 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.574e-06/0.009785, allocations: 0.6562 kB / 0.7667 GB, free: 15.49 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.00979, allocations: 0 / 0.7667 GB, free: 15.49 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002978/0.01009, allocations: 402.7 kB / 0.7671 GB, free: 15.07 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.01009, allocations: 0 / 0.7671 GB, free: 15.07 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.365e-05/0.01012, allocations: 13.14 kB / 0.7671 GB, free: 15.06 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.01013, allocations: 0 / 0.7671 GB, free: 15.06 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.889e-06/0.01014, allocations: 7.984 kB / 0.7671 GB, free: 15.05 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.01014, allocations: 1 kB / 0.7671 GB, free: 15.05 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.01014, allocations: 7.938 kB / 0.7671 GB, free: 15.04 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001867/0.01033, allocations: 315.3 kB / 0.7674 GB, free: 14.72 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.435e-05/0.01034, allocations: 15.88 kB / 0.7674 GB, free: 14.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.517e-05/0.01037, allocations: 12.44 kB / 0.7674 GB, free: 14.69 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.832e-05/0.01045, allocations: 16.58 kB / 0.7674 GB, free: 14.68 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.316e-05/0.0105, allocations: 21.45 kB / 0.7674 GB, free: 14.66 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.422e-05/0.01051, allocations: 11.98 kB / 0.7675 GB, free: 14.64 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.277e-05/0.01054, allocations: 24.83 kB / 0.7675 GB, free: 14.62 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.11e-07/0.01054, allocations: 0 / 0.7675 GB, free: 14.62 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002323/0.01077, allocations: 56.61 kB / 0.7675 GB, free: 14.56 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition4,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,thrTim1.passed,thrTim1.entryTime,booPul1.y,$whenCondition10,$whenCondition11,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition8,noThr.passed,noThr.entryTime,thrTim.passed,thrTim.entryTime,booPul.y) * Number of discrete states: 3 (noThr.entryTime,thrTim.entryTime,thrTim1.entryTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001471/0.01092, allocations: 96.95 kB / 0.7676 GB, free: 14.46 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003157/0.01123, allocations: 335.7 kB / 0.7679 GB, free: 14.1 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/0.01124, allocations: 4 kB / 0.768 GB, free: 14.09 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 8.219e-05/0.01132, allocations: 77.44 kB / 0.768 GB, free: 14.02 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002453/0.01156, allocations: 29.75 kB / 0.7681 GB, free: 13.99 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003914/0.01196, allocations: 245.5 kB / 0.7683 GB, free: 13.72 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.781e-05/0.012, allocations: 75.92 kB / 0.7684 GB, free: 13.63 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 4.897e-05/0.01205, allocations: 13.48 kB / 0.7684 GB, free: 13.62 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001236/0.01218, allocations: 91.34 kB / 0.7685 GB, free: 13.53 MB / 0.7292 GB Notification: Performance of SimCode: time 7.51e-07/0.01218, allocations: 0 / 0.7685 GB, free: 13.53 MB / 0.7292 GB Notification: Performance of Templates: time 0.005396/0.01757, allocations: 3.052 MB / 0.7714 GB, free: 10.66 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Validation_Timer.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.309599325992167]