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.001401/0.001401, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.001536/0.001536, allocations: 210.1 kB / 22.99 MB, free: 4.977 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.482/1.482, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.239/3.239, allocations: 0.49 GB / 0.7959 GB, free: 35.43 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.002106/0.002106, allocations: 68.34 kB / 1.155 GB, free: 25.31 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3327/0.3348, allocations: 176.1 MB / 1.327 GB, free: 1.023 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime): time 0.001956/0.3368, allocations: 0.6664 MB / 1.328 GB, free: 372 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001893/0.3386, allocations: 1.35 MB / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.233e-05/0.3387, allocations: 3.938 kB / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0005241/0.3392, allocations: 195.6 kB / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001421/0.3394, allocations: 99.67 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007757/0.3402, allocations: 235.2 kB / 1.33 GB, free: 14.48 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005758/0.3407, allocations: 499.7 kB / 1.33 GB, free: 13.99 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.854e-05/0.3408, allocations: 4 kB / 1.33 GB, free: 13.99 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002329/0.341, allocations: 203.7 kB / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003408/0.3413, allocations: 231.5 kB / 1.33 GB, free: 13.56 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 9.18e-05/0.3414, allocations: 20 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002381/0.3417, allocations: 99.91 kB / 1.331 GB, free: 13.45 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0003736/0.3421, allocations: 271.4 kB / 1.331 GB, free: 13.18 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001672/0.3422, allocations: 131.4 kB / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005347/0.3428, allocations: 490.4 kB / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.3428, allocations: 0 / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.673e-06/0.3428, allocations: 3.938 kB / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.131e-05/0.3428, allocations: 0 / 1.331 GB, free: 12.57 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.001049/0.3438, allocations: 0.567 MB / 1.332 GB, free: 11.96 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.51e-05/0.3439, allocations: 12.03 kB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001325/0.344, allocations: 32.75 kB / 1.332 GB, free: 11.92 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006509/0.3446, allocations: 322.5 kB / 1.332 GB, free: 11.58 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.952e-05/0.3447, allocations: 12.38 kB / 1.332 GB, free: 11.57 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.316e-05/0.3447, allocations: 24.38 kB / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003246/0.3451, allocations: 196.6 kB / 1.333 GB, free: 11.34 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.345e-06/0.3451, allocations: 192 / 1.333 GB, free: 11.34 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.064e-05/0.3451, allocations: 3.938 kB / 1.333 GB, free: 11.33 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.3451, allocations: 7.938 kB / 1.333 GB, free: 11.32 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001739/0.3453, allocations: 103.9 kB / 1.333 GB, free: 11.22 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003772/0.3457, allocations: 270.9 kB / 1.333 GB, free: 10.92 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004749/0.3461, allocations: 319.6 kB / 1.333 GB, free: 10.58 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000179/0.3463, allocations: 122.6 kB / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.114e-05/0.3463, allocations: 4 kB / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004663/0.3468, allocations: 285.5 kB / 1.334 GB, free: 10.15 MB / 1.029 GB Notification: Performance of pre-optimization done (n=18): time 1.403e-06/0.3468, allocations: 0 / 1.334 GB, free: 10.15 MB / 1.029 GB Notification: Performance of matching and sorting (n=18): time 0.0008649/0.3476, allocations: 0.4933 MB / 1.334 GB, free: 9.648 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.848e-05/0.3477, allocations: 110.8 kB / 1.334 GB, free: 9.516 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004692/0.3482, allocations: 400.5 kB / 1.335 GB, free: 9.113 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.805e-05/0.3483, allocations: 37.7 kB / 1.335 GB, free: 9.07 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001474/0.3484, allocations: 152.8 kB / 1.335 GB, free: 8.914 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.034e-05/0.3485, allocations: 43.72 kB / 1.335 GB, free: 8.871 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001811/0.3486, allocations: 113.6 kB / 1.335 GB, free: 8.754 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001641/0.3488, allocations: 346.8 kB / 1.335 GB, free: 8.406 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001336/0.3489, allocations: 83.95 kB / 1.335 GB, free: 8.324 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008625/0.3498, allocations: 1.095 MB / 1.336 GB, free: 6.949 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000316/0.3501, allocations: 257.4 kB / 1.337 GB, free: 6.648 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.3501, allocations: 0 / 1.337 GB, free: 6.648 MB / 1.029 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005197/0.3506, allocations: 333.2 kB / 1.337 GB, free: 6.316 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.3507, allocations: 8.406 kB / 1.337 GB, free: 6.309 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/0.3507, allocations: 8 kB / 1.337 GB, free: 6.301 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.941e-05/0.3507, allocations: 7.938 kB / 1.337 GB, free: 6.293 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001719/0.3509, allocations: 35.86 kB / 1.337 GB, free: 6.258 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.127e-06/0.3509, allocations: 4 kB / 1.337 GB, free: 6.254 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008474/0.3517, allocations: 74.03 kB / 1.337 GB, free: 6.184 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.403e-05/0.3517, allocations: 15.98 kB / 1.337 GB, free: 6.168 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.000218/0.352, allocations: 196.3 kB / 1.337 GB, free: 5.969 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.567e-05/0.352, allocations: 31.81 kB / 1.337 GB, free: 5.938 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.314e-05/0.3521, allocations: 37.83 kB / 1.337 GB, free: 5.902 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.3521, allocations: 0 / 1.337 GB, free: 5.902 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/0.3521, allocations: 0 / 1.337 GB, free: 5.902 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.3521, allocations: 4 kB / 1.337 GB, free: 5.898 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002368/0.3523, allocations: 201.2 kB / 1.338 GB, free: 5.672 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.3523, allocations: 0 / 1.338 GB, free: 5.672 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.906e-05/0.3524, allocations: 11.88 kB / 1.338 GB, free: 5.66 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.3524, allocations: 4 kB / 1.338 GB, free: 5.656 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.9e-05/0.3524, allocations: 8.109 kB / 1.338 GB, free: 5.648 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.14e-06/0.3524, allocations: 7.938 kB / 1.338 GB, free: 5.641 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.3524, allocations: 4 kB / 1.338 GB, free: 5.637 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000584/0.353, allocations: 430.6 kB / 1.338 GB, free: 5.191 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.188e-05/0.353, allocations: 27.78 kB / 1.338 GB, free: 5.164 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.325e-05/0.3531, allocations: 8 kB / 1.338 GB, free: 5.156 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.131e-05/0.3532, allocations: 3.938 kB / 1.338 GB, free: 5.152 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.943e-05/0.3532, allocations: 31.83 kB / 1.338 GB, free: 5.121 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.498e-05/0.3532, allocations: 8 kB / 1.338 GB, free: 5.113 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003211/0.3536, allocations: 295 kB / 1.338 GB, free: 4.828 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.3536, allocations: 4 kB / 1.338 GB, free: 4.824 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003851/0.354, allocations: 79.92 kB / 1.338 GB, free: 4.746 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.0002284/0.3542, allocations: 135.1 kB / 1.339 GB, free: 4.602 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004833/0.3547, allocations: 252.3 kB / 1.339 GB, free: 4.355 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.3547, allocations: 0 / 1.339 GB, free: 4.355 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001899/0.3549, allocations: 124.1 kB / 1.339 GB, free: 4.234 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002711/0.3551, allocations: 30.83 kB / 1.339 GB, free: 4.207 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001016/0.3561, allocations: 0.5724 MB / 1.34 GB, free: 3.598 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001637/0.3563, allocations: 153.2 kB / 1.34 GB, free: 3.434 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001236/0.3564, allocations: 58.11 kB / 1.34 GB, free: 3.375 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.207e-05/0.3565, allocations: 27.42 kB / 1.34 GB, free: 3.348 MB / 1.029 GB Notification: Performance of SimCode: time 4.41e-07/0.3565, allocations: 0 / 1.34 GB, free: 3.348 MB / 1.029 GB Notification: Performance of Templates: time 0.01097/0.3675, allocations: 5.633 MB / 1.345 GB, free: 13.8 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 -s gbode -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: 8.93970984200132]