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.0007632/0.0007632, allocations: 76.55 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007706/0.0007706, allocations: 181.9 kB / 23.22 MB, free: 1.348 MB / 18.57 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 0.8695/0.8695, allocations: 177.1 MB / 203.5 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.705/1.705, allocations: 359 MB / 0.6044 GB, free: 11.07 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 0.9517 GB, free: 2.953 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.454e-05/1.613e-05, allocations: 5.375 kB / 0.9517 GB, free: 2.949 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime): time 0.001079/0.001095, allocations: 0.6751 MB / 0.9524 GB, free: 2.27 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001305/0.0024, allocations: 1.354 MB / 0.9537 GB, free: 0.9023 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.148e-05/0.002441, allocations: 0 / 0.9537 GB, free: 0.9023 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0003345/0.002776, allocations: 191.4 kB / 0.9539 GB, free: 0.7148 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 6.944e-05/0.002845, allocations: 107.6 kB / 0.954 GB, free: 0.6094 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004158/0.003261, allocations: 234.2 kB / 0.9542 GB, free: 392 kB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0003178/0.003579, allocations: 499.7 kB / 0.9547 GB, free: 15.89 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 3.423e-05/0.003613, allocations: 4 kB / 0.9547 GB, free: 15.89 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001779/0.003791, allocations: 251.6 kB / 0.9549 GB, free: 15.64 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002218/0.004013, allocations: 219.6 kB / 0.9552 GB, free: 15.43 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 4.292e-05/0.004056, allocations: 20 kB / 0.9552 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001532/0.004209, allocations: 99.83 kB / 0.9553 GB, free: 15.31 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0002194/0.004428, allocations: 279.4 kB / 0.9555 GB, free: 15.04 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 8.971e-05/0.004518, allocations: 111.8 kB / 0.9556 GB, free: 14.93 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.000399/0.004917, allocations: 0.5299 MB / 0.9562 GB, free: 14.4 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 1.813e-06/0.004919, allocations: 0 / 0.9562 GB, free: 14.4 MB / 0.9167 GB Notification: Performance of FrontEnd: time 5.41e-07/0.004919, allocations: 0 / 0.9562 GB, free: 14.4 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.004924, allocations: 3.938 kB / 0.9562 GB, free: 14.39 MB / 0.9167 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.0005988/0.005523, allocations: 0.5669 MB / 0.9567 GB, free: 13.79 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.226e-05/0.005555, allocations: 8.031 kB / 0.9567 GB, free: 13.79 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.957e-05/0.005634, allocations: 32.8 kB / 0.9568 GB, free: 13.75 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003244/0.005959, allocations: 325.7 kB / 0.9571 GB, free: 13.41 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.321e-05/0.005972, allocations: 16.38 kB / 0.9571 GB, free: 13.39 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.98e-05/0.006012, allocations: 20.38 kB / 0.9571 GB, free: 13.37 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002045/0.006216, allocations: 188.7 kB / 0.9573 GB, free: 13.17 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.171e-06/0.006222, allocations: 4.125 kB / 0.9573 GB, free: 13.17 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.232e-05/0.006235, allocations: 4.375 kB / 0.9573 GB, free: 13.16 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.006239, allocations: 384 / 0.9573 GB, free: 13.16 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001176/0.006356, allocations: 115.9 kB / 0.9574 GB, free: 13.05 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002269/0.006583, allocations: 271 kB / 0.9577 GB, free: 12.75 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003005/0.006884, allocations: 307.6 kB / 0.958 GB, free: 12.42 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001166/0.007, allocations: 130.5 kB / 0.9581 GB, free: 12.29 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 6.001e-06/0.007006, allocations: 4 kB / 0.9581 GB, free: 12.28 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002551/0.007261, allocations: 287.6 kB / 0.9584 GB, free: 11.98 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=18): time 1.122e-06/0.007263, allocations: 0 / 0.9584 GB, free: 11.98 MB / 0.9167 GB Notification: Performance of matching and sorting (n=18): time 0.0005277/0.00779, allocations: 493.3 kB / 0.9588 GB, free: 11.49 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.767e-05/0.007838, allocations: 118.8 kB / 0.9589 GB, free: 11.35 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002835/0.008121, allocations: 412.3 kB / 0.9593 GB, free: 10.94 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 4.034e-05/0.008162, allocations: 37.7 kB / 0.9594 GB, free: 10.9 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 8.869e-05/0.00825, allocations: 160.8 kB / 0.9595 GB, free: 10.73 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.708e-05/0.008278, allocations: 35.77 kB / 0.9596 GB, free: 10.7 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.801e-05/0.008376, allocations: 121.5 kB / 0.9597 GB, free: 10.57 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 9.044e-05/0.008466, allocations: 342.8 kB / 0.96 GB, free: 10.23 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.895e-05/0.008545, allocations: 83.95 kB / 0.9601 GB, free: 10.15 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005638/0.009109, allocations: 1.095 MB / 0.9611 GB, free: 8.773 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000199/0.009308, allocations: 257.4 kB / 0.9614 GB, free: 8.473 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.009311, allocations: 4 kB / 0.9614 GB, free: 8.469 MB / 0.9167 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003347/0.009646, allocations: 329.1 kB / 0.9617 GB, free: 8.141 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.127e-05/0.009657, allocations: 4 kB / 0.9617 GB, free: 8.137 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.009663, allocations: 4.625 kB / 0.9617 GB, free: 8.133 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.009676, allocations: 8 kB / 0.9617 GB, free: 8.125 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.091e-05/0.009767, allocations: 31.92 kB / 0.9618 GB, free: 8.094 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/0.009776, allocations: 15.86 kB / 0.9618 GB, free: 8.078 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003646/0.01014, allocations: 72.27 kB / 0.9618 GB, free: 8.008 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.227e-05/0.01015, allocations: 11.94 kB / 0.9619 GB, free: 7.996 MB / 0.9167 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.0001322/0.01028, allocations: 195.7 kB / 0.962 GB, free: 7.797 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.025e-05/0.01032, allocations: 27.81 kB / 0.9621 GB, free: 7.77 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.51e-05/0.01035, allocations: 33.95 kB / 0.9621 GB, free: 7.738 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.105e-06/0.01035, allocations: 4 kB / 0.9621 GB, free: 7.734 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.01036, allocations: 0 / 0.9621 GB, free: 7.734 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.648e-06/0.01036, allocations: 7.938 kB / 0.9621 GB, free: 7.727 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001446/0.01051, allocations: 209.1 kB / 0.9623 GB, free: 7.492 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.01051, allocations: 0 / 0.9623 GB, free: 7.492 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.261e-06/0.01051, allocations: 7.984 kB / 0.9623 GB, free: 7.484 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.01052, allocations: 4 kB / 0.9623 GB, free: 7.48 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.097e-05/0.01053, allocations: 11.94 kB / 0.9623 GB, free: 7.469 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.467e-06/0.01053, allocations: 4.125 kB / 0.9623 GB, free: 7.465 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.01053, allocations: 0 / 0.9623 GB, free: 7.465 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003676/0.0109, allocations: 424.6 kB / 0.9627 GB, free: 7.027 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 2.75e-05/0.01093, allocations: 31.84 kB / 0.9628 GB, free: 6.996 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.925e-05/0.01095, allocations: 4 kB / 0.9628 GB, free: 6.992 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.364e-05/0.011, allocations: 8.234 kB / 0.9628 GB, free: 6.984 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.823e-05/0.01104, allocations: 19.91 kB / 0.9628 GB, free: 6.965 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.644e-05/0.01105, allocations: 12 kB / 0.9628 GB, free: 6.953 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0001888/0.01124, allocations: 295 kB / 0.9631 GB, free: 6.668 MB / 0.9167 GB Notification: Performance of sort global known variables: time 8e-08/0.01124, allocations: 0 / 0.9631 GB, free: 6.668 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002424/0.01149, allocations: 79.86 kB / 0.9632 GB, free: 6.59 MB / 0.9167 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.0001472/0.01163, allocations: 139.1 kB / 0.9633 GB, free: 6.441 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0002801/0.01191, allocations: 259.6 kB / 0.9636 GB, free: 6.188 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.01191, allocations: 0 / 0.9636 GB, free: 6.188 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001595/0.01207, allocations: 155.8 kB / 0.9637 GB, free: 6.035 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001731/0.01225, allocations: 20.66 kB / 0.9637 GB, free: 6.016 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005995/0.01285, allocations: 0.6079 MB / 0.9643 GB, free: 5.367 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001069/0.01295, allocations: 158 kB / 0.9645 GB, free: 5.195 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.034e-05/0.013, allocations: 28.48 kB / 0.9645 GB, free: 5.168 MB / 0.9167 GB Notification: Performance of SimCode: time 5.91e-07/0.013, allocations: 3.938 kB / 0.9645 GB, free: 5.164 MB / 0.9167 GB Notification: Performance of Templates: time 0.004261/0.01727, allocations: 4.408 MB / 0.9688 GB, free: 0.8203 MB / 0.9167 GB " [Timeout remaining time 300] 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/jenkins/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: 6.942424389533699]