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.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.001409/0.001409, allocations: 78.09 kB / 19.76 MB, free: 1.875 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.00162/0.00162, allocations: 159.2 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.464/1.464, allocations: 177.2 MB / 203.4 MB, free: 8.906 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.002/3.002, allocations: 394.2 MB / 0.6387 GB, free: 11.91 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_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: 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.002183/0.002183, allocations: 67.89 kB / 1.009 GB, free: 14.46 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9973/0.9995, allocations: 181.8 MB / 1.187 GB, free: 16.21 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime): time 0.001997/1.001, allocations: 0.6724 MB / 1.187 GB, free: 15.79 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.002236/1.004, allocations: 1.345 MB / 1.189 GB, free: 14.84 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.291e-05/1.004, allocations: 1.312 kB / 1.189 GB, free: 14.84 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0007273/1.005, allocations: 184.7 kB / 1.189 GB, free: 14.81 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.000195/1.005, allocations: 107.6 kB / 1.189 GB, free: 14.78 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009316/1.006, allocations: 252.2 kB / 1.189 GB, free: 14.65 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0007832/1.006, allocations: 488.1 kB / 1.19 GB, free: 14.48 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 6.548e-05/1.007, allocations: 7.344 kB / 1.19 GB, free: 14.48 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003379/1.007, allocations: 204.5 kB / 1.19 GB, free: 14.43 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005334/1.007, allocations: 227.5 kB / 1.19 GB, free: 14.38 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001113/1.007, allocations: 21.56 kB / 1.19 GB, free: 14.38 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003298/1.008, allocations: 95.86 kB / 1.19 GB, free: 14.36 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0004902/1.008, allocations: 277.4 kB / 1.19 GB, free: 14.28 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0002037/1.009, allocations: 133 kB / 1.19 GB, free: 14.21 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0007279/1.009, allocations: 475.7 kB / 1.191 GB, free: 14.08 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/1.009, allocations: 4.938 kB / 1.191 GB, free: 14.08 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.014e-06/1.009, allocations: 0 / 1.191 GB, free: 14.08 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.516e-05/1.009, allocations: 3.938 kB / 1.191 GB, free: 14.07 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.001194/1.01, allocations: 0.5656 MB / 1.192 GB, free: 13.66 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.868e-05/1.011, allocations: 9.062 kB / 1.192 GB, free: 13.66 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001397/1.011, allocations: 31.47 kB / 1.192 GB, free: 13.65 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005737/1.011, allocations: 329.8 kB / 1.192 GB, free: 13.45 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.321e-05/1.011, allocations: 18.23 kB / 1.192 GB, free: 13.44 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.059e-05/1.011, allocations: 21.47 kB / 1.192 GB, free: 13.43 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003554/1.012, allocations: 187.4 kB / 1.192 GB, free: 13.35 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/1.012, allocations: 192 / 1.192 GB, free: 13.35 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.99e-05/1.012, allocations: 5.828 kB / 1.192 GB, free: 13.35 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.373e-06/1.012, allocations: 1.797 kB / 1.192 GB, free: 13.35 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001985/1.012, allocations: 112 kB / 1.192 GB, free: 13.32 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004021/1.012, allocations: 271.1 kB / 1.192 GB, free: 13.13 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005257/1.013, allocations: 314.8 kB / 1.193 GB, free: 13 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001937/1.013, allocations: 121.5 kB / 1.193 GB, free: 12.95 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.003e-05/1.013, allocations: 6.828 kB / 1.193 GB, free: 12.95 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005739/1.014, allocations: 284 kB / 1.193 GB, free: 12.83 MB / 1.076 GB Notification: Performance of pre-optimization done (n=18): time 1.543e-06/1.014, allocations: 0 / 1.193 GB, free: 12.83 MB / 1.076 GB Notification: Performance of matching and sorting (n=18): time 0.0009667/1.015, allocations: 0.494 MB / 1.194 GB, free: 12.68 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.432e-05/1.015, allocations: 123 kB / 1.194 GB, free: 12.54 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004718/1.015, allocations: 397 kB / 1.194 GB, free: 12.36 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 6.051e-05/1.015, allocations: 41.19 kB / 1.194 GB, free: 12.32 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001182/1.015, allocations: 154.8 kB / 1.194 GB, free: 12.19 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 4.347e-05/1.015, allocations: 45.78 kB / 1.194 GB, free: 12.16 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001872/1.016, allocations: 115 kB / 1.194 GB, free: 12.12 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 7.954e-05/1.016, allocations: 343.5 kB / 1.195 GB, free: 11.79 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001428/1.016, allocations: 81.78 kB / 1.195 GB, free: 11.78 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005948/1.016, allocations: 1.084 MB / 1.196 GB, free: 10.62 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002727/1.017, allocations: 259.4 kB / 1.196 GB, free: 10.43 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.149e-06/1.017, allocations: 1.828 kB / 1.196 GB, free: 10.43 MB / 1.076 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000594/1.017, allocations: 332.8 kB / 1.196 GB, free: 10.3 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/1.017, allocations: 6.812 kB / 1.197 GB, free: 10.3 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/1.017, allocations: 4.219 kB / 1.197 GB, free: 10.3 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.651e-05/1.017, allocations: 8.531 kB / 1.197 GB, free: 10.3 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001788/1.017, allocations: 29.84 kB / 1.197 GB, free: 10.3 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.129e-05/1.017, allocations: 5.875 kB / 1.197 GB, free: 10.3 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007659/1.018, allocations: 80.31 kB / 1.197 GB, free: 10.27 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.232e-05/1.018, allocations: 11.27 kB / 1.197 GB, free: 10.27 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.0002169/1.018, allocations: 197.7 kB / 1.197 GB, free: 10.12 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.91e-05/1.019, allocations: 30.16 kB / 1.197 GB, free: 10.11 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.625e-05/1.019, allocations: 41.09 kB / 1.197 GB, free: 10.09 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.533e-06/1.019, allocations: 3.188 kB / 1.197 GB, free: 10.09 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.398e-06/1.019, allocations: 9.922 kB / 1.197 GB, free: 10.08 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-06/1.019, allocations: 0.6094 kB / 1.197 GB, free: 10.08 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002363/1.019, allocations: 200.8 kB / 1.197 GB, free: 9.926 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/1.019, allocations: 1.125 kB / 1.197 GB, free: 9.926 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.678e-05/1.019, allocations: 4.719 kB / 1.197 GB, free: 9.926 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/1.019, allocations: 5.891 kB / 1.197 GB, free: 9.922 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.063e-05/1.019, allocations: 9.781 kB / 1.197 GB, free: 9.918 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/1.019, allocations: 5.703 kB / 1.197 GB, free: 9.914 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/1.019, allocations: 1.25 kB / 1.197 GB, free: 9.914 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005637/1.019, allocations: 427.1 kB / 1.198 GB, free: 9.738 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 5.059e-05/1.02, allocations: 31.09 kB / 1.198 GB, free: 9.719 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.896e-05/1.02, allocations: 7.688 kB / 1.198 GB, free: 9.715 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.915e-05/1.02, allocations: 10.59 kB / 1.198 GB, free: 9.707 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.799e-05/1.02, allocations: 16.39 kB / 1.198 GB, free: 9.703 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.137e-05/1.02, allocations: 13.38 kB / 1.198 GB, free: 9.703 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0003205/1.02, allocations: 288.4 kB / 1.198 GB, free: 9.578 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/1.02, allocations: 0 / 1.198 GB, free: 9.578 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0004502/1.02, allocations: 76.95 kB / 1.198 GB, free: 9.566 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.0002076/1.021, allocations: 142.3 kB / 1.198 GB, free: 9.457 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0004709/1.021, allocations: 260.2 kB / 1.198 GB, free: 9.391 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/1.021, allocations: 0 / 1.198 GB, free: 9.391 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001775/1.021, allocations: 118.7 kB / 1.198 GB, free: 9.363 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000287/1.022, allocations: 24.8 kB / 1.198 GB, free: 9.355 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009081/1.023, allocations: 0.5722 MB / 1.199 GB, free: 9.051 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000153/1.023, allocations: 155.4 kB / 1.199 GB, free: 8.973 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001383/1.023, allocations: 44.92 kB / 1.199 GB, free: 8.969 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.006e-05/1.023, allocations: 31.59 kB / 1.199 GB, free: 8.957 MB / 1.076 GB Notification: Performance of SimCode: time 4.3e-07/1.023, allocations: 7.938 kB / 1.199 GB, free: 8.949 MB / 1.076 GB Notification: Performance of Templates: time 0.01145/1.034, allocations: 5.457 MB / 1.205 GB, free: 8.328 MB / 1.076 GB " [Timeout remaining time 299] 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 -s ida -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/jenkins1/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: 9.20671261206735]