Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001352/0.001352, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001528/0.001528, allocations: 216 kB / 23.01 MB, free: 4.566 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.492/1.492, allocations: 230.6 MB / 256.8 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.771/2.771, allocations: 476.7 MB / 0.7714 GB, free: 4.312 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.002127/0.002127, allocations: 64.84 kB / 1.119 GB, free: 40.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3311/0.3333, allocations: 170 MB / 1.285 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime): time 0.001865/0.3351, allocations: 0.6887 MB / 1.285 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00194/0.3371, allocations: 1.387 MB / 1.287 GB, free: 9.156 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.017e-05/0.3371, allocations: 0 / 1.287 GB, free: 9.156 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0004703/0.3376, allocations: 187.5 kB / 1.287 GB, free: 8.973 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001237/0.3377, allocations: 99.73 kB / 1.287 GB, free: 8.875 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007336/0.3385, allocations: 253.7 kB / 1.287 GB, free: 8.633 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0005976/0.3391, allocations: 0.4958 MB / 1.288 GB, free: 8.137 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.269e-05/0.3391, allocations: 4 kB / 1.288 GB, free: 8.133 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00024/0.3393, allocations: 203.6 kB / 1.288 GB, free: 7.934 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003848/0.3397, allocations: 239.5 kB / 1.288 GB, free: 7.699 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 6.77e-05/0.3398, allocations: 20 kB / 1.288 GB, free: 7.68 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002334/0.34, allocations: 99.91 kB / 1.288 GB, free: 7.582 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003869/0.3404, allocations: 275.4 kB / 1.288 GB, free: 7.312 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002193/0.3406, allocations: 151.3 kB / 1.289 GB, free: 7.164 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005739/0.3412, allocations: 478.5 kB / 1.289 GB, free: 6.695 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.3412, allocations: 0 / 1.289 GB, free: 6.695 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.503e-06/0.3412, allocations: 0 / 1.289 GB, free: 6.695 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.975e-06/0.3412, allocations: 0 / 1.289 GB, free: 6.695 MB / 0.9825 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.001058/0.3423, allocations: 0.5824 MB / 1.29 GB, free: 6.078 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.3423, allocations: 8.031 kB / 1.29 GB, free: 6.07 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001247/0.3424, allocations: 36.75 kB / 1.29 GB, free: 6.035 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005685/0.343, allocations: 318.6 kB / 1.29 GB, free: 5.699 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.055e-05/0.343, allocations: 12.38 kB / 1.29 GB, free: 5.688 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.905e-05/0.3431, allocations: 20.38 kB / 1.29 GB, free: 5.668 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003143/0.3434, allocations: 196.5 kB / 1.29 GB, free: 5.461 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.764e-06/0.3434, allocations: 192 / 1.29 GB, free: 5.461 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.892e-05/0.3434, allocations: 3.938 kB / 1.29 GB, free: 5.457 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.3434, allocations: 4 kB / 1.29 GB, free: 5.453 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001964/0.3436, allocations: 107.9 kB / 1.29 GB, free: 5.348 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004765/0.3441, allocations: 358.2 kB / 1.291 GB, free: 4.949 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004737/0.3446, allocations: 315.6 kB / 1.291 GB, free: 4.613 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002024/0.3448, allocations: 122.6 kB / 1.291 GB, free: 4.484 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.123e-05/0.3448, allocations: 4 kB / 1.291 GB, free: 4.48 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004751/0.3453, allocations: 280 kB / 1.291 GB, free: 4.188 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=18): time 1.243e-06/0.3453, allocations: 0 / 1.291 GB, free: 4.188 MB / 0.9825 GB Notification: Performance of matching and sorting (n=18): time 0.0008529/0.3461, allocations: 0.5011 MB / 1.292 GB, free: 3.68 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.863e-05/0.3462, allocations: 126.7 kB / 1.292 GB, free: 3.531 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004664/0.3467, allocations: 400.4 kB / 1.292 GB, free: 3.129 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.259e-05/0.3468, allocations: 41.69 kB / 1.292 GB, free: 3.082 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001449/0.3469, allocations: 144.8 kB / 1.292 GB, free: 2.938 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.697e-05/0.347, allocations: 39.78 kB / 1.293 GB, free: 2.898 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001687/0.3471, allocations: 117.6 kB / 1.293 GB, free: 2.777 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001712/0.3473, allocations: 342.8 kB / 1.293 GB, free: 2.434 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001478/0.3475, allocations: 87.95 kB / 1.293 GB, free: 2.348 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005881/0.348, allocations: 468.2 kB / 1.294 GB, free: 1.766 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003942/0.3484, allocations: 245.5 kB / 1.294 GB, free: 1.477 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.3484, allocations: 0 / 1.294 GB, free: 1.477 MB / 0.9825 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005338/0.349, allocations: 341.1 kB / 1.294 GB, free: 1.137 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/0.349, allocations: 11.94 kB / 1.294 GB, free: 1.125 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.349, allocations: 4 kB / 1.294 GB, free: 1.121 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/0.349, allocations: 8.172 kB / 1.294 GB, free: 1.113 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001667/0.3492, allocations: 32.31 kB / 1.294 GB, free: 1.082 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.185e-05/0.3492, allocations: 12 kB / 1.294 GB, free: 1.07 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007212/0.3499, allocations: 68.38 kB / 1.294 GB, free: 1.004 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.268e-05/0.3499, allocations: 16 kB / 1.294 GB, free: 0.9883 MB / 0.9825 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.0002277/0.3502, allocations: 191.7 kB / 1.294 GB, free: 0.793 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.293e-05/0.3502, allocations: 35.75 kB / 1.294 GB, free: 0.7578 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.522e-05/0.3503, allocations: 41.83 kB / 1.294 GB, free: 0.7188 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.3503, allocations: 0 / 1.294 GB, free: 0.7188 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/0.3503, allocations: 4 kB / 1.294 GB, free: 0.7148 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.082e-06/0.3503, allocations: 3.984 kB / 1.294 GB, free: 0.7109 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002779/0.3506, allocations: 256.5 kB / 1.295 GB, free: 428 kB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.3506, allocations: 0 / 1.295 GB, free: 428 kB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.713e-05/0.3506, allocations: 7.984 kB / 1.295 GB, free: 420 kB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.898e-06/0.3506, allocations: 3.938 kB / 1.295 GB, free: 416 kB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.485e-05/0.3506, allocations: 4 kB / 1.295 GB, free: 412 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.3506, allocations: 4 kB / 1.295 GB, free: 408 kB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.105e-06/0.3506, allocations: 4 kB / 1.295 GB, free: 404 kB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006035/0.3512, allocations: 434.3 kB / 1.295 GB, free: 15.95 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.077e-05/0.3513, allocations: 31.86 kB / 1.295 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.79e-05/0.3513, allocations: 3.938 kB / 1.295 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.588e-05/0.3514, allocations: 3.984 kB / 1.295 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.407e-05/0.3515, allocations: 23.98 kB / 1.295 GB, free: 15.88 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.997e-05/0.3515, allocations: 19.92 kB / 1.295 GB, free: 15.86 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003356/0.3518, allocations: 283 kB / 1.296 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.3518, allocations: 0 / 1.296 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003864/0.3522, allocations: 79.92 kB / 1.296 GB, free: 15.51 MB / 0.9981 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.0002815/0.3525, allocations: 139 kB / 1.296 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004366/0.3529, allocations: 251.7 kB / 1.296 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.3529, allocations: 0 / 1.296 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002564/0.3532, allocations: 147.8 kB / 1.296 GB, free: 14.97 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002619/0.3535, allocations: 30.09 kB / 1.296 GB, free: 14.95 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009553/0.3544, allocations: 0.614 MB / 1.297 GB, free: 14.29 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004204/0.3548, allocations: 0.7597 MB / 1.297 GB, free: 13.51 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.25e-05/0.3549, allocations: 31.42 kB / 1.297 GB, free: 13.48 MB / 0.9981 GB Notification: Performance of SimCode: time 3.21e-07/0.3549, allocations: 0 / 1.297 GB, free: 13.48 MB / 0.9981 GB Notification: Performance of Templates: time 0.007651/0.3626, allocations: 4.356 MB / 1.302 GB, free: 9.18 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTableNegativeStartTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.992513243021676]