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.001554/0.001554, allocations: 115.2 kB / 17.13 MB, free: 6.004 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.001781/0.001781, allocations: 216.3 kB / 20.1 MB, free: 3.051 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.47/1.47, allocations: 230.6 MB / 253.5 MB, free: 15.09 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 2.978/2.978, allocations: 0.49 GB / 0.7923 GB, free: 1.332 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.002067/0.002067, allocations: 71.89 kB / 1.15 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9281/0.9301, allocations: 176.1 MB / 1.322 GB, free: 25.1 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime): time 0.001796/0.9319, allocations: 0.6855 MB / 1.323 GB, free: 24.66 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001457/0.9334, allocations: 1.394 MB / 1.324 GB, free: 23.66 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.172e-05/0.9334, allocations: 0 / 1.324 GB, free: 23.66 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.000449/0.9339, allocations: 186.2 kB / 1.324 GB, free: 23.63 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 9.407e-05/0.934, allocations: 109.1 kB / 1.324 GB, free: 23.6 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006374/0.9346, allocations: 227.3 kB / 1.324 GB, free: 23.49 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003922/0.935, allocations: 496.6 kB / 1.325 GB, free: 23.32 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.218e-05/0.9351, allocations: 2.688 kB / 1.325 GB, free: 23.32 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001702/0.9352, allocations: 211.5 kB / 1.325 GB, free: 23.27 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002791/0.9355, allocations: 228.4 kB / 1.325 GB, free: 23.21 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 6.461e-05/0.9356, allocations: 20.03 kB / 1.325 GB, free: 23.21 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001765/0.9358, allocations: 87.36 kB / 1.325 GB, free: 23.19 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0002875/0.936, allocations: 271.7 kB / 1.326 GB, free: 23.12 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001692/0.9362, allocations: 151.2 kB / 1.326 GB, free: 23.04 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0005046/0.9367, allocations: 472.4 kB / 1.326 GB, free: 22.9 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.9367, allocations: 8 kB / 1.326 GB, free: 22.89 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.523e-06/0.9367, allocations: 0 / 1.326 GB, free: 22.89 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.873e-06/0.9367, allocations: 0 / 1.326 GB, free: 22.89 MB / 1.061 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.001007/0.9377, allocations: 0.649 MB / 1.327 GB, free: 22.38 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.9378, allocations: 9.062 kB / 1.327 GB, free: 22.38 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001464/0.9379, allocations: 37.66 kB / 1.327 GB, free: 22.37 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004916/0.9384, allocations: 388.7 kB / 1.327 GB, free: 22.09 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.341e-05/0.9384, allocations: 13 kB / 1.327 GB, free: 22.08 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.192e-05/0.9385, allocations: 20.12 kB / 1.327 GB, free: 22.08 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003349/0.9389, allocations: 187 kB / 1.328 GB, free: 22 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.9389, allocations: 4.125 kB / 1.328 GB, free: 21.99 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.214e-05/0.9389, allocations: 5.562 kB / 1.328 GB, free: 21.99 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.9389, allocations: 1.453 kB / 1.328 GB, free: 21.99 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002227/0.9391, allocations: 112.8 kB / 1.328 GB, free: 21.96 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004986/0.9396, allocations: 383.3 kB / 1.328 GB, free: 21.69 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000504/0.9401, allocations: 309.7 kB / 1.328 GB, free: 21.56 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001884/0.9403, allocations: 125.7 kB / 1.329 GB, free: 21.51 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.25e-05/0.9403, allocations: 10.19 kB / 1.329 GB, free: 21.5 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005016/0.9408, allocations: 281.3 kB / 1.329 GB, free: 21.39 MB / 1.061 GB Notification: Performance of pre-optimization done (n=18): time 1.372e-06/0.9408, allocations: 4 kB / 1.329 GB, free: 21.38 MB / 1.061 GB Notification: Performance of matching and sorting (n=18): time 0.0009212/0.9417, allocations: 0.5037 MB / 1.329 GB, free: 21.22 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.349e-05/0.9418, allocations: 109.2 kB / 1.329 GB, free: 21.1 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004684/0.9423, allocations: 400.6 kB / 1.33 GB, free: 20.92 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 7.192e-05/0.9423, allocations: 41.62 kB / 1.33 GB, free: 20.88 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001234/0.9425, allocations: 150.4 kB / 1.33 GB, free: 20.75 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.201e-05/0.9425, allocations: 42.22 kB / 1.33 GB, free: 20.72 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001954/0.9427, allocations: 114 kB / 1.33 GB, free: 20.68 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 8.147e-05/0.9428, allocations: 352 kB / 1.33 GB, free: 20.35 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001444/0.9429, allocations: 81.44 kB / 1.331 GB, free: 20.34 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004719/0.9434, allocations: 461.7 kB / 1.331 GB, free: 19.96 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002706/0.9437, allocations: 257.6 kB / 1.331 GB, free: 19.77 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.9437, allocations: 1 kB / 1.331 GB, free: 19.77 MB / 1.061 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005477/0.9442, allocations: 328.8 kB / 1.332 GB, free: 19.64 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.364e-05/0.9442, allocations: 11.05 kB / 1.332 GB, free: 19.64 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/0.9443, allocations: 7.531 kB / 1.332 GB, free: 19.64 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.458e-05/0.9443, allocations: 6.656 kB / 1.332 GB, free: 19.64 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001658/0.9444, allocations: 32.56 kB / 1.332 GB, free: 19.63 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.364e-05/0.9445, allocations: 9.344 kB / 1.332 GB, free: 19.62 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000805/0.9453, allocations: 80.22 kB / 1.332 GB, free: 19.59 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.496e-05/0.9453, allocations: 11.03 kB / 1.332 GB, free: 19.59 MB / 1.061 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.0002272/0.9455, allocations: 198.9 kB / 1.332 GB, free: 19.45 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.817e-05/0.9456, allocations: 32.95 kB / 1.332 GB, free: 19.43 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.735e-05/0.9456, allocations: 33.5 kB / 1.332 GB, free: 19.42 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.9456, allocations: 1.938 kB / 1.332 GB, free: 19.42 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.396e-06/0.9457, allocations: 2.219 kB / 1.332 GB, free: 19.42 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.693e-06/0.9457, allocations: 1.359 kB / 1.332 GB, free: 19.42 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000278/0.9459, allocations: 282.4 kB / 1.332 GB, free: 19.19 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.9459, allocations: 1.672 kB / 1.332 GB, free: 19.19 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.742e-05/0.946, allocations: 9.031 kB / 1.332 GB, free: 19.19 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.983e-06/0.946, allocations: 4.562 kB / 1.332 GB, free: 19.18 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.126e-05/0.946, allocations: 10.06 kB / 1.332 GB, free: 19.18 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.946, allocations: 2.375 kB / 1.332 GB, free: 19.18 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.946, allocations: 1.156 kB / 1.332 GB, free: 19.18 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007031/0.9467, allocations: 435.8 kB / 1.333 GB, free: 19 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 7.208e-05/0.9468, allocations: 103 kB / 1.333 GB, free: 18.89 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.37e-05/0.9468, allocations: 11.64 kB / 1.333 GB, free: 18.88 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001004/0.9469, allocations: 2.875 kB / 1.333 GB, free: 18.88 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.702e-05/0.947, allocations: 16.92 kB / 1.333 GB, free: 18.88 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.177e-05/0.947, allocations: 15.91 kB / 1.333 GB, free: 18.88 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0004114/0.9474, allocations: 291.5 kB / 1.333 GB, free: 18.75 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.9474, allocations: 0 / 1.333 GB, free: 18.75 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0005154/0.9479, allocations: 77.8 kB / 1.333 GB, free: 18.73 MB / 1.061 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.0002489/0.9482, allocations: 147.6 kB / 1.333 GB, free: 18.62 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004656/0.9486, allocations: 249.5 kB / 1.334 GB, free: 18.56 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.9487, allocations: 1.562 kB / 1.334 GB, free: 18.56 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002351/0.9489, allocations: 146.1 kB / 1.334 GB, free: 18.53 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000297/0.9492, allocations: 27.28 kB / 1.334 GB, free: 18.52 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000879/0.9501, allocations: 0.6131 MB / 1.334 GB, free: 18.18 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001939/0.9503, allocations: 0.7643 MB / 1.335 GB, free: 17.47 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.285e-05/0.9503, allocations: 30.23 kB / 1.335 GB, free: 17.46 MB / 1.061 GB Notification: Performance of SimCode: time 4.91e-07/0.9503, allocations: 5.312 kB / 1.335 GB, free: 17.46 MB / 1.061 GB Notification: Performance of Templates: time 0.009324/0.9597, allocations: 4.351 MB / 1.339 GB, free: 17.03 MB / 1.061 GB " [Timeout remaining time 299] 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: 12.246903551000287]