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.0008027/0.0008027, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001064/0.001866, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0006895/0.0006895, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009259/0.001615, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.056/1.056, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1035/1.159, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.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.814/1.814, allocations: 378.4 MB / 0.6079 GB, free: 7.707 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5547/2.369, allocations: 123.3 MB / 0.7283 GB, free: 5.734 MB / 0.698 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 3.296e-06/3.296e-06, allocations: 0 / 0.7297 GB, free: 4.406 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.989e-05/4.318e-05, allocations: 6.25 kB / 0.7297 GB, free: 4.398 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.003119/0.003162, allocations: 0.7171 MB / 0.7304 GB, free: 3.711 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001755/0.004917, allocations: 1.213 MB / 0.7316 GB, free: 2.488 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.567e-05/0.004973, allocations: 1.344 kB / 0.7316 GB, free: 2.488 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 3.202e-05/0.005005, allocations: 3.938 kB / 0.7316 GB, free: 2.484 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 6.052e-05/0.005066, allocations: 7.938 kB / 0.7316 GB, free: 2.48 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004642/0.00553, allocations: 146 kB / 0.7317 GB, free: 2.34 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0002413/0.005771, allocations: 135.6 kB / 0.7318 GB, free: 2.219 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 9.896e-05/0.00587, allocations: 9.625 kB / 0.7318 GB, free: 2.211 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001668/0.006037, allocations: 90.98 kB / 0.7319 GB, free: 2.125 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001466/0.006183, allocations: 41.98 kB / 0.732 GB, free: 2.086 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 3.139e-05/0.006215, allocations: 12.5 kB / 0.732 GB, free: 2.074 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001004/0.006315, allocations: 21.59 kB / 0.732 GB, free: 2.055 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 3.507e-05/0.00635, allocations: 13.75 kB / 0.732 GB, free: 2.043 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 6.958e-05/0.00642, allocations: 29.39 kB / 0.732 GB, free: 2.016 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001921/0.006612, allocations: 83.78 kB / 0.7321 GB, free: 1.934 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.566e-05/0.006628, allocations: 0.8125 kB / 0.7321 GB, free: 1.934 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.225e-06/0.00663, allocations: 0 / 0.7321 GB, free: 1.934 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.838e-05/0.006648, allocations: 1.406 kB / 0.7321 GB, free: 1.934 MB / 0.698 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.0006719/0.00732, allocations: 338 kB / 0.7325 GB, free: 1.57 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.471e-05/0.007365, allocations: 8.031 kB / 0.7325 GB, free: 1.562 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.053e-05/0.007425, allocations: 21.45 kB / 0.7325 GB, free: 1.543 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001903/0.007616, allocations: 127.2 kB / 0.7326 GB, free: 1.395 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.68e-05/0.007642, allocations: 8.359 kB / 0.7326 GB, free: 1.387 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.182e-05/0.007674, allocations: 16.38 kB / 0.7326 GB, free: 1.371 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001431/0.007817, allocations: 78.89 kB / 0.7327 GB, free: 1.285 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.007828, allocations: 5.219 kB / 0.7327 GB, free: 1.281 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.441e-05/0.007842, allocations: 8.359 kB / 0.7327 GB, free: 1.273 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.255e-06/0.007851, allocations: 4.375 kB / 0.7327 GB, free: 1.27 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.083e-05/0.007901, allocations: 20.42 kB / 0.7327 GB, free: 1.25 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004223/0.008324, allocations: 201.8 kB / 0.7329 GB, free: 1.039 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001419/0.008466, allocations: 66.58 kB / 0.733 GB, free: 0.9648 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.73e-05/0.008503, allocations: 25.48 kB / 0.733 GB, free: 0.9375 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.788e-06/0.008513, allocations: 4 kB / 0.733 GB, free: 0.9336 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001947/0.008707, allocations: 112.7 kB / 0.7331 GB, free: 0.8125 MB / 0.698 GB Notification: Performance of pre-optimization done (n=13): time 2.224e-06/0.00871, allocations: 1.594 kB / 0.7331 GB, free: 0.8125 MB / 0.698 GB Notification: Performance of matching and sorting (n=13): time 0.0002229/0.008932, allocations: 125.5 kB / 0.7332 GB, free: 0.6836 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.588e-05/0.008978, allocations: 59.41 kB / 0.7333 GB, free: 0.6133 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.941e-05/0.009068, allocations: 110.7 kB / 0.7334 GB, free: 0.4922 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.193e-05/0.0091, allocations: 39.03 kB / 0.7334 GB, free: 460 kB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.09e-05/0.009151, allocations: 95.94 kB / 0.7335 GB, free: 360 kB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.415e-05/0.009185, allocations: 27.83 kB / 0.7336 GB, free: 332 kB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.708e-05/0.009262, allocations: 46.34 kB / 0.7336 GB, free: 280 kB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000125/0.009387, allocations: 318.8 kB / 0.7339 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.106e-05/0.009468, allocations: 58.81 kB / 0.734 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.294e-05/0.009561, allocations: 105.8 kB / 0.7341 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000126/0.009687, allocations: 115.6 kB / 0.7342 GB, free: 15.63 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.00969, allocations: 0 / 0.7342 GB, free: 15.63 MB / 0.7136 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002303/0.00992, allocations: 187.3 kB / 0.7344 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 4.922e-05/0.009969, allocations: 41.69 kB / 0.7344 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.009976, allocations: 0 / 0.7344 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.012e-05/0.009997, allocations: 8.844 kB / 0.7344 GB, free: 15.38 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.491e-05/0.01008, allocations: 19.92 kB / 0.7344 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.06e-06/0.01009, allocations: 1.219 kB / 0.7344 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001548/0.01024, allocations: 31.92 kB / 0.7345 GB, free: 15.33 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.954e-05/0.01026, allocations: 8.484 kB / 0.7345 GB, free: 15.32 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 0.0001067/0.01037, allocations: 123.3 kB / 0.7346 GB, free: 15.19 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.431e-05/0.01039, allocations: 15.98 kB / 0.7346 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.592e-05/0.01043, allocations: 12.44 kB / 0.7346 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.01043, allocations: 8.578 kB / 0.7346 GB, free: 15.15 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.01044, allocations: 4.75 kB / 0.7346 GB, free: 15.15 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.01044, allocations: 0 / 0.7346 GB, free: 15.15 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002746/0.01072, allocations: 254 kB / 0.7349 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.01072, allocations: 0 / 0.7349 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.953e-05/0.01076, allocations: 17.89 kB / 0.7349 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 9.808e-06/0.01077, allocations: 4 kB / 0.7349 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/0.01077, allocations: 3.938 kB / 0.7349 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.687e-06/0.01078, allocations: 0 / 0.7349 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.01078, allocations: 0 / 0.7349 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.01078, allocations: 4 kB / 0.7349 GB, free: 14.85 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001644/0.01095, allocations: 196.8 kB / 0.7351 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.329e-05/0.01097, allocations: 7.938 kB / 0.7351 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.386e-05/0.01106, allocations: 7.984 kB / 0.7351 GB, free: 14.63 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.68e-05/0.0111, allocations: 17.22 kB / 0.7351 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.014e-05/0.01111, allocations: 0 / 0.7351 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.23e-05/0.01113, allocations: 20.84 kB / 0.7351 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of sort global known variables: time 9e-08/0.01113, allocations: 9.125 kB / 0.7351 GB, free: 14.58 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000246/0.01138, allocations: 35.94 kB / 0.7352 GB, free: 14.55 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.0001912/0.01157, allocations: 89.25 kB / 0.7353 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002303/0.0118, allocations: 191.4 kB / 0.7354 GB, free: 14.25 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.01181, allocations: 3.938 kB / 0.7354 GB, free: 14.25 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.061e-05/0.01188, allocations: 48.77 kB / 0.7355 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002615/0.01214, allocations: 83.33 kB / 0.7356 GB, free: 14.1 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000622/0.01276, allocations: 182.7 kB / 0.7357 GB, free: 13.9 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.553e-05/0.01281, allocations: 59.34 kB / 0.7358 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.168e-05/0.01286, allocations: 15.52 kB / 0.7358 GB, free: 13.81 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001072/0.01296, allocations: 71.36 kB / 0.7359 GB, free: 13.74 MB / 0.7136 GB Notification: Performance of SimCode: time 7.82e-07/0.01297, allocations: 0 / 0.7359 GB, free: 13.74 MB / 0.7136 GB Notification: Performance of Templates: time 0.00448/0.01745, allocations: 1.891 MB / 0.7377 GB, free: 11.95 MB / 0.7136 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 -emit_protected -ignoreHideResult -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.978324689902365]