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.001324/0.001324, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.001525/0.001525, allocations: 157.3 kB / 23.01 MB, free: 4.602 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.451/1.451, allocations: 177.2 MB / 203.4 MB, free: 8.965 MB / 190.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 2.869/2.869, allocations: 377.9 MB / 0.6228 GB, free: 12.56 MB / 0.5919 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.002263/0.002263, allocations: 67.89 kB / 0.982 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9644/0.9667, allocations: 176.1 MB / 1.154 GB, free: 33.3 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime): time 0.00201/0.9687, allocations: 0.6612 MB / 1.155 GB, free: 32.9 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001827/0.9705, allocations: 1.348 MB / 1.156 GB, free: 31.95 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.897e-05/0.9706, allocations: 7.875 kB / 1.156 GB, free: 31.94 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0005006/0.9711, allocations: 188.5 kB / 1.156 GB, free: 31.9 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0001048/0.9712, allocations: 109.2 kB / 1.156 GB, free: 31.87 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.000654/0.9719, allocations: 236.8 kB / 1.156 GB, free: 31.75 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0005003/0.9724, allocations: 485.8 kB / 1.157 GB, free: 31.59 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 5.351e-05/0.9724, allocations: 2.656 kB / 1.157 GB, free: 31.59 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000177/0.9726, allocations: 207.3 kB / 1.157 GB, free: 31.53 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003158/0.9729, allocations: 235.1 kB / 1.157 GB, free: 31.48 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 9.324e-05/0.973, allocations: 19.88 kB / 1.157 GB, free: 31.48 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002429/0.9733, allocations: 95.12 kB / 1.157 GB, free: 31.46 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0003633/0.9736, allocations: 276.4 kB / 1.158 GB, free: 31.38 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.00017/0.9738, allocations: 126.5 kB / 1.158 GB, free: 31.32 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.000472/0.9743, allocations: 482.5 kB / 1.158 GB, free: 31.18 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.9743, allocations: 3.938 kB / 1.158 GB, free: 31.18 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.542e-06/0.9743, allocations: 2.812 kB / 1.158 GB, free: 31.18 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.386e-05/0.9743, allocations: 0 / 1.158 GB, free: 31.18 MB / 1.076 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.001147/0.9754, allocations: 0.577 MB / 1.159 GB, free: 30.75 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.6e-05/0.9755, allocations: 11.84 kB / 1.159 GB, free: 30.75 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001789/0.9757, allocations: 37.64 kB / 1.159 GB, free: 30.73 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006683/0.9763, allocations: 322.9 kB / 1.159 GB, free: 30.53 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.237e-05/0.9763, allocations: 13.16 kB / 1.159 GB, free: 30.53 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.291e-05/0.9764, allocations: 21.44 kB / 1.159 GB, free: 30.52 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00039/0.9768, allocations: 191.9 kB / 1.159 GB, free: 30.44 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.394e-05/0.9768, allocations: 4.125 kB / 1.159 GB, free: 30.43 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.444e-05/0.9769, allocations: 7.031 kB / 1.159 GB, free: 30.43 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.585e-06/0.9769, allocations: 6.75 kB / 1.159 GB, free: 30.43 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001663/0.977, allocations: 104.7 kB / 1.16 GB, free: 30.4 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004319/0.9775, allocations: 262.6 kB / 1.16 GB, free: 30.22 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005996/0.9781, allocations: 316.5 kB / 1.16 GB, free: 30.09 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000225/0.9783, allocations: 126.9 kB / 1.16 GB, free: 30.04 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.49e-05/0.9783, allocations: 3.188 kB / 1.16 GB, free: 30.04 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000567/0.9789, allocations: 286.3 kB / 1.16 GB, free: 29.92 MB / 1.076 GB Notification: Performance of pre-optimization done (n=18): time 2.495e-06/0.9789, allocations: 0 / 1.16 GB, free: 29.92 MB / 1.076 GB Notification: Performance of matching and sorting (n=18): time 0.001134/0.98, allocations: 0.4951 MB / 1.161 GB, free: 29.76 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.818e-05/0.9801, allocations: 112.2 kB / 1.161 GB, free: 29.64 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004871/0.9806, allocations: 396.7 kB / 1.161 GB, free: 29.46 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 7.212e-05/0.9806, allocations: 42.88 kB / 1.161 GB, free: 29.42 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001481/0.9808, allocations: 150.5 kB / 1.162 GB, free: 29.29 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 5.292e-05/0.9808, allocations: 38.95 kB / 1.162 GB, free: 29.27 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000227/0.9811, allocations: 115.3 kB / 1.162 GB, free: 29.23 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 9.054e-05/0.9812, allocations: 351.3 kB / 1.162 GB, free: 28.89 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001655/0.9813, allocations: 81.77 kB / 1.162 GB, free: 28.88 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005325/0.9818, allocations: 1.085 MB / 1.163 GB, free: 27.73 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002588/0.9821, allocations: 266.6 kB / 1.163 GB, free: 27.53 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.067e-06/0.9821, allocations: 0 / 1.163 GB, free: 27.53 MB / 1.076 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007059/0.9828, allocations: 329 kB / 1.164 GB, free: 27.41 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.524e-05/0.9828, allocations: 5.688 kB / 1.164 GB, free: 27.41 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.346e-05/0.9829, allocations: 6.812 kB / 1.164 GB, free: 27.4 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.593e-05/0.9829, allocations: 9.75 kB / 1.164 GB, free: 27.4 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002479/0.9831, allocations: 35.52 kB / 1.164 GB, free: 27.39 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.388e-05/0.9832, allocations: 9.188 kB / 1.164 GB, free: 27.39 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001079/0.9842, allocations: 67.33 kB / 1.164 GB, free: 27.37 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.689e-05/0.9843, allocations: 12.62 kB / 1.164 GB, free: 27.36 MB / 1.076 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.0003988/0.9847, allocations: 207 kB / 1.164 GB, free: 27.21 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.889e-05/0.9848, allocations: 27.56 kB / 1.164 GB, free: 27.2 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.367e-05/0.9849, allocations: 35.61 kB / 1.164 GB, free: 27.18 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.05e-05/0.9849, allocations: 5.594 kB / 1.164 GB, free: 27.18 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.107e-05/0.9849, allocations: 0 / 1.164 GB, free: 27.18 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.013e-05/0.9849, allocations: 3.469 kB / 1.164 GB, free: 27.18 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003548/0.9852, allocations: 201.5 kB / 1.164 GB, free: 27.03 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/0.9853, allocations: 0 / 1.164 GB, free: 27.03 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.471e-05/0.9853, allocations: 10.25 kB / 1.164 GB, free: 27.02 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.165e-06/0.9853, allocations: 2.094 kB / 1.164 GB, free: 27.02 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.203e-05/0.9853, allocations: 8.188 kB / 1.164 GB, free: 27.02 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.132e-06/0.9853, allocations: 3.938 kB / 1.164 GB, free: 27.02 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.911e-06/0.9853, allocations: 2.031 kB / 1.164 GB, free: 27.02 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008748/0.9862, allocations: 433.3 kB / 1.165 GB, free: 26.84 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 7.02e-05/0.9863, allocations: 30.22 kB / 1.165 GB, free: 26.82 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.601e-05/0.9863, allocations: 10.56 kB / 1.165 GB, free: 26.81 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001301/0.9864, allocations: 3.938 kB / 1.165 GB, free: 26.81 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.678e-05/0.9865, allocations: 22.84 kB / 1.165 GB, free: 26.8 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.082e-05/0.9866, allocations: 17.8 kB / 1.165 GB, free: 26.8 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0003972/0.987, allocations: 293.2 kB / 1.165 GB, free: 26.67 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.21e-07/0.987, allocations: 0 / 1.165 GB, free: 26.67 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0006955/0.9877, allocations: 74 kB / 1.165 GB, free: 26.66 MB / 1.076 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.0003256/0.988, allocations: 136 kB / 1.165 GB, free: 26.55 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0006194/0.9886, allocations: 248.4 kB / 1.166 GB, free: 26.5 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.9886, allocations: 4.062 kB / 1.166 GB, free: 26.5 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0002398/0.9888, allocations: 122.5 kB / 1.166 GB, free: 26.46 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004301/0.9893, allocations: 30.62 kB / 1.166 GB, free: 26.45 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001114/0.9904, allocations: 0.5739 MB / 1.166 GB, free: 26.14 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000169/0.9906, allocations: 157.3 kB / 1.166 GB, free: 26.06 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001703/0.9907, allocations: 49.47 kB / 1.167 GB, free: 26.05 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.213e-05/0.9908, allocations: 27.86 kB / 1.167 GB, free: 26.05 MB / 1.076 GB Notification: Performance of SimCode: time 9.12e-07/0.9908, allocations: 0 / 1.167 GB, free: 26.05 MB / 1.076 GB Notification: Performance of Templates: time 0.01176/1.003, allocations: 5.453 MB / 1.172 GB, free: 25.4 MB / 1.076 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 -s ida -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/jenkins1/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.247920679976232]