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.0008602/0.0008602, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001152/0.002012, allocations: 435.8 kB / 10.33 MB, free: 368 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.0007062/0.0007062, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009182/0.001624, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.004/1.004, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0934/1.097, allocations: 53.66 MB / 243.2 MB, free: 15.59 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.392/2.392, allocations: 446.7 MB / 0.6745 GB, free: 6.215 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2495/2.642, allocations: 145.9 MB / 0.817 GB, free: 4.215 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 3.306e-06/3.306e-06, allocations: 4 kB / 0.8183 GB, free: 2.887 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.879e-05/2.209e-05, allocations: 2.312 kB / 0.8183 GB, free: 2.883 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.001781/0.001803, allocations: 0.7097 MB / 0.819 GB, free: 2.172 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.00151/0.003312, allocations: 1.213 MB / 0.8202 GB, free: 0.9453 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.517e-05/0.003358, allocations: 0 / 0.8202 GB, free: 0.9453 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 2.763e-05/0.003385, allocations: 7.938 kB / 0.8202 GB, free: 0.9375 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 4.709e-05/0.003432, allocations: 7.875 kB / 0.8202 GB, free: 0.9297 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003951/0.003827, allocations: 143.5 kB / 0.8204 GB, free: 0.7891 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0002192/0.004047, allocations: 135.8 kB / 0.8205 GB, free: 0.6562 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 8.559e-05/0.004132, allocations: 11.98 kB / 0.8205 GB, free: 0.6445 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001438/0.004276, allocations: 87.86 kB / 0.8206 GB, free: 0.5586 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001315/0.004407, allocations: 43.88 kB / 0.8206 GB, free: 0.5156 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 2.969e-05/0.004437, allocations: 12 kB / 0.8206 GB, free: 0.5039 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 9.513e-05/0.004532, allocations: 27.98 kB / 0.8207 GB, free: 488 kB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 2.716e-05/0.004559, allocations: 8 kB / 0.8207 GB, free: 480 kB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 6.094e-05/0.00462, allocations: 31.94 kB / 0.8207 GB, free: 448 kB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001791/0.004799, allocations: 83.72 kB / 0.8208 GB, free: 364 kB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.627e-05/0.004816, allocations: 0 / 0.8208 GB, free: 364 kB / 0.7917 GB Notification: Performance of FrontEnd: time 6.81e-07/0.004816, allocations: 0 / 0.8208 GB, free: 364 kB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.761e-05/0.004834, allocations: 0 / 0.8208 GB, free: 364 kB / 0.7917 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.0006199/0.005454, allocations: 342.1 kB / 0.8211 GB, free: 15.98 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.005493, allocations: 8.625 kB / 0.8211 GB, free: 15.98 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.296e-05/0.005546, allocations: 20.92 kB / 0.8211 GB, free: 15.96 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001702/0.005716, allocations: 117.7 kB / 0.8212 GB, free: 15.82 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.629e-05/0.005742, allocations: 16.3 kB / 0.8213 GB, free: 15.8 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.523e-05/0.005767, allocations: 8.375 kB / 0.8213 GB, free: 15.8 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001519/0.005919, allocations: 86.83 kB / 0.8213 GB, free: 15.7 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.005928, allocations: 192 / 0.8213 GB, free: 15.7 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.438e-05/0.005943, allocations: 8.359 kB / 0.8214 GB, free: 15.7 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.005948, allocations: 384 / 0.8214 GB, free: 15.7 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.584e-05/0.006004, allocations: 27.92 kB / 0.8214 GB, free: 15.67 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004184/0.006423, allocations: 208.1 kB / 0.8216 GB, free: 15.45 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001353/0.006558, allocations: 58.53 kB / 0.8216 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.516e-05/0.006593, allocations: 20.84 kB / 0.8217 GB, free: 15.36 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 6.903e-06/0.0066, allocations: 4 kB / 0.8217 GB, free: 15.36 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002045/0.006804, allocations: 122.4 kB / 0.8218 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=13): time 1.593e-06/0.006806, allocations: 3.938 kB / 0.8218 GB, free: 15.22 MB / 0.8073 GB Notification: Performance of matching and sorting (n=13): time 0.0002154/0.007021, allocations: 125.6 kB / 0.8219 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.01e-05/0.007062, allocations: 55.41 kB / 0.822 GB, free: 15.03 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.864e-05/0.00714, allocations: 114.7 kB / 0.8221 GB, free: 14.9 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.876e-05/0.007169, allocations: 37.69 kB / 0.8221 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.289e-05/0.007222, allocations: 88.12 kB / 0.8222 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.715e-05/0.007249, allocations: 31.73 kB / 0.8222 GB, free: 14.74 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.473e-05/0.007324, allocations: 45.67 kB / 0.8223 GB, free: 14.69 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.059e-05/0.007414, allocations: 322.8 kB / 0.8226 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.437e-05/0.007499, allocations: 57.69 kB / 0.8226 GB, free: 14.3 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.923e-05/0.007588, allocations: 101.8 kB / 0.8227 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001208/0.007709, allocations: 119.6 kB / 0.8228 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.007712, allocations: 0 / 0.8228 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002183/0.007931, allocations: 192.9 kB / 0.823 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 4.679e-05/0.007977, allocations: 37.69 kB / 0.823 GB, free: 13.79 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.007983, allocations: 0 / 0.823 GB, free: 13.79 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.007995, allocations: 7.938 kB / 0.8231 GB, free: 13.79 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.529e-05/0.008071, allocations: 15.98 kB / 0.8231 GB, free: 13.77 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.271e-06/0.008077, allocations: 8.438 kB / 0.8231 GB, free: 13.76 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001415/0.008219, allocations: 31.88 kB / 0.8231 GB, free: 13.73 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.948e-05/0.008238, allocations: 7.984 kB / 0.8231 GB, free: 13.72 MB / 0.8073 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.805e-05/0.008326, allocations: 125.8 kB / 0.8232 GB, free: 13.59 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.3e-05/0.008349, allocations: 15.98 kB / 0.8233 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.239e-05/0.008382, allocations: 8.438 kB / 0.8233 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.008385, allocations: 3.938 kB / 0.8233 GB, free: 13.56 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.008388, allocations: 3.984 kB / 0.8233 GB, free: 13.56 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.008393, allocations: 4 kB / 0.8233 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002748/0.008667, allocations: 250.7 kB / 0.8235 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.008669, allocations: 0 / 0.8235 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.286e-05/0.008702, allocations: 7.984 kB / 0.8235 GB, free: 13.28 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.065e-05/0.008713, allocations: 7.953 kB / 0.8235 GB, free: 13.27 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.008717, allocations: 3.938 kB / 0.8235 GB, free: 13.27 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.008727, allocations: 4 kB / 0.8235 GB, free: 13.26 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.008731, allocations: 3.984 kB / 0.8235 GB, free: 13.26 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/0.008732, allocations: 0 / 0.8235 GB, free: 13.26 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001524/0.008885, allocations: 206.7 kB / 0.8237 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.755e-05/0.008912, allocations: 23.88 kB / 0.8238 GB, free: 13.02 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.082e-05/0.008993, allocations: 7.984 kB / 0.8238 GB, free: 13.01 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.503e-05/0.009038, allocations: 11.97 kB / 0.8238 GB, free: 13 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.205e-05/0.00905, allocations: 8 kB / 0.8238 GB, free: 12.99 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.271e-05/0.009073, allocations: 12.84 kB / 0.8238 GB, free: 12.98 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7e-08/0.009073, allocations: 0 / 0.8238 GB, free: 12.98 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002541/0.009327, allocations: 35.94 kB / 0.8238 GB, free: 12.94 MB / 0.8073 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.0001552/0.009482, allocations: 92.41 kB / 0.8239 GB, free: 12.84 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0002842/0.009766, allocations: 185.9 kB / 0.8241 GB, free: 12.64 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.009771, allocations: 0 / 0.8241 GB, free: 12.64 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 6.397e-05/0.009835, allocations: 40.78 kB / 0.8241 GB, free: 12.6 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002194/0.01005, allocations: 30.73 kB / 0.8242 GB, free: 12.57 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000591/0.01065, allocations: 176.8 kB / 0.8243 GB, free: 12.37 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.275e-05/0.01069, allocations: 63.34 kB / 0.8244 GB, free: 12.29 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 4.445e-05/0.01073, allocations: 8.688 kB / 0.8244 GB, free: 12.28 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001037/0.01084, allocations: 79.34 kB / 0.8245 GB, free: 12.2 MB / 0.8073 GB Notification: Performance of SimCode: time 7.81e-07/0.01084, allocations: 0 / 0.8245 GB, free: 12.2 MB / 0.8073 GB Notification: Performance of Templates: time 0.004705/0.01554, allocations: 1.906 MB / 0.8263 GB, free: 10.33 MB / 0.8073 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,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.162783600389957]