Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001869/0.001869, allocations: 88.72 kB / 19.44 MB, free: 352 kB / 13.93 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.002435/0.002435, allocations: 157.7 kB / 22.75 MB, free: 1.68 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 1.559/1.559, allocations: 177.1 MB / 203.1 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.33/3.33, allocations: 429.6 MB / 0.673 GB, free: 3.895 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.915e-06/2.915e-06, allocations: 0 / 0.8776 GB, free: 5.328 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.073e-05/3.364e-05, allocations: 6.25 kB / 0.8776 GB, free: 5.32 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime): time 0.002098/0.002131, allocations: 0.6633 MB / 0.8783 GB, free: 4.684 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.002586/0.004718, allocations: 1.363 MB / 0.8796 GB, free: 3.312 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.884e-05/0.004797, allocations: 6.125 kB / 0.8796 GB, free: 3.309 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.0006142/0.005411, allocations: 188.6 kB / 0.8798 GB, free: 3.129 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.0001764/0.005587, allocations: 104.1 kB / 0.8799 GB, free: 3.031 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009003/0.006487, allocations: 249.4 kB / 0.8801 GB, free: 2.789 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.000721/0.007208, allocations: 483.8 kB / 0.8806 GB, free: 2.316 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 4.158e-05/0.00725, allocations: 4 kB / 0.8806 GB, free: 2.312 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004698/0.00772, allocations: 248.2 kB / 0.8808 GB, free: 2.07 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006877/0.008407, allocations: 225 kB / 0.881 GB, free: 1.852 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.0001225/0.00853, allocations: 25.47 kB / 0.8811 GB, free: 1.828 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003079/0.008838, allocations: 91.84 kB / 0.8811 GB, free: 1.738 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.0004633/0.009301, allocations: 279.4 kB / 0.8814 GB, free: 1.465 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.0002467/0.009548, allocations: 111.7 kB / 0.8815 GB, free: 1.355 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0008679/0.01042, allocations: 0.5375 MB / 0.882 GB, free: 0.8164 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.01042, allocations: 0 / 0.882 GB, free: 0.8164 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.152e-06/0.01042, allocations: 0 / 0.882 GB, free: 0.8164 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.223e-05/0.01043, allocations: 0 / 0.882 GB, free: 0.8164 MB / 0.7917 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.001334/0.01177, allocations: 0.5592 MB / 0.8826 GB, free: 228 kB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/0.01181, allocations: 8.031 kB / 0.8826 GB, free: 220 kB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001953/0.012, allocations: 40.75 kB / 0.8826 GB, free: 180 kB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006734/0.01268, allocations: 329.7 kB / 0.883 GB, free: 15.83 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.976e-05/0.01271, allocations: 16.36 kB / 0.883 GB, free: 15.81 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.988e-05/0.01279, allocations: 24.38 kB / 0.883 GB, free: 15.79 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003669/0.01315, allocations: 184.7 kB / 0.8832 GB, free: 15.59 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.01317, allocations: 8.188 kB / 0.8832 GB, free: 15.59 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.034e-05/0.01319, allocations: 384 / 0.8832 GB, free: 15.59 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.01319, allocations: 384 / 0.8832 GB, free: 15.59 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002135/0.0134, allocations: 119.8 kB / 0.8833 GB, free: 15.47 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004961/0.0139, allocations: 274.9 kB / 0.8836 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005596/0.01446, allocations: 311.6 kB / 0.8838 GB, free: 14.83 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002181/0.01468, allocations: 122.6 kB / 0.884 GB, free: 14.7 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.48e-05/0.01469, allocations: 8 kB / 0.884 GB, free: 14.7 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005638/0.01526, allocations: 279.5 kB / 0.8842 GB, free: 14.4 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=18): time 1.502e-06/0.01526, allocations: 0 / 0.8842 GB, free: 14.4 MB / 0.8073 GB Notification: Performance of matching and sorting (n=18): time 0.001055/0.01631, allocations: 0.505 MB / 0.8847 GB, free: 13.89 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00011/0.01642, allocations: 106.8 kB / 0.8848 GB, free: 13.76 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005777/0.017, allocations: 408.4 kB / 0.8852 GB, free: 13.35 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 8.611e-05/0.01709, allocations: 37.7 kB / 0.8853 GB, free: 13.31 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001898/0.01728, allocations: 152.8 kB / 0.8854 GB, free: 13.16 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 6.119e-05/0.01734, allocations: 47.72 kB / 0.8855 GB, free: 13.11 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002239/0.01756, allocations: 113.6 kB / 0.8856 GB, free: 12.99 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0002132/0.01777, allocations: 342.8 kB / 0.8859 GB, free: 12.65 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001579/0.01793, allocations: 87.95 kB / 0.886 GB, free: 12.56 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001112/0.01904, allocations: 1.089 MB / 0.887 GB, free: 11.2 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003903/0.01943, allocations: 253.5 kB / 0.8873 GB, free: 10.9 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.01944, allocations: 0 / 0.8873 GB, free: 10.9 MB / 0.8073 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008729/0.02031, allocations: 345.1 kB / 0.8876 GB, free: 10.55 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.248e-05/0.02033, allocations: 4 kB / 0.8876 GB, free: 10.55 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.125e-05/0.02034, allocations: 4 kB / 0.8876 GB, free: 10.55 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.094e-05/0.02038, allocations: 11.98 kB / 0.8876 GB, free: 10.54 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001728/0.02055, allocations: 27.92 kB / 0.8877 GB, free: 10.51 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.579e-05/0.02056, allocations: 7.938 kB / 0.8877 GB, free: 10.5 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007959/0.02136, allocations: 72.88 kB / 0.8877 GB, free: 10.43 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.899e-05/0.02139, allocations: 16 kB / 0.8877 GB, free: 10.41 MB / 0.8073 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.0002802/0.02167, allocations: 191.7 kB / 0.8879 GB, free: 10.22 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.719e-05/0.02176, allocations: 39.8 kB / 0.888 GB, free: 10.18 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.03e-05/0.02183, allocations: 33.95 kB / 0.888 GB, free: 10.15 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/0.02183, allocations: 4 kB / 0.888 GB, free: 10.14 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.02184, allocations: 0 / 0.888 GB, free: 10.14 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.773e-06/0.02185, allocations: 3.938 kB / 0.888 GB, free: 10.14 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002947/0.02214, allocations: 205.2 kB / 0.8882 GB, free: 9.91 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.02214, allocations: 0 / 0.8882 GB, free: 9.91 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.723e-05/0.02216, allocations: 7.938 kB / 0.8882 GB, free: 9.902 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.482e-06/0.02217, allocations: 4 kB / 0.8882 GB, free: 9.898 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.586e-05/0.02219, allocations: 11.98 kB / 0.8882 GB, free: 9.887 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.02219, allocations: 0 / 0.8882 GB, free: 9.887 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.0222, allocations: 240 / 0.8882 GB, free: 9.887 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000738/0.02293, allocations: 444.6 kB / 0.8886 GB, free: 9.43 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 5.89e-05/0.02299, allocations: 27.84 kB / 0.8887 GB, free: 9.402 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.065e-05/0.02303, allocations: 4 kB / 0.8887 GB, free: 9.398 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.625e-05/0.02313, allocations: 8 kB / 0.8887 GB, free: 9.391 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.968e-05/0.02321, allocations: 19.91 kB / 0.8887 GB, free: 9.371 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.152e-05/0.02324, allocations: 16 kB / 0.8887 GB, free: 9.355 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0004195/0.02366, allocations: 287 kB / 0.889 GB, free: 9.074 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7e-08/0.02366, allocations: 0 / 0.889 GB, free: 9.074 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0004423/0.0241, allocations: 83.86 kB / 0.8891 GB, free: 8.992 MB / 0.8073 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.0003049/0.02441, allocations: 140 kB / 0.8892 GB, free: 8.844 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0005086/0.02492, allocations: 256.1 kB / 0.8895 GB, free: 8.594 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.02492, allocations: 0 / 0.8895 GB, free: 8.594 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0002351/0.02515, allocations: 127.8 kB / 0.8896 GB, free: 8.469 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002975/0.02545, allocations: 30.78 kB / 0.8896 GB, free: 8.441 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00113/0.02658, allocations: 0.5853 MB / 0.8902 GB, free: 7.816 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002057/0.02679, allocations: 157.7 kB / 0.8903 GB, free: 7.648 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0001482/0.02693, allocations: 45.94 kB / 0.8904 GB, free: 7.598 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.786e-05/0.02702, allocations: 28.5 kB / 0.8904 GB, free: 7.57 MB / 0.8073 GB Notification: Performance of SimCode: time 6.51e-07/0.02702, allocations: 0 / 0.8904 GB, free: 7.57 MB / 0.8073 GB Notification: Performance of Templates: time 0.012/0.03902, allocations: 5.445 MB / 0.8957 GB, free: 2.262 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTableNegativeStartTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.545150051941164]