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.002521/0.002521, allocations: 104.2 kB / 16.45 MB, free: 6.449 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.002943/0.002943, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.632/1.632, allocations: 230.6 MB / 252.8 MB, free: 9.125 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.388/3.388, allocations: 0.4899 GB / 0.7915 GB, free: 33.32 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.002078/0.002078, allocations: 66.36 kB / 1.149 GB, free: 26.11 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4665/0.4686, allocations: 176.1 MB / 1.321 GB, free: 2.828 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime): time 0.002291/0.4709, allocations: 0.6828 MB / 1.322 GB, free: 2.145 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002232/0.4731, allocations: 1.381 MB / 1.323 GB, free: 0.75 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.305e-05/0.4732, allocations: 4 kB / 1.323 GB, free: 0.7461 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0005405/0.4737, allocations: 187.5 kB / 1.323 GB, free: 0.5625 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001329/0.4739, allocations: 99.72 kB / 1.324 GB, free: 476 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007759/0.4746, allocations: 246.7 kB / 1.324 GB, free: 232 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0006287/0.4753, allocations: 491.7 kB / 1.324 GB, free: 15.75 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 5.013e-05/0.4753, allocations: 8 kB / 1.324 GB, free: 15.74 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002382/0.4756, allocations: 211.6 kB / 1.324 GB, free: 15.53 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003651/0.4759, allocations: 223.6 kB / 1.325 GB, free: 15.31 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 7.821e-05/0.476, allocations: 24 kB / 1.325 GB, free: 15.29 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002109/0.4762, allocations: 83.88 kB / 1.325 GB, free: 15.21 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0003818/0.4766, allocations: 271.4 kB / 1.325 GB, free: 14.94 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001942/0.4768, allocations: 147.3 kB / 1.325 GB, free: 14.8 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005909/0.4774, allocations: 482.4 kB / 1.326 GB, free: 14.32 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.4774, allocations: 0 / 1.326 GB, free: 14.32 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.573e-06/0.4774, allocations: 0 / 1.326 GB, free: 14.32 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.427e-05/0.4774, allocations: 0 / 1.326 GB, free: 14.32 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.001158/0.4786, allocations: 0.6384 MB / 1.326 GB, free: 13.63 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/0.4786, allocations: 15.97 kB / 1.326 GB, free: 13.62 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001371/0.4787, allocations: 36.69 kB / 1.326 GB, free: 13.58 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005784/0.4793, allocations: 384.4 kB / 1.327 GB, free: 13.16 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.787e-05/0.4793, allocations: 20.3 kB / 1.327 GB, free: 13.14 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.87e-05/0.4794, allocations: 20.38 kB / 1.327 GB, free: 13.12 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003549/0.4798, allocations: 188.7 kB / 1.327 GB, free: 12.93 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.4798, allocations: 192 / 1.327 GB, free: 12.93 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.212e-05/0.4798, allocations: 3.938 kB / 1.327 GB, free: 12.92 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.4798, allocations: 0 / 1.327 GB, free: 12.92 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001981/0.48, allocations: 119.8 kB / 1.327 GB, free: 12.8 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005046/0.4805, allocations: 383.1 kB / 1.327 GB, free: 12.38 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005175/0.481, allocations: 311.7 kB / 1.328 GB, free: 12.04 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001899/0.4812, allocations: 130.5 kB / 1.328 GB, free: 11.91 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.116e-05/0.4812, allocations: 0 / 1.328 GB, free: 11.91 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005235/0.4818, allocations: 285.6 kB / 1.328 GB, free: 11.61 MB / 1.029 GB Notification: Performance of pre-optimization done (n=18): time 1.182e-06/0.4818, allocations: 0 / 1.328 GB, free: 11.61 MB / 1.029 GB Notification: Performance of matching and sorting (n=18): time 0.0009139/0.4827, allocations: 0.4933 MB / 1.329 GB, free: 11.11 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.766e-05/0.4828, allocations: 118.7 kB / 1.329 GB, free: 10.96 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004951/0.4832, allocations: 400.5 kB / 1.329 GB, free: 10.57 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.736e-05/0.4833, allocations: 41.7 kB / 1.329 GB, free: 10.52 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001639/0.4835, allocations: 152.8 kB / 1.329 GB, free: 10.36 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.144e-05/0.4835, allocations: 43.73 kB / 1.329 GB, free: 10.32 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002113/0.4837, allocations: 117.5 kB / 1.329 GB, free: 10.2 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000189/0.4839, allocations: 346.8 kB / 1.33 GB, free: 9.852 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001411/0.4841, allocations: 79.95 kB / 1.33 GB, free: 9.773 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006135/0.4847, allocations: 466.8 kB / 1.33 GB, free: 9.191 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003444/0.485, allocations: 261.5 kB / 1.33 GB, free: 8.887 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.485, allocations: 0 / 1.33 GB, free: 8.887 MB / 1.029 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005533/0.4856, allocations: 329.3 kB / 1.331 GB, free: 8.559 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.384e-05/0.4856, allocations: 11.94 kB / 1.331 GB, free: 8.547 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.4856, allocations: 0 / 1.331 GB, free: 8.547 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.965e-05/0.4856, allocations: 8 kB / 1.331 GB, free: 8.539 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001723/0.4858, allocations: 35.86 kB / 1.331 GB, free: 8.504 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.173e-05/0.4858, allocations: 4 kB / 1.331 GB, free: 8.5 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007935/0.4866, allocations: 82.22 kB / 1.331 GB, free: 8.422 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.156e-05/0.4866, allocations: 12.12 kB / 1.331 GB, free: 8.41 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.0002436/0.4869, allocations: 195.9 kB / 1.331 GB, free: 8.211 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.657e-05/0.4869, allocations: 31.75 kB / 1.331 GB, free: 8.18 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.022e-05/0.487, allocations: 33.89 kB / 1.331 GB, free: 8.148 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.487, allocations: 4 kB / 1.331 GB, free: 8.145 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.487, allocations: 128 / 1.331 GB, free: 8.145 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.487, allocations: 0 / 1.331 GB, free: 8.145 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003358/0.4874, allocations: 293.5 kB / 1.331 GB, free: 7.809 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.4874, allocations: 0 / 1.331 GB, free: 7.809 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.788e-05/0.4874, allocations: 4 kB / 1.331 GB, free: 7.805 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.548e-06/0.4874, allocations: 7.875 kB / 1.332 GB, free: 7.797 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.048e-05/0.4874, allocations: 7.984 kB / 1.332 GB, free: 7.789 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.187e-06/0.4874, allocations: 4 kB / 1.332 GB, free: 7.785 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.4874, allocations: 0 / 1.332 GB, free: 7.785 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006424/0.4881, allocations: 438.4 kB / 1.332 GB, free: 7.332 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001009/0.4882, allocations: 108.9 kB / 1.332 GB, free: 7.207 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.821e-05/0.4882, allocations: 3.938 kB / 1.332 GB, free: 7.203 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.861e-05/0.4883, allocations: 8 kB / 1.332 GB, free: 7.195 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.488e-05/0.4884, allocations: 16.22 kB / 1.332 GB, free: 7.18 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.006e-05/0.4884, allocations: 11.98 kB / 1.332 GB, free: 7.168 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003501/0.4887, allocations: 295 kB / 1.332 GB, free: 6.883 MB / 1.029 GB Notification: Performance of sort global known variables: time 8.1e-08/0.4887, allocations: 0 / 1.332 GB, free: 6.883 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003955/0.4891, allocations: 67.94 kB / 1.332 GB, free: 6.816 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.0002828/0.4894, allocations: 155 kB / 1.333 GB, free: 6.652 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004841/0.4899, allocations: 255.7 kB / 1.333 GB, free: 6.402 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.4899, allocations: 0.8125 kB / 1.333 GB, free: 6.402 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002077/0.4901, allocations: 119.9 kB / 1.333 GB, free: 6.285 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002757/0.4904, allocations: 28.94 kB / 1.333 GB, free: 6.262 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001034/0.4914, allocations: 0.5827 MB / 1.334 GB, free: 5.645 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004514/0.4919, allocations: 0.7597 MB / 1.334 GB, free: 4.859 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001195/0.492, allocations: 49.94 kB / 1.334 GB, free: 4.809 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.623e-05/0.4921, allocations: 31.42 kB / 1.334 GB, free: 4.777 MB / 1.029 GB Notification: Performance of SimCode: time 3.31e-07/0.4921, allocations: 0 / 1.334 GB, free: 4.777 MB / 1.029 GB Notification: Performance of Templates: time 0.0102/0.5023, allocations: 5.061 MB / 1.339 GB, free: 15.77 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: 9.71637527924031]