Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001484/0.001484, allocations: 107.6 kB / 18.95 MB, free: 2.805 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.002113/0.002113, allocations: 213.1 kB / 22.24 MB, free: 5.117 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.571/1.571, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.555/3.555, allocations: 0.4892 GB / 0.7943 GB, free: 35.44 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.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_12_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_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002107/0.002107, allocations: 67.44 kB / 1.154 GB, free: 25.57 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4622/0.4643, allocations: 176.1 MB / 1.326 GB, free: 1.863 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime): time 0.002701/0.467, allocations: 0.6742 MB / 1.326 GB, free: 1.195 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002661/0.4696, allocations: 1.354 MB / 1.328 GB, free: 15.83 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001084/0.4697, allocations: 0 / 1.328 GB, free: 15.83 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.00064/0.4704, allocations: 195.5 kB / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001642/0.4705, allocations: 99.73 kB / 1.328 GB, free: 15.54 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009873/0.4715, allocations: 234.8 kB / 1.328 GB, free: 15.31 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0007802/0.4723, allocations: 499.7 kB / 1.328 GB, free: 14.82 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 5.924e-05/0.4724, allocations: 4 kB / 1.329 GB, free: 14.82 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004179/0.4728, allocations: 203.7 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004932/0.4733, allocations: 223.6 kB / 1.329 GB, free: 14.4 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001664/0.4735, allocations: 24 kB / 1.329 GB, free: 14.38 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004187/0.4739, allocations: 99.84 kB / 1.329 GB, free: 14.28 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0006636/0.4745, allocations: 267.4 kB / 1.329 GB, free: 14.02 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0003409/0.4749, allocations: 135.4 kB / 1.329 GB, free: 13.89 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0008954/0.4758, allocations: 478.5 kB / 1.33 GB, free: 13.42 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.4758, allocations: 7.938 kB / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.924e-06/0.4758, allocations: 0 / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.332e-05/0.4758, allocations: 0 / 1.33 GB, free: 13.41 MB / 1.029 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.001555/0.4773, allocations: 0.5631 MB / 1.33 GB, free: 12.81 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.659e-05/0.4774, allocations: 12.03 kB / 1.33 GB, free: 12.8 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002226/0.4776, allocations: 32.75 kB / 1.33 GB, free: 12.77 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007117/0.4783, allocations: 330.4 kB / 1.331 GB, free: 12.42 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.258e-05/0.4784, allocations: 16.36 kB / 1.331 GB, free: 12.4 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.282e-05/0.4784, allocations: 20.38 kB / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005119/0.479, allocations: 192.7 kB / 1.331 GB, free: 12.18 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.479, allocations: 192 / 1.331 GB, free: 12.18 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.096e-05/0.479, allocations: 3.938 kB / 1.331 GB, free: 12.18 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.479, allocations: 0 / 1.331 GB, free: 12.18 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002321/0.4792, allocations: 115.9 kB / 1.331 GB, free: 12.06 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005608/0.4798, allocations: 270.9 kB / 1.331 GB, free: 11.76 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005176/0.4803, allocations: 311.6 kB / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001902/0.4805, allocations: 118.6 kB / 1.332 GB, free: 11.3 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.332e-05/0.4805, allocations: 8 kB / 1.332 GB, free: 11.3 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000613/0.4811, allocations: 285.5 kB / 1.332 GB, free: 11 MB / 1.029 GB Notification: Performance of pre-optimization done (n=18): time 1.783e-06/0.4811, allocations: 0 / 1.332 GB, free: 11 MB / 1.029 GB Notification: Performance of matching and sorting (n=18): time 0.0009858/0.4821, allocations: 0.5011 MB / 1.333 GB, free: 10.49 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001084/0.4822, allocations: 110.8 kB / 1.333 GB, free: 10.36 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005801/0.4828, allocations: 404.5 kB / 1.333 GB, free: 9.949 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 7.512e-05/0.4829, allocations: 37.7 kB / 1.333 GB, free: 9.906 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001823/0.4831, allocations: 156.8 kB / 1.333 GB, free: 9.746 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.669e-05/0.4831, allocations: 35.73 kB / 1.333 GB, free: 9.711 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000189/0.4833, allocations: 121.6 kB / 1.333 GB, free: 9.586 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002649/0.4836, allocations: 338.8 kB / 1.334 GB, free: 9.246 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001497/0.4837, allocations: 87.94 kB / 1.334 GB, free: 9.16 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001515/0.4852, allocations: 1.087 MB / 1.335 GB, free: 7.793 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004339/0.4857, allocations: 257.4 kB / 1.335 GB, free: 7.492 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.382e-06/0.4857, allocations: 4 kB / 1.335 GB, free: 7.488 MB / 1.029 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006458/0.4863, allocations: 337.2 kB / 1.335 GB, free: 7.152 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.442e-05/0.4863, allocations: 9.406 kB / 1.335 GB, free: 7.145 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.4864, allocations: 0 / 1.335 GB, free: 7.145 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.98e-05/0.4864, allocations: 11.94 kB / 1.335 GB, free: 7.133 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001898/0.4866, allocations: 31.91 kB / 1.335 GB, free: 7.102 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.629e-05/0.4866, allocations: 7.938 kB / 1.335 GB, free: 7.094 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007655/0.4874, allocations: 80.77 kB / 1.336 GB, free: 7.016 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.692e-05/0.4874, allocations: 8 kB / 1.336 GB, free: 7.008 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.0003284/0.4877, allocations: 192.3 kB / 1.336 GB, free: 6.812 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.91e-05/0.4878, allocations: 27.81 kB / 1.336 GB, free: 6.785 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.187e-05/0.4879, allocations: 37.83 kB / 1.336 GB, free: 6.75 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.111e-06/0.4879, allocations: 4 kB / 1.336 GB, free: 6.746 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.715e-06/0.4879, allocations: 4 kB / 1.336 GB, free: 6.742 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.881e-05/0.4879, allocations: 3.984 kB / 1.336 GB, free: 6.738 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000286/0.4882, allocations: 197.2 kB / 1.336 GB, free: 6.516 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.151e-05/0.4882, allocations: 12.05 kB / 1.336 GB, free: 6.504 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.806e-05/0.4883, allocations: 4 kB / 1.336 GB, free: 6.5 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.243e-06/0.4883, allocations: 4 kB / 1.336 GB, free: 6.496 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.059e-05/0.4883, allocations: 8 kB / 1.336 GB, free: 6.488 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.639e-06/0.4883, allocations: 3.938 kB / 1.336 GB, free: 6.484 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.421e-06/0.4883, allocations: 7.922 kB / 1.336 GB, free: 6.477 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007292/0.489, allocations: 428.1 kB / 1.336 GB, free: 6.035 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.014e-05/0.4891, allocations: 31.8 kB / 1.336 GB, free: 6.004 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.035e-05/0.4891, allocations: 0 / 1.336 GB, free: 6.004 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001018/0.4892, allocations: 11.92 kB / 1.336 GB, free: 5.992 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.066e-05/0.4893, allocations: 23.97 kB / 1.337 GB, free: 5.969 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.779e-05/0.4893, allocations: 11.98 kB / 1.337 GB, free: 5.957 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004701/0.4898, allocations: 291 kB / 1.337 GB, free: 5.676 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4898, allocations: 0 / 1.337 GB, free: 5.676 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004406/0.4902, allocations: 71.94 kB / 1.337 GB, free: 5.605 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.0002959/0.4905, allocations: 151 kB / 1.337 GB, free: 5.445 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005902/0.4911, allocations: 239.7 kB / 1.337 GB, free: 5.211 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.4911, allocations: 0 / 1.337 GB, free: 5.211 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002292/0.4913, allocations: 127.9 kB / 1.337 GB, free: 5.086 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002894/0.4916, allocations: 28.58 kB / 1.337 GB, free: 5.059 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001214/0.4929, allocations: 0.5733 MB / 1.338 GB, free: 4.449 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002427/0.4931, allocations: 161.1 kB / 1.338 GB, free: 4.277 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.000184/0.4933, allocations: 53.03 kB / 1.338 GB, free: 4.227 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.396e-05/0.4934, allocations: 27.44 kB / 1.338 GB, free: 4.199 MB / 1.029 GB Notification: Performance of SimCode: time 5.61e-07/0.4934, allocations: 8 kB / 1.338 GB, free: 4.191 MB / 1.029 GB Notification: Performance of Templates: time 0.01296/0.5063, allocations: 5.621 MB / 1.344 GB, free: 14.66 MB / 1.045 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTableNegativeStartTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.225113270804286]