Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.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.001484/0.001484, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001835/0.001835, allocations: 173 kB / 24.28 MB, free: 276 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.078/1.078, allocations: 177.1 MB / 204.6 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.857/1.857, allocations: 377.8 MB / 0.6239 GB, free: 8.574 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.Reals.Validation.Limiter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|limiter1.u|limiter1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Limiter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|limiter1.u|limiter1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.134e-06/2.134e-06, allocations: 0.5469 kB / 0.8116 GB, free: 1.977 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.983e-05/2.196e-05, allocations: 2.312 kB / 0.8116 GB, free: 1.973 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Limiter): time 0.001218/0.00124, allocations: 0.6904 MB / 0.8123 GB, free: 1.305 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0007592/0.001999, allocations: 0.8742 MB / 0.8131 GB, free: 428 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.325e-05/0.002032, allocations: 0 / 0.8131 GB, free: 428 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 2.331e-05/0.002055, allocations: 0.6562 kB / 0.8131 GB, free: 428 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 5.7e-05/0.002112, allocations: 7.875 kB / 0.8131 GB, free: 420 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001475/0.00226, allocations: 25.06 kB / 0.8132 GB, free: 396 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 7.322e-05/0.002333, allocations: 31.92 kB / 0.8132 GB, free: 364 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 8.972e-05/0.002423, allocations: 7.984 kB / 0.8132 GB, free: 356 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 7.726e-05/0.0025, allocations: 28.45 kB / 0.8132 GB, free: 328 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 3.934e-05/0.002539, allocations: 14.39 kB / 0.8132 GB, free: 316 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 2.096e-05/0.00256, allocations: 4 kB / 0.8132 GB, free: 312 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 7.253e-06/0.002568, allocations: 0 / 0.8132 GB, free: 312 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.831e-05/0.002586, allocations: 11.98 kB / 0.8132 GB, free: 300 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 1.857e-05/0.002604, allocations: 0 / 0.8132 GB, free: 300 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 7.718e-05/0.002682, allocations: 27.91 kB / 0.8133 GB, free: 272 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 1.973e-06/0.002684, allocations: 4 kB / 0.8133 GB, free: 268 kB / 0.7605 GB Notification: Performance of FrontEnd: time 5.81e-07/0.002684, allocations: 1.156 kB / 0.8133 GB, free: 268 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.627e-06/0.002688, allocations: 0 / 0.8133 GB, free: 268 kB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003767/0.003064, allocations: 369.5 kB / 0.8136 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.003103, allocations: 12.03 kB / 0.8136 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.922e-05/0.003142, allocations: 1.844 kB / 0.8136 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.055e-05/0.003233, allocations: 112.6 kB / 0.8138 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.483e-05/0.003247, allocations: 4.359 kB / 0.8138 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.056e-05/0.003258, allocations: 5.406 kB / 0.8138 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001412/0.003399, allocations: 66.88 kB / 0.8138 GB, free: 15.63 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.362e-06/0.003406, allocations: 1.531 kB / 0.8138 GB, free: 15.63 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.797e-06/0.003414, allocations: 384 / 0.8138 GB, free: 15.63 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.303e-06/0.003422, allocations: 384 / 0.8138 GB, free: 15.63 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.444e-05/0.003456, allocations: 11.92 kB / 0.8138 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000307/0.003763, allocations: 261.8 kB / 0.8141 GB, free: 15.33 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 6.424e-05/0.003827, allocations: 35.06 kB / 0.8141 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.22e-05/0.00385, allocations: 15.73 kB / 0.8141 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.561e-05/0.003865, allocations: 5.625 kB / 0.8141 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.027e-05/0.003885, allocations: 37.39 kB / 0.8142 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 1.133e-06/0.003887, allocations: 0 / 0.8142 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0001396/0.004026, allocations: 45.62 kB / 0.8142 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.801e-05/0.004054, allocations: 56.31 kB / 0.8143 GB, free: 15.1 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.873e-05/0.004123, allocations: 157.9 kB / 0.8144 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.18e-05/0.004135, allocations: 34.17 kB / 0.8145 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.467e-05/0.004179, allocations: 138.8 kB / 0.8146 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.481e-05/0.004194, allocations: 4.484 kB / 0.8146 GB, free: 14.74 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.952e-05/0.004224, allocations: 20.53 kB / 0.8146 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001088/0.004333, allocations: 496.1 kB / 0.8151 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.487e-05/0.004357, allocations: 19.61 kB / 0.8151 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.621e-05/0.004394, allocations: 49.61 kB / 0.8152 GB, free: 14.13 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.139e-05/0.004425, allocations: 17.59 kB / 0.8152 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.522e-06/0.004427, allocations: 0 / 0.8152 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.479e-05/0.004481, allocations: 45.64 kB / 0.8152 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.08e-05/0.004492, allocations: 4 kB / 0.8152 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.004497, allocations: 4.781 kB / 0.8152 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/0.004509, allocations: 4 kB / 0.8152 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.365e-05/0.004572, allocations: 9.078 kB / 0.8152 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.004578, allocations: 3.938 kB / 0.8152 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.537e-05/0.004603, allocations: 17.22 kB / 0.8153 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.837e-06/0.004607, allocations: 0 / 0.8153 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 3.802e-05/0.004645, allocations: 130.9 kB / 0.8154 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 2.305e-05/0.004668, allocations: 49.91 kB / 0.8154 GB, free: 13.83 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 1.393e-05/0.004682, allocations: 12.72 kB / 0.8154 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.6e-07/0.004682, allocations: 0 / 0.8154 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization_lambda0): time 3.751e-05/0.00472, allocations: 39.11 kB / 0.8155 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 3.737e-06/0.004723, allocations: 8 kB / 0.8155 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.71e-07/0.004724, allocations: 0 / 0.8155 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.823e-06/0.004726, allocations: 3.938 kB / 0.8155 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.612e-05/0.004742, allocations: 13.27 kB / 0.8155 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.312e-06/0.004743, allocations: 3.984 kB / 0.8155 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.602e-05/0.004759, allocations: 4 kB / 0.8155 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.776e-06/0.004762, allocations: 7 kB / 0.8155 GB, free: 13.73 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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.0003288/0.005091, allocations: 264.1 kB / 0.8158 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.496e-05/0.005106, allocations: 11.94 kB / 0.8158 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.97e-05/0.005125, allocations: 11.56 kB / 0.8158 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-06/0.005127, allocations: 0 / 0.8158 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/0.00513, allocations: 0 / 0.8158 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.005132, allocations: 0 / 0.8158 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.2e-05/0.005224, allocations: 117.1 kB / 0.8159 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.81e-07/0.005225, allocations: 7.938 kB / 0.8159 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.152e-05/0.005246, allocations: 5.156 kB / 0.8159 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.72e-07/0.005247, allocations: 0 / 0.8159 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.622e-06/0.005253, allocations: 5.234 kB / 0.8159 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.005255, allocations: 7.938 kB / 0.8159 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-07/0.005256, allocations: 0 / 0.8159 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.526e-05/0.005341, allocations: 188.8 kB / 0.8161 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 6.823e-06/0.005348, allocations: 3.984 kB / 0.8161 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.047e-06/0.005357, allocations: 0 / 0.8161 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.435e-05/0.005391, allocations: 9.281 kB / 0.8161 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.071e-05/0.005422, allocations: 3.984 kB / 0.8161 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.874e-06/0.005424, allocations: 4 kB / 0.8161 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.342e-05/0.005457, allocations: 132.2 kB / 0.8163 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.005457, allocations: 0 / 0.8163 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001691/0.005626, allocations: 11.95 kB / 0.8163 GB, free: 12.91 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 6.943e-05/0.005696, allocations: 94.53 kB / 0.8164 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 9.333e-05/0.005789, allocations: 35.3 kB / 0.8164 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.005791, allocations: 0 / 0.8164 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.916e-05/0.00581, allocations: 15.69 kB / 0.8164 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001722/0.005982, allocations: 10.8 kB / 0.8164 GB, free: 12.74 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002641/0.006246, allocations: 114.4 kB / 0.8165 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.556e-05/0.006282, allocations: 63.28 kB / 0.8166 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.068e-05/0.006302, allocations: 4 kB / 0.8166 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.848e-05/0.006331, allocations: 8.5 kB / 0.8166 GB, free: 12.51 MB / 0.7761 GB Notification: Performance of SimCode: time 6.31e-07/0.006331, allocations: 0.9375 kB / 0.8166 GB, free: 12.51 MB / 0.7761 GB Notification: Performance of Templates: time 0.002066/0.008397, allocations: 0.6646 MB / 0.8172 GB, free: 11.87 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Limiter.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.284402752062306]