Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.00106/0.00106, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001489/0.00255, allocations: 440 kB / 10.41 MB, free: 284 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.0008337/0.0008337, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0012/0.002034, allocations: 475.6 kB / 11.8 MB, free: 2.375 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 0.9488/0.9488, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1026/1.051, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.454/2.454, allocations: 447.1 MB / 0.675 GB, free: 5.914 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2422/2.696, allocations: 146 MB / 0.8176 GB, free: 3.832 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.542e-06/1.542e-06, allocations: 0 / 0.8189 GB, free: 2.5 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.179e-05/2.333e-05, allocations: 2.312 kB / 0.8189 GB, free: 2.496 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.001353/0.001377, allocations: 0.7194 MB / 0.8196 GB, free: 1.77 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001107/0.002484, allocations: 1.213 MB / 0.8208 GB, free: 0.543 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.746e-05/0.002531, allocations: 0 / 0.8208 GB, free: 0.543 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 2.301e-05/0.002554, allocations: 0 / 0.8208 GB, free: 0.543 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 4.832e-05/0.002602, allocations: 15.86 kB / 0.8208 GB, free: 0.5273 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003341/0.002936, allocations: 135.5 kB / 0.821 GB, free: 404 kB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0001749/0.003111, allocations: 143.7 kB / 0.8211 GB, free: 260 kB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 8.17e-05/0.003193, allocations: 11.94 kB / 0.8211 GB, free: 248 kB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001197/0.003313, allocations: 87.92 kB / 0.8212 GB, free: 160 kB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001108/0.003423, allocations: 43.86 kB / 0.8212 GB, free: 116 kB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 2.335e-05/0.003447, allocations: 11.94 kB / 0.8213 GB, free: 104 kB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 7.84e-05/0.003525, allocations: 27.98 kB / 0.8213 GB, free: 76 kB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 3.107e-05/0.003556, allocations: 11.94 kB / 0.8213 GB, free: 64 kB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 4.59e-05/0.003602, allocations: 28 kB / 0.8213 GB, free: 36 kB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001684/0.003771, allocations: 79.88 kB / 0.8214 GB, free: 15.95 MB / 0.8074 GB Notification: Performance of FrontEnd - DAE generated: time 1.565e-05/0.003786, allocations: 0 / 0.8214 GB, free: 15.95 MB / 0.8074 GB Notification: Performance of FrontEnd: time 1.242e-06/0.003787, allocations: 4 kB / 0.8214 GB, free: 15.95 MB / 0.8074 GB Notification: Performance of Transformations before backend: time 1.53e-05/0.003803, allocations: 0 / 0.8214 GB, free: 15.95 MB / 0.8074 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.0005442/0.004347, allocations: 345.9 kB / 0.8217 GB, free: 15.58 MB / 0.8074 GB Notification: Performance of prepare preOptimizeDAE: time 3.104e-05/0.004378, allocations: 8.031 kB / 0.8217 GB, free: 15.57 MB / 0.8074 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.895e-05/0.004427, allocations: 20.91 kB / 0.8218 GB, free: 15.55 MB / 0.8074 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001444/0.004571, allocations: 121.7 kB / 0.8219 GB, free: 15.41 MB / 0.8074 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.787e-05/0.004589, allocations: 8.375 kB / 0.8219 GB, free: 15.4 MB / 0.8074 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.349e-05/0.004613, allocations: 12.36 kB / 0.8219 GB, free: 15.39 MB / 0.8074 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001073/0.00472, allocations: 86.83 kB / 0.822 GB, free: 15.3 MB / 0.8074 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.248e-06/0.004729, allocations: 8.109 kB / 0.822 GB, free: 15.29 MB / 0.8074 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.185e-06/0.004737, allocations: 4.375 kB / 0.822 GB, free: 15.29 MB / 0.8074 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.004743, allocations: 4.375 kB / 0.822 GB, free: 15.28 MB / 0.8074 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.75e-05/0.004781, allocations: 31.91 kB / 0.822 GB, free: 15.25 MB / 0.8074 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002959/0.005077, allocations: 196.2 kB / 0.8222 GB, free: 15.04 MB / 0.8074 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001038/0.00518, allocations: 66.56 kB / 0.8223 GB, free: 14.97 MB / 0.8074 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.427e-05/0.005205, allocations: 20.86 kB / 0.8223 GB, free: 14.95 MB / 0.8074 GB Notification: Performance of preOpt evalFunc (simulation): time 6.281e-06/0.005211, allocations: 0 / 0.8223 GB, free: 14.95 MB / 0.8074 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001469/0.005358, allocations: 119.4 kB / 0.8224 GB, free: 14.82 MB / 0.8074 GB Notification: Performance of pre-optimization done (n=13): time 1.432e-06/0.005359, allocations: 0 / 0.8224 GB, free: 14.82 MB / 0.8074 GB Notification: Performance of matching and sorting (n=13): time 0.0001821/0.005541, allocations: 126.2 kB / 0.8225 GB, free: 14.69 MB / 0.8074 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.983e-05/0.005571, allocations: 55.34 kB / 0.8226 GB, free: 14.62 MB / 0.8074 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.311e-05/0.005634, allocations: 122.7 kB / 0.8227 GB, free: 14.49 MB / 0.8074 GB Notification: Performance of collectPreVariables (initialization): time 2.347e-05/0.005658, allocations: 33.7 kB / 0.8227 GB, free: 14.45 MB / 0.8074 GB Notification: Performance of collectInitialEqns (initialization): time 3.513e-05/0.005693, allocations: 88.12 kB / 0.8228 GB, free: 14.36 MB / 0.8074 GB Notification: Performance of collectInitialBindings (initialization): time 2.563e-05/0.005718, allocations: 31.78 kB / 0.8228 GB, free: 14.33 MB / 0.8074 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.997e-05/0.005768, allocations: 45.67 kB / 0.8229 GB, free: 14.28 MB / 0.8074 GB Notification: Performance of setup shared object (initialization): time 7.452e-05/0.005843, allocations: 322.8 kB / 0.8232 GB, free: 13.95 MB / 0.8074 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.377e-05/0.005897, allocations: 57.67 kB / 0.8232 GB, free: 13.89 MB / 0.8074 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.634e-05/0.005963, allocations: 103.3 kB / 0.8233 GB, free: 13.77 MB / 0.8074 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.573e-05/0.006049, allocations: 114.9 kB / 0.8235 GB, free: 13.64 MB / 0.8074 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.006053, allocations: 4 kB / 0.8235 GB, free: 13.63 MB / 0.8074 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001632/0.006216, allocations: 186.3 kB / 0.8236 GB, free: 13.43 MB / 0.8074 GB Notification: Performance of prepare postOptimizeDAE: time 3.643e-05/0.006253, allocations: 41.81 kB / 0.8237 GB, free: 13.39 MB / 0.8074 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.006258, allocations: 4 kB / 0.8237 GB, free: 13.38 MB / 0.8074 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.006272, allocations: 3.938 kB / 0.8237 GB, free: 13.38 MB / 0.8074 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.68e-05/0.006329, allocations: 23.94 kB / 0.8237 GB, free: 13.36 MB / 0.8074 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.006333, allocations: 4 kB / 0.8237 GB, free: 13.35 MB / 0.8074 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001049/0.006438, allocations: 31.86 kB / 0.8237 GB, free: 13.32 MB / 0.8074 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.32e-05/0.006451, allocations: 8 kB / 0.8237 GB, free: 13.31 MB / 0.8074 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 8.024e-05/0.006532, allocations: 130.9 kB / 0.8239 GB, free: 13.18 MB / 0.8074 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.782e-05/0.00655, allocations: 15.98 kB / 0.8239 GB, free: 13.16 MB / 0.8074 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.701e-05/0.006577, allocations: 12.44 kB / 0.8239 GB, free: 13.15 MB / 0.8074 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.006579, allocations: 3.938 kB / 0.8239 GB, free: 13.14 MB / 0.8074 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.224e-06/0.006582, allocations: 0 / 0.8239 GB, free: 13.14 MB / 0.8074 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.006585, allocations: 4 kB / 0.8239 GB, free: 13.14 MB / 0.8074 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001837/0.006769, allocations: 242.8 kB / 0.8241 GB, free: 12.88 MB / 0.8074 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.006771, allocations: 0 / 0.8241 GB, free: 12.88 MB / 0.8074 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.314e-05/0.006794, allocations: 7.938 kB / 0.8241 GB, free: 12.87 MB / 0.8074 GB Notification: Performance of postOpt removeConstants (simulation): time 8.927e-06/0.006803, allocations: 11.95 kB / 0.8242 GB, free: 12.86 MB / 0.8074 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.006806, allocations: 3.938 kB / 0.8242 GB, free: 12.86 MB / 0.8074 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.01e-05/0.006816, allocations: 19.92 kB / 0.8242 GB, free: 12.84 MB / 0.8074 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.006818, allocations: 0 / 0.8242 GB, free: 12.84 MB / 0.8074 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.006819, allocations: 0 / 0.8242 GB, free: 12.84 MB / 0.8074 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001093/0.006928, allocations: 194.7 kB / 0.8244 GB, free: 12.63 MB / 0.8074 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.866e-05/0.006947, allocations: 15.92 kB / 0.8244 GB, free: 12.62 MB / 0.8074 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.793e-05/0.006995, allocations: 4 kB / 0.8244 GB, free: 12.61 MB / 0.8074 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.611e-05/0.007031, allocations: 15.97 kB / 0.8244 GB, free: 12.6 MB / 0.8074 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.125e-06/0.007039, allocations: 7.984 kB / 0.8244 GB, free: 12.59 MB / 0.8074 GB Notification: Performance of sorting global known variables: time 1.428e-05/0.007053, allocations: 8.859 kB / 0.8244 GB, free: 12.58 MB / 0.8074 GB Notification: Performance of sort global known variables: time 5e-08/0.007054, allocations: 3.938 kB / 0.8244 GB, free: 12.57 MB / 0.8074 GB Notification: Performance of remove unused functions: time 0.0001597/0.007213, allocations: 43.92 kB / 0.8245 GB, free: 12.53 MB / 0.8074 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.0001483/0.007361, allocations: 94.66 kB / 0.8246 GB, free: 12.43 MB / 0.8074 GB Notification: Performance of simCode: created initialization part: time 0.0001716/0.007533, allocations: 180.9 kB / 0.8247 GB, free: 12.24 MB / 0.8074 GB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.007538, allocations: 4 kB / 0.8247 GB, free: 12.23 MB / 0.8074 GB Notification: Performance of simCode: created simulation system equations: time 4.977e-05/0.007588, allocations: 48.78 kB / 0.8248 GB, free: 12.18 MB / 0.8074 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001789/0.007767, allocations: 79.38 kB / 0.8248 GB, free: 12.09 MB / 0.8074 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004565/0.008223, allocations: 185.2 kB / 0.825 GB, free: 11.89 MB / 0.8074 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.533e-05/0.008258, allocations: 63.34 kB / 0.8251 GB, free: 11.8 MB / 0.8074 GB Notification: Performance of simCode: alias equations: time 3.302e-05/0.008291, allocations: 4.5 kB / 0.8251 GB, free: 11.8 MB / 0.8074 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.041e-05/0.008382, allocations: 75.34 kB / 0.8252 GB, free: 11.73 MB / 0.8074 GB Notification: Performance of SimCode: time 7.61e-07/0.008383, allocations: 0 / 0.8252 GB, free: 11.73 MB / 0.8074 GB Notification: Performance of Templates: time 0.003715/0.0121, allocations: 1.901 MB / 0.827 GB, free: 9.859 MB / 0.8074 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime/Buildings_latest_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: 5.1899923561140895]