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.001347/0.001347, allocations: 100.8 kB / 19.74 MB, free: 2.07 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.001478/0.001478, allocations: 208.5 kB / 23.04 MB, free: 4.863 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.484/1.484, allocations: 230.6 MB / 256.8 MB, free: 7.781 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.149/3.149, allocations: 0.49 GB / 0.7959 GB, free: 35.56 MB / 0.6231 GB " [Timeout remaining time 177] 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.002108/0.002108, allocations: 73.67 kB / 1.155 GB, free: 25.29 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3323/0.3344, allocations: 176.1 MB / 1.327 GB, free: 1.012 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime): time 0.001909/0.3363, allocations: 0.6718 MB / 1.328 GB, free: 352 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001899/0.3382, allocations: 1.35 MB / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.247e-05/0.3382, allocations: 4 kB / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0004652/0.3387, allocations: 191.5 kB / 1.329 GB, free: 14.79 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001359/0.3388, allocations: 103.7 kB / 1.329 GB, free: 14.69 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007716/0.3396, allocations: 231.2 kB / 1.33 GB, free: 14.46 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0006099/0.3402, allocations: 499.7 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 3.779e-05/0.3403, allocations: 4 kB / 1.33 GB, free: 13.97 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002345/0.3405, allocations: 207.7 kB / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003665/0.3409, allocations: 223.5 kB / 1.331 GB, free: 13.55 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 6.978e-05/0.3409, allocations: 24 kB / 1.331 GB, free: 13.53 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002315/0.3412, allocations: 99.84 kB / 1.331 GB, free: 13.43 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0004059/0.3416, allocations: 267.5 kB / 1.331 GB, free: 13.17 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001915/0.3418, allocations: 135.4 kB / 1.331 GB, free: 13.04 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005944/0.3423, allocations: 490.4 kB / 1.332 GB, free: 12.55 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.3424, allocations: 0 / 1.332 GB, free: 12.55 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.272e-06/0.3424, allocations: 4 kB / 1.332 GB, free: 12.55 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.492e-06/0.3424, allocations: 0 / 1.332 GB, free: 12.55 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.001008/0.3434, allocations: 0.5669 MB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/0.3434, allocations: 12.03 kB / 1.332 GB, free: 11.94 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001232/0.3435, allocations: 32.75 kB / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005497/0.3441, allocations: 322.5 kB / 1.332 GB, free: 11.56 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.233e-05/0.3441, allocations: 16.31 kB / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.207e-05/0.3442, allocations: 20.38 kB / 1.332 GB, free: 11.53 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003405/0.3445, allocations: 192.7 kB / 1.333 GB, free: 11.32 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.3445, allocations: 8.125 kB / 1.333 GB, free: 11.32 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.007e-05/0.3445, allocations: 7.938 kB / 1.333 GB, free: 11.31 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.3445, allocations: 0 / 1.333 GB, free: 11.31 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001794/0.3447, allocations: 107.9 kB / 1.333 GB, free: 11.2 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003914/0.3451, allocations: 270.9 kB / 1.333 GB, free: 10.9 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004869/0.3456, allocations: 315.6 kB / 1.333 GB, free: 10.57 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001893/0.3458, allocations: 122.6 kB / 1.333 GB, free: 10.44 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.419e-05/0.3458, allocations: 4 kB / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004909/0.3463, allocations: 287.7 kB / 1.334 GB, free: 10.13 MB / 1.029 GB Notification: Performance of pre-optimization done (n=18): time 1.432e-06/0.3463, allocations: 0 / 1.334 GB, free: 10.13 MB / 1.029 GB Notification: Performance of matching and sorting (n=18): time 0.0008938/0.3472, allocations: 0.4938 MB / 1.334 GB, free: 9.633 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.73e-05/0.3473, allocations: 114.7 kB / 1.334 GB, free: 9.496 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000486/0.3478, allocations: 400.5 kB / 1.335 GB, free: 9.09 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.197e-05/0.3478, allocations: 41.69 kB / 1.335 GB, free: 9.043 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000144/0.348, allocations: 152.8 kB / 1.335 GB, free: 8.887 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.247e-05/0.348, allocations: 39.8 kB / 1.335 GB, free: 8.848 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001742/0.3482, allocations: 117.6 kB / 1.335 GB, free: 8.727 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001643/0.3484, allocations: 338.8 kB / 1.335 GB, free: 8.387 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001413/0.3485, allocations: 87.95 kB / 1.335 GB, free: 8.301 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009119/0.3494, allocations: 1.083 MB / 1.336 GB, free: 6.938 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003298/0.3497, allocations: 257.4 kB / 1.337 GB, free: 6.637 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.3497, allocations: 3.938 kB / 1.337 GB, free: 6.633 MB / 1.029 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005399/0.3503, allocations: 337.2 kB / 1.337 GB, free: 6.297 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.3503, allocations: 8 kB / 1.337 GB, free: 6.289 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.65e-05/0.3503, allocations: 4 kB / 1.337 GB, free: 6.285 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.08e-05/0.3503, allocations: 8.172 kB / 1.337 GB, free: 6.277 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001546/0.3505, allocations: 31.86 kB / 1.337 GB, free: 6.246 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.238e-05/0.3505, allocations: 8.141 kB / 1.337 GB, free: 6.238 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007395/0.3513, allocations: 80.11 kB / 1.337 GB, free: 6.16 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.924e-05/0.3513, allocations: 12 kB / 1.337 GB, free: 6.148 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.0002297/0.3515, allocations: 196.2 kB / 1.337 GB, free: 5.949 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.811e-05/0.3516, allocations: 35.81 kB / 1.337 GB, free: 5.914 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.791e-05/0.3516, allocations: 33.83 kB / 1.337 GB, free: 5.883 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.588e-06/0.3516, allocations: 4 kB / 1.337 GB, free: 5.879 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.3516, allocations: 0 / 1.337 GB, free: 5.879 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/0.3516, allocations: 8 kB / 1.337 GB, free: 5.871 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000244/0.3519, allocations: 201.2 kB / 1.338 GB, free: 5.645 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.3519, allocations: 4 kB / 1.338 GB, free: 5.641 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.542e-05/0.3519, allocations: 4 kB / 1.338 GB, free: 5.637 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.3519, allocations: 0 / 1.338 GB, free: 5.637 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.742e-05/0.3519, allocations: 7.984 kB / 1.338 GB, free: 5.629 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.3519, allocations: 7.875 kB / 1.338 GB, free: 5.621 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.3519, allocations: 4 kB / 1.338 GB, free: 5.617 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006072/0.3525, allocations: 435.9 kB / 1.338 GB, free: 5.168 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.812e-05/0.3526, allocations: 31.78 kB / 1.338 GB, free: 5.137 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.261e-05/0.3526, allocations: 0 / 1.338 GB, free: 5.137 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.52e-05/0.3527, allocations: 15.94 kB / 1.338 GB, free: 5.121 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.859e-05/0.3528, allocations: 19.97 kB / 1.338 GB, free: 5.102 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.423e-05/0.3528, allocations: 8 kB / 1.338 GB, free: 5.094 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003348/0.3531, allocations: 299 kB / 1.338 GB, free: 4.805 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.3531, allocations: 0 / 1.338 GB, free: 4.805 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003889/0.3535, allocations: 75.92 kB / 1.339 GB, free: 4.73 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.0002229/0.3538, allocations: 139 kB / 1.339 GB, free: 4.582 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000452/0.3542, allocations: 255.6 kB / 1.339 GB, free: 4.332 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 5.019e-06/0.3542, allocations: 4 kB / 1.339 GB, free: 4.328 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000243/0.3545, allocations: 147.8 kB / 1.339 GB, free: 4.184 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002859/0.3547, allocations: 28.64 kB / 1.339 GB, free: 4.156 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009889/0.3557, allocations: 0.6077 MB / 1.34 GB, free: 3.508 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00016/0.3559, allocations: 158 kB / 1.34 GB, free: 3.34 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.228e-05/0.356, allocations: 27.44 kB / 1.34 GB, free: 3.312 MB / 1.029 GB Notification: Performance of SimCode: time 3e-07/0.356, allocations: 0 / 1.34 GB, free: 3.312 MB / 1.029 GB Notification: Performance of Templates: time 0.007483/0.3634, allocations: 4.408 MB / 1.344 GB, free: 14.97 MB / 1.045 GB " [Timeout remaining time 300] 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/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] "" Variables in the reference:time,intTimTab.y[1],intTimTab.y[2],intTimTab1.y[1],intTimTab1.y[2],tabOneRow.y[1] Variables in the result:intTimTab.y[1],intTimTab.y[2],intTimTab1.y[1],intTimTab1.y[2],tabOneRow.y[1],time [Calling sys.exit(0), Time elapsed: 11.974226961145177]