Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.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.001447/0.001447, allocations: 79.7 kB / 19.18 MB, free: 2.527 MB / 14.72 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.001726/0.001726, allocations: 168.3 kB / 22.46 MB, free: 5.359 MB / 14.72 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.499/1.499, allocations: 177.2 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.675/2.675, allocations: 359 MB / 0.6037 GB, free: 14.98 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.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_11_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_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.455e-06/2.455e-06, allocations: 0 / 0.951 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.271e-05/3.517e-05, allocations: 2.281 kB / 0.951 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime): time 0.001682/0.001717, allocations: 0.6677 MB / 0.9516 GB, free: 10.92 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002205/0.003922, allocations: 1.358 MB / 0.953 GB, free: 9.547 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.369e-05/0.003986, allocations: 0 / 0.953 GB, free: 9.547 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005466/0.004533, allocations: 195.4 kB / 0.9531 GB, free: 9.355 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001388/0.004671, allocations: 99.67 kB / 0.9532 GB, free: 9.258 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007661/0.005437, allocations: 242.4 kB / 0.9535 GB, free: 9.023 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0006128/0.00605, allocations: 487.7 kB / 0.9539 GB, free: 8.547 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.461e-05/0.006105, allocations: 7.984 kB / 0.9539 GB, free: 8.539 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003274/0.006432, allocations: 247.7 kB / 0.9542 GB, free: 8.297 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003752/0.006808, allocations: 215.6 kB / 0.9544 GB, free: 8.086 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001104/0.006918, allocations: 28 kB / 0.9544 GB, free: 8.059 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002593/0.007177, allocations: 103.8 kB / 0.9545 GB, free: 7.957 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0004243/0.007601, allocations: 275.4 kB / 0.9548 GB, free: 7.688 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.000193/0.007795, allocations: 115.7 kB / 0.9549 GB, free: 7.574 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0007071/0.008502, allocations: 0.5299 MB / 0.9554 GB, free: 7.043 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.008506, allocations: 0 / 0.9554 GB, free: 7.043 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.072e-06/0.008507, allocations: 0 / 0.9554 GB, free: 7.043 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.612e-06/0.008513, allocations: 0 / 0.9554 GB, free: 7.043 MB / 0.8575 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.001125/0.009639, allocations: 0.5631 MB / 0.956 GB, free: 6.445 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.009678, allocations: 16.03 kB / 0.956 GB, free: 6.43 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001415/0.00982, allocations: 32.75 kB / 0.956 GB, free: 6.398 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005579/0.01038, allocations: 321.7 kB / 0.9563 GB, free: 6.055 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.763e-05/0.01041, allocations: 12.38 kB / 0.9563 GB, free: 6.043 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.579e-05/0.01048, allocations: 20.38 kB / 0.9563 GB, free: 6.023 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003502/0.01083, allocations: 192.6 kB / 0.9565 GB, free: 5.82 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.01084, allocations: 192 / 0.9565 GB, free: 5.82 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.702e-05/0.01087, allocations: 8.359 kB / 0.9565 GB, free: 5.812 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.01087, allocations: 384 / 0.9565 GB, free: 5.812 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001914/0.01106, allocations: 115.8 kB / 0.9566 GB, free: 5.699 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003854/0.01145, allocations: 270.9 kB / 0.9569 GB, free: 5.398 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004805/0.01193, allocations: 319.6 kB / 0.9572 GB, free: 5.059 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001776/0.01211, allocations: 118.6 kB / 0.9573 GB, free: 4.934 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 8.847e-06/0.01212, allocations: 7.984 kB / 0.9573 GB, free: 4.926 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004567/0.01257, allocations: 273.6 kB / 0.9576 GB, free: 4.637 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=18): time 1.352e-06/0.01257, allocations: 0 / 0.9576 GB, free: 4.637 MB / 0.8575 GB Notification: Performance of matching and sorting (n=18): time 0.0008753/0.01345, allocations: 0.4978 MB / 0.9581 GB, free: 4.133 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.652e-05/0.01355, allocations: 114.8 kB / 0.9582 GB, free: 3.996 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004767/0.01402, allocations: 412.3 kB / 0.9586 GB, free: 3.59 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 6.961e-05/0.01409, allocations: 37.7 kB / 0.9586 GB, free: 3.547 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001598/0.01425, allocations: 156.8 kB / 0.9588 GB, free: 3.387 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.284e-05/0.01431, allocations: 47.67 kB / 0.9588 GB, free: 3.34 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001851/0.01449, allocations: 113.6 kB / 0.9589 GB, free: 3.223 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001896/0.01468, allocations: 346.8 kB / 0.9592 GB, free: 2.875 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001451/0.01483, allocations: 83.95 kB / 0.9593 GB, free: 2.793 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008794/0.0157, allocations: 1.091 MB / 0.9604 GB, free: 1.422 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003189/0.01602, allocations: 257.7 kB / 0.9606 GB, free: 1.121 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.01603, allocations: 4 kB / 0.9606 GB, free: 1.117 MB / 0.8575 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005193/0.01655, allocations: 325 kB / 0.961 GB, free: 0.793 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.038e-05/0.01657, allocations: 11.98 kB / 0.961 GB, free: 0.7812 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.182e-05/0.01658, allocations: 4 kB / 0.961 GB, free: 0.7773 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.948e-05/0.0166, allocations: 4.406 kB / 0.961 GB, free: 0.7734 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001536/0.01675, allocations: 27.92 kB / 0.961 GB, free: 0.7461 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.05e-05/0.01676, allocations: 11.94 kB / 0.961 GB, free: 0.7344 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007579/0.01752, allocations: 75.95 kB / 0.9611 GB, free: 0.6602 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.989e-05/0.01754, allocations: 8 kB / 0.9611 GB, free: 0.6523 MB / 0.8575 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.0002234/0.01776, allocations: 195.7 kB / 0.9613 GB, free: 464 kB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.371e-05/0.01782, allocations: 35.81 kB / 0.9613 GB, free: 428 kB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.086e-05/0.01788, allocations: 33.95 kB / 0.9613 GB, free: 392 kB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.832e-06/0.01788, allocations: 7.984 kB / 0.9614 GB, free: 384 kB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.972e-06/0.01789, allocations: 0 / 0.9614 GB, free: 384 kB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.263e-06/0.0179, allocations: 7.938 kB / 0.9614 GB, free: 376 kB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002291/0.01813, allocations: 193.2 kB / 0.9615 GB, free: 152 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.01813, allocations: 4 kB / 0.9615 GB, free: 148 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.518e-05/0.01814, allocations: 7.938 kB / 0.9616 GB, free: 140 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.01815, allocations: 0 / 0.9616 GB, free: 140 kB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.984e-05/0.01817, allocations: 11.98 kB / 0.9616 GB, free: 128 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.01817, allocations: 0 / 0.9616 GB, free: 128 kB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.01817, allocations: 8 kB / 0.9616 GB, free: 120 kB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006327/0.0188, allocations: 436.3 kB / 0.962 GB, free: 15.67 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 4.003e-05/0.01884, allocations: 19.86 kB / 0.962 GB, free: 15.65 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.386e-05/0.01889, allocations: 7.984 kB / 0.962 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.322e-05/0.01898, allocations: 4 kB / 0.962 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.181e-05/0.01903, allocations: 19.92 kB / 0.962 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.92e-05/0.01906, allocations: 15.98 kB / 0.9621 GB, free: 15.6 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0003278/0.01939, allocations: 291 kB / 0.9623 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of sort global known variables: time 7e-08/0.01939, allocations: 0 / 0.9623 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003865/0.01978, allocations: 79.88 kB / 0.9624 GB, free: 15.24 MB / 0.8731 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.0002607/0.02004, allocations: 147.1 kB / 0.9625 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0004442/0.02048, allocations: 247.8 kB / 0.9628 GB, free: 14.85 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.02048, allocations: 0 / 0.9628 GB, free: 14.85 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001882/0.02067, allocations: 127.8 kB / 0.9629 GB, free: 14.72 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000282/0.02095, allocations: 37.52 kB / 0.9629 GB, free: 14.69 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000905/0.02186, allocations: 0.5594 MB / 0.9635 GB, free: 14.1 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000165/0.02202, allocations: 157.2 kB / 0.9636 GB, free: 13.92 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001152/0.02214, allocations: 54.16 kB / 0.9637 GB, free: 13.87 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.708e-05/0.02221, allocations: 28.48 kB / 0.9637 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of SimCode: time 4.31e-07/0.02222, allocations: 0 / 0.9637 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of Templates: time 0.0105/0.03271, allocations: 5.409 MB / 0.969 GB, free: 8.531 MB / 0.8731 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTableNegativeStartTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 8.170102346688509]