Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.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.001414/0.001414, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.001733/0.001733, allocations: 161 kB / 24.16 MB, free: 336 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.049/1.049, allocations: 177.2 MB / 204.6 MB, free: 5.484 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.983/1.983, allocations: 377.9 MB / 0.624 GB, free: 8.344 MB / 0.5886 GB " [Timeout remaining time 178] 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.TimerNegativeStartTime,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",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime,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",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 0.7601 GB, free: 6.57 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.251e-05/2.434e-05, allocations: 2.312 kB / 0.7601 GB, free: 6.566 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.001715/0.00174, allocations: 0.7309 MB / 0.7608 GB, free: 5.859 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001211/0.002951, allocations: 1.21 MB / 0.762 GB, free: 4.641 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.849e-05/0.002999, allocations: 4 kB / 0.762 GB, free: 4.637 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.696e-05/0.003026, allocations: 3.938 kB / 0.762 GB, free: 4.633 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 7.306e-05/0.003099, allocations: 12.75 kB / 0.762 GB, free: 4.625 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003944/0.003494, allocations: 140.9 kB / 0.7621 GB, free: 4.488 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001657/0.003659, allocations: 144.3 kB / 0.7623 GB, free: 4.359 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 6.978e-05/0.003729, allocations: 8 kB / 0.7623 GB, free: 4.352 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001085/0.003838, allocations: 87.06 kB / 0.7624 GB, free: 4.27 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001062/0.003944, allocations: 39.92 kB / 0.7624 GB, free: 4.23 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.124e-05/0.003965, allocations: 12.78 kB / 0.7624 GB, free: 4.219 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 7.564e-05/0.004041, allocations: 27.97 kB / 0.7624 GB, free: 4.191 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.285e-05/0.004064, allocations: 20.95 kB / 0.7625 GB, free: 4.172 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 4.505e-05/0.004109, allocations: 39.97 kB / 0.7625 GB, free: 4.133 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001348/0.004244, allocations: 107.7 kB / 0.7626 GB, free: 4.027 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.004246, allocations: 0.6875 kB / 0.7626 GB, free: 4.027 MB / 0.7136 GB Notification: Performance of FrontEnd: time 5.61e-07/0.004246, allocations: 0 / 0.7626 GB, free: 4.027 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.897e-06/0.00425, allocations: 1.781 kB / 0.7626 GB, free: 4.027 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003892/0.004639, allocations: 314.4 kB / 0.7629 GB, free: 3.688 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.395e-05/0.004673, allocations: 12.03 kB / 0.7629 GB, free: 3.676 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.51e-05/0.004709, allocations: 12.92 kB / 0.7629 GB, free: 3.664 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001475/0.004856, allocations: 122.8 kB / 0.763 GB, free: 3.52 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.865e-05/0.004875, allocations: 16.3 kB / 0.7631 GB, free: 3.504 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.911e-05/0.004894, allocations: 13.12 kB / 0.7631 GB, free: 3.492 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.919e-05/0.004993, allocations: 82.89 kB / 0.7631 GB, free: 3.402 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.005001, allocations: 0.9375 kB / 0.7631 GB, free: 3.402 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.197e-06/0.00501, allocations: 4.359 kB / 0.7631 GB, free: 3.398 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.012e-06/0.005016, allocations: 4.938 kB / 0.7632 GB, free: 3.395 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.528e-05/0.005051, allocations: 23.92 kB / 0.7632 GB, free: 3.371 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002866/0.005338, allocations: 202 kB / 0.7634 GB, free: 3.16 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 9.081e-05/0.005428, allocations: 62.55 kB / 0.7634 GB, free: 3.09 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.373e-05/0.005452, allocations: 21.88 kB / 0.7634 GB, free: 3.066 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 7.945e-06/0.00546, allocations: 4 kB / 0.7635 GB, free: 3.062 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001327/0.005593, allocations: 127.2 kB / 0.7636 GB, free: 2.93 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=13): time 1.143e-06/0.005594, allocations: 2.156 kB / 0.7636 GB, free: 2.93 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13): time 0.0001586/0.005753, allocations: 121.6 kB / 0.7637 GB, free: 2.805 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.635e-05/0.005789, allocations: 55.41 kB / 0.7637 GB, free: 2.738 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.031e-05/0.005849, allocations: 114.7 kB / 0.7639 GB, free: 2.613 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.103e-05/0.00587, allocations: 37.64 kB / 0.7639 GB, free: 2.57 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.643e-05/0.005907, allocations: 95.95 kB / 0.764 GB, free: 2.473 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.215e-05/0.005929, allocations: 34.5 kB / 0.764 GB, free: 2.441 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.169e-05/0.005981, allocations: 45.69 kB / 0.7641 GB, free: 2.391 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.342e-05/0.006054, allocations: 318.8 kB / 0.7644 GB, free: 2.07 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.277e-05/0.006107, allocations: 57.69 kB / 0.7644 GB, free: 2.008 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.542e-05/0.006172, allocations: 99.45 kB / 0.7645 GB, free: 1.891 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.894e-05/0.006261, allocations: 122.5 kB / 0.7646 GB, free: 1.754 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.006263, allocations: 0 / 0.7646 GB, free: 1.754 MB / 0.7136 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001554/0.006419, allocations: 185.8 kB / 0.7648 GB, free: 1.555 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.056e-05/0.006449, allocations: 37.69 kB / 0.7648 GB, free: 1.512 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.006454, allocations: 0.9375 kB / 0.7648 GB, free: 1.512 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.183e-05/0.006466, allocations: 7.938 kB / 0.7649 GB, free: 1.504 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.098e-05/0.006517, allocations: 17 kB / 0.7649 GB, free: 1.488 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.006521, allocations: 7.922 kB / 0.7649 GB, free: 1.48 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.747e-05/0.006619, allocations: 33.77 kB / 0.7649 GB, free: 1.449 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.349e-05/0.006632, allocations: 7.984 kB / 0.7649 GB, free: 1.441 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 16 (thrTim.passed,$PRE.thrTim.passed,noThr.passed,$PRE.noThr.passed,$whenCondition5,$whenCondition6,booPul.y,$PRE.booPul.y,thrTim.entryTime,$PRE.thrTim.entryTime,noThr.entryTime,$PRE.noThr.entryTime,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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 7.695e-05/0.006709, allocations: 121.8 kB / 0.765 GB, free: 1.312 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.685e-05/0.006726, allocations: 12.64 kB / 0.765 GB, free: 1.301 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.855e-05/0.006755, allocations: 13.09 kB / 0.7651 GB, free: 1.285 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.006758, allocations: 3.938 kB / 0.7651 GB, free: 1.281 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.784e-06/0.00676, allocations: 0.5 kB / 0.7651 GB, free: 1.281 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.006764, allocations: 7.266 kB / 0.7651 GB, free: 1.277 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001815/0.006945, allocations: 254.7 kB / 0.7653 GB, free: 1.004 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.006947, allocations: 0 / 0.7653 GB, free: 1.004 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.785e-05/0.006965, allocations: 4 kB / 0.7653 GB, free: 1 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.006966, allocations: 0 / 0.7653 GB, free: 1 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.004e-05/0.006976, allocations: 11.92 kB / 0.7653 GB, free: 0.9883 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.006978, allocations: 0 / 0.7653 GB, free: 0.9883 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.006978, allocations: 0 / 0.7653 GB, free: 0.9883 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003545/0.007333, allocations: 199.4 kB / 0.7655 GB, free: 0.7773 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 9.077e-06/0.007342, allocations: 14.39 kB / 0.7655 GB, free: 0.7656 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.66e-05/0.007359, allocations: 11.92 kB / 0.7655 GB, free: 0.7539 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.564e-05/0.007404, allocations: 11.98 kB / 0.7656 GB, free: 0.7422 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.351e-05/0.007438, allocations: 7.984 kB / 0.7656 GB, free: 0.7344 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.546e-06/0.007446, allocations: 7.984 kB / 0.7656 GB, free: 0.7266 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.258e-05/0.007459, allocations: 17.16 kB / 0.7656 GB, free: 0.707 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.007459, allocations: 1 kB / 0.7656 GB, free: 0.707 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001621/0.007621, allocations: 39.94 kB / 0.7656 GB, free: 0.668 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition5,$whenCondition6,$whenCondition4,$whenCondition1,$whenCondition2,$whenCondition3,noThr.passed,noThr.entryTime,thrTim.passed,thrTim.entryTime,booPul.y) * Number of discrete states: 2 (noThr.entryTime,thrTim.entryTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.000109/0.00773, allocations: 89.62 kB / 0.7657 GB, free: 0.5742 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001616/0.007892, allocations: 178.7 kB / 0.7659 GB, free: 388 kB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.007894, allocations: 0 / 0.7659 GB, free: 388 kB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.428e-05/0.007938, allocations: 46.45 kB / 0.7659 GB, free: 340 kB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001412/0.00808, allocations: 16.48 kB / 0.7659 GB, free: 324 kB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002407/0.00832, allocations: 187 kB / 0.7661 GB, free: 116 kB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.501e-05/0.008355, allocations: 63.34 kB / 0.7662 GB, free: 32 kB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.847e-05/0.008384, allocations: 8.484 kB / 0.7662 GB, free: 24 kB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.932e-05/0.008473, allocations: 71.36 kB / 0.7663 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of SimCode: time 5.41e-07/0.008474, allocations: 0 / 0.7663 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of Templates: time 0.003415/0.01189, allocations: 1.859 MB / 0.7681 GB, free: 14.2 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime.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.257712578866631]