Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001943/0.001943, allocations: 113.9 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002257/0.002257, allocations: 191.7 kB / 22.23 MB, free: 5.105 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.642/1.642, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.435/3.435, allocations: 0.4893 GB / 0.7884 GB, free: 33.16 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intTimTab.y.1.|intTimTab.y.2.|intTimTab1.y.1.|intTimTab1.y.2.|tabOneRow.y.1.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime") translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intTimTab.y.1.|intTimTab.y.2.|intTimTab1.y.1.|intTimTab1.y.2.|tabOneRow.y.1.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002166/0.002166, allocations: 66.45 kB / 1.145 GB, free: 30.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.452/0.4541, allocations: 174.9 MB / 1.316 GB, free: 9.715 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime): time 0.002149/0.4563, allocations: 0.6818 MB / 1.317 GB, free: 9.035 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002087/0.4584, allocations: 1.357 MB / 1.318 GB, free: 7.664 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.679e-05/0.4584, allocations: 4 kB / 1.318 GB, free: 7.66 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0005386/0.459, allocations: 191.5 kB / 1.318 GB, free: 7.473 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001364/0.4591, allocations: 103.7 kB / 1.318 GB, free: 7.371 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.000788/0.4599, allocations: 242.7 kB / 1.319 GB, free: 7.137 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0006418/0.4606, allocations: 0.4957 MB / 1.319 GB, free: 6.641 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 5.011e-05/0.4606, allocations: 0 / 1.319 GB, free: 6.641 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002339/0.4608, allocations: 211.7 kB / 1.319 GB, free: 6.434 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000367/0.4612, allocations: 223.6 kB / 1.319 GB, free: 6.215 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 9.479e-05/0.4613, allocations: 20 kB / 1.319 GB, free: 6.195 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002711/0.4616, allocations: 107.8 kB / 1.32 GB, free: 6.09 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0004232/0.462, allocations: 275.4 kB / 1.32 GB, free: 5.82 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0002113/0.4622, allocations: 147.3 kB / 1.32 GB, free: 5.676 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0006004/0.4628, allocations: 482.5 kB / 1.32 GB, free: 5.203 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.4628, allocations: 0 / 1.32 GB, free: 5.203 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.114e-06/0.4628, allocations: 0 / 1.32 GB, free: 5.203 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.409e-05/0.4628, allocations: 0 / 1.32 GB, free: 5.203 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001265/0.4641, allocations: 0.567 MB / 1.321 GB, free: 4.602 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.827e-05/0.4642, allocations: 12.03 kB / 1.321 GB, free: 4.59 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001479/0.4643, allocations: 28.8 kB / 1.321 GB, free: 4.562 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006971/0.465, allocations: 330.4 kB / 1.321 GB, free: 4.215 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.205e-05/0.465, allocations: 8.375 kB / 1.321 GB, free: 4.207 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.797e-05/0.4651, allocations: 24.36 kB / 1.321 GB, free: 4.184 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003987/0.4655, allocations: 192.7 kB / 1.322 GB, free: 3.98 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.4655, allocations: 192 / 1.322 GB, free: 3.98 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.798e-05/0.4655, allocations: 3.938 kB / 1.322 GB, free: 3.977 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.603e-06/0.4656, allocations: 0 / 1.322 GB, free: 3.977 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002282/0.4658, allocations: 115.9 kB / 1.322 GB, free: 3.863 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005709/0.4664, allocations: 362.1 kB / 1.322 GB, free: 3.461 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005743/0.4669, allocations: 315.6 kB / 1.322 GB, free: 3.125 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002197/0.4671, allocations: 118.6 kB / 1.322 GB, free: 3 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.342e-05/0.4672, allocations: 0 / 1.322 GB, free: 3 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006084/0.4678, allocations: 285.6 kB / 1.323 GB, free: 2.699 MB / 1.014 GB Notification: Performance of pre-optimization done (n=18): time 1.242e-06/0.4678, allocations: 0 / 1.323 GB, free: 2.699 MB / 1.014 GB Notification: Performance of matching and sorting (n=18): time 0.001003/0.4688, allocations: 0.5094 MB / 1.323 GB, free: 2.184 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001129/0.4689, allocations: 114.8 kB / 1.323 GB, free: 2.047 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005132/0.4694, allocations: 396.5 kB / 1.324 GB, free: 1.645 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 7.137e-05/0.4695, allocations: 41.7 kB / 1.324 GB, free: 1.598 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001932/0.4697, allocations: 152.8 kB / 1.324 GB, free: 1.441 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 5.694e-05/0.4697, allocations: 39.75 kB / 1.324 GB, free: 1.402 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002002/0.4699, allocations: 113.6 kB / 1.324 GB, free: 1.285 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002231/0.4701, allocations: 342.8 kB / 1.324 GB, free: 0.9414 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001428/0.4703, allocations: 87.95 kB / 1.324 GB, free: 0.8555 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006262/0.4709, allocations: 463.8 kB / 1.325 GB, free: 284 kB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004104/0.4713, allocations: 269.5 kB / 1.325 GB, free: 15.96 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/0.4713, allocations: 0 / 1.325 GB, free: 15.96 MB / 1.029 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005814/0.4719, allocations: 329.1 kB / 1.325 GB, free: 15.64 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.143e-05/0.4719, allocations: 11.94 kB / 1.325 GB, free: 15.62 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.344e-05/0.472, allocations: 4.125 kB / 1.325 GB, free: 15.62 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.337e-05/0.472, allocations: 8 kB / 1.325 GB, free: 15.61 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002142/0.4722, allocations: 27.92 kB / 1.325 GB, free: 15.59 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.529e-05/0.4722, allocations: 8.344 kB / 1.325 GB, free: 15.58 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007872/0.473, allocations: 78.17 kB / 1.326 GB, free: 15.5 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.473e-05/0.473, allocations: 11.98 kB / 1.326 GB, free: 15.49 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 26 (tabOneRow.idx,$PRE.tabOneRow.idx,tabOneRow.y[1],$PRE.tabOneRow.y[1],$whenCondition10,intTimTab1.idx,$PRE.intTimTab1.idx,intTimTab1.y[2],$PRE.intTimTab1.y[2],intTimTab1.y[1],$PRE.intTimTab1.y[1],$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,intTimTab.idx,$PRE.intTimTab.idx,intTimTab.y[2],$PRE.intTimTab.y[2],intTimTab.y[1],$PRE.intTimTab.y[1],$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 29 * 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.0002752/0.4733, allocations: 187.8 kB / 1.326 GB, free: 15.3 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.162e-05/0.4734, allocations: 35.73 kB / 1.326 GB, free: 15.27 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.366e-05/0.4735, allocations: 37.89 kB / 1.326 GB, free: 15.23 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.224e-06/0.4735, allocations: 4 kB / 1.326 GB, free: 15.23 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.528e-06/0.4735, allocations: 0 / 1.326 GB, free: 15.23 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.4735, allocations: 3.938 kB / 1.326 GB, free: 15.22 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003623/0.4738, allocations: 260.5 kB / 1.326 GB, free: 14.93 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.4738, allocations: 0 / 1.326 GB, free: 14.93 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.75e-05/0.4739, allocations: 4 kB / 1.326 GB, free: 14.92 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.794e-06/0.4739, allocations: 7.938 kB / 1.326 GB, free: 14.91 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.373e-05/0.4739, allocations: 11.98 kB / 1.326 GB, free: 14.9 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.4739, allocations: 0 / 1.326 GB, free: 14.9 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.4739, allocations: 7.938 kB / 1.326 GB, free: 14.89 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006651/0.4746, allocations: 430.4 kB / 1.327 GB, free: 14.45 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.258e-05/0.4746, allocations: 23.8 kB / 1.327 GB, free: 14.43 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.427e-05/0.4747, allocations: 19.92 kB / 1.327 GB, free: 14.41 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.728e-05/0.4748, allocations: 0 / 1.327 GB, free: 14.41 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.443e-05/0.4749, allocations: 15.98 kB / 1.327 GB, free: 14.39 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.523e-05/0.4749, allocations: 15.98 kB / 1.327 GB, free: 14.38 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003777/0.4753, allocations: 295 kB / 1.327 GB, free: 14.09 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4753, allocations: 0 / 1.327 GB, free: 14.09 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004313/0.4757, allocations: 75.94 kB / 1.327 GB, free: 14.02 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition10,tabOneRow.y[1],tabOneRow.idx,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,intTimTab1.y[1],intTimTab1.y[2],intTimTab1.idx,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intTimTab.y[1],intTimTab.y[2],intTimTab.idx) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0003662/0.4761, allocations: 143.5 kB / 1.327 GB, free: 13.86 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005225/0.4766, allocations: 247.9 kB / 1.327 GB, free: 13.62 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.4766, allocations: 0 / 1.327 GB, free: 13.62 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001946/0.4768, allocations: 127.8 kB / 1.327 GB, free: 13.5 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003114/0.4771, allocations: 20.66 kB / 1.327 GB, free: 13.48 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001157/0.4783, allocations: 0.5731 MB / 1.328 GB, free: 12.87 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004477/0.4787, allocations: 0.7713 MB / 1.329 GB, free: 12.07 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001288/0.4788, allocations: 58.09 kB / 1.329 GB, free: 12.02 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.06e-05/0.4789, allocations: 31.42 kB / 1.329 GB, free: 11.98 MB / 1.029 GB Notification: Performance of SimCode: time 3e-07/0.4789, allocations: 0 / 1.329 GB, free: 11.98 MB / 1.029 GB Notification: Performance of Templates: time 0.01077/0.4897, allocations: 5.125 MB / 1.334 GB, free: 6.938 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTableNegativeStartTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.325724452733994]