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.002695/0.002695, allocations: 85.48 kB / 19.44 MB, free: 340 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.003358/0.003358, allocations: 177.2 kB / 22.76 MB, free: 1.656 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.618/1.618, allocations: 177.1 MB / 203.1 MB, free: 5.598 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.383/3.383, allocations: 429.5 MB / 0.6729 GB, free: 4.027 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.174e-06/2.174e-06, allocations: 0 / 0.8775 GB, free: 6.648 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.043e-05/3.26e-05, allocations: 9.375 kB / 0.8775 GB, free: 6.641 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime): time 0.002511/0.002544, allocations: 0.6785 MB / 0.8781 GB, free: 5.984 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002853/0.005397, allocations: 1.364 MB / 0.8795 GB, free: 4.613 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.724e-05/0.005464, allocations: 1.25 kB / 0.8795 GB, free: 4.613 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.000679/0.006143, allocations: 193.7 kB / 0.8796 GB, free: 4.426 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0002123/0.006356, allocations: 105.8 kB / 0.8797 GB, free: 4.324 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009544/0.00731, allocations: 246.3 kB / 0.88 GB, free: 4.086 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0008688/0.008179, allocations: 483.8 kB / 0.8804 GB, free: 3.613 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.486e-05/0.008224, allocations: 4 kB / 0.8804 GB, free: 3.609 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004499/0.008674, allocations: 243.7 kB / 0.8807 GB, free: 3.371 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000513/0.009187, allocations: 225.1 kB / 0.8809 GB, free: 3.152 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 0.0001371/0.009324, allocations: 24.53 kB / 0.8809 GB, free: 3.129 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000355/0.009679, allocations: 95.84 kB / 0.881 GB, free: 3.035 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0006201/0.0103, allocations: 277.1 kB / 0.8813 GB, free: 2.766 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0002613/0.01056, allocations: 115.7 kB / 0.8814 GB, free: 2.652 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.001009/0.01157, allocations: 0.5258 MB / 0.8819 GB, free: 2.125 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.01157, allocations: 0 / 0.8819 GB, free: 2.125 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.052e-06/0.01157, allocations: 0.9688 kB / 0.8819 GB, free: 2.125 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.182e-06/0.01158, allocations: 4 kB / 0.8819 GB, free: 2.121 MB / 0.8386 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.001629/0.01321, allocations: 0.6764 MB / 0.8826 GB, free: 1.406 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.811e-05/0.01326, allocations: 8.031 kB / 0.8826 GB, free: 1.398 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000222/0.01348, allocations: 40.75 kB / 0.8826 GB, free: 1.359 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008433/0.01432, allocations: 288.6 kB / 0.8829 GB, free: 1.051 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.293e-05/0.01436, allocations: 12.38 kB / 0.8829 GB, free: 1.039 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001133/0.01447, allocations: 28.36 kB / 0.8829 GB, free: 1.012 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004065/0.01488, allocations: 153.1 kB / 0.8831 GB, free: 0.8438 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.01489, allocations: 192 / 0.8831 GB, free: 0.8438 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.855e-05/0.01492, allocations: 4.359 kB / 0.8831 GB, free: 0.8398 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.316e-05/0.01493, allocations: 4.375 kB / 0.8831 GB, free: 0.8359 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002082/0.01514, allocations: 67.84 kB / 0.8831 GB, free: 0.7695 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006359/0.01577, allocations: 300 kB / 0.8834 GB, free: 444 kB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000734/0.01651, allocations: 237.2 kB / 0.8837 GB, free: 168 kB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000228/0.01673, allocations: 87.08 kB / 0.8837 GB, free: 68 kB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.499e-05/0.01675, allocations: 8 kB / 0.8837 GB, free: 60 kB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005891/0.01734, allocations: 259.8 kB / 0.884 GB, free: 15.78 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=18): time 1.483e-06/0.01734, allocations: 0 / 0.884 GB, free: 15.78 MB / 0.8542 GB Notification: Performance of matching and sorting (n=18): time 0.001235/0.01858, allocations: 417.2 kB / 0.8844 GB, free: 15.36 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001199/0.01869, allocations: 110.8 kB / 0.8845 GB, free: 15.23 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007195/0.01941, allocations: 426.1 kB / 0.8849 GB, free: 14.8 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 8.871e-05/0.0195, allocations: 37.7 kB / 0.8849 GB, free: 14.75 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.000309/0.01981, allocations: 223.5 kB / 0.8852 GB, free: 14.53 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 7.434e-05/0.01989, allocations: 43.73 kB / 0.8852 GB, free: 14.49 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002964/0.02018, allocations: 119.3 kB / 0.8853 GB, free: 14.36 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0004253/0.02061, allocations: 0.5391 MB / 0.8858 GB, free: 13.81 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001719/0.02078, allocations: 59.97 kB / 0.8859 GB, free: 13.75 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001351/0.02213, allocations: 1.081 MB / 0.8869 GB, free: 12.35 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005091/0.02264, allocations: 266.7 kB / 0.8872 GB, free: 12.02 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.02265, allocations: 0 / 0.8872 GB, free: 12.02 MB / 0.8542 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007748/0.02342, allocations: 293.1 kB / 0.8875 GB, free: 11.73 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.125e-05/0.02344, allocations: 4 kB / 0.8875 GB, free: 11.72 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.267e-05/0.02345, allocations: 4 kB / 0.8875 GB, free: 11.72 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.326e-05/0.02349, allocations: 15.92 kB / 0.8875 GB, free: 11.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00028/0.02377, allocations: 39.92 kB / 0.8875 GB, free: 11.66 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.727e-05/0.02378, allocations: 7.938 kB / 0.8875 GB, free: 11.66 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000823/0.02461, allocations: 71 kB / 0.8876 GB, free: 11.59 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.527e-05/0.02464, allocations: 16.36 kB / 0.8876 GB, free: 11.57 MB / 0.8542 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.000292/0.02493, allocations: 198.5 kB / 0.8878 GB, free: 11.37 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.901e-05/0.02503, allocations: 35.8 kB / 0.8879 GB, free: 11.34 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.495e-05/0.02512, allocations: 33.89 kB / 0.8879 GB, free: 11.3 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.642e-06/0.02513, allocations: 4 kB / 0.8879 GB, free: 11.3 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/0.02513, allocations: 0 / 0.8879 GB, free: 11.3 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.355e-06/0.02514, allocations: 3.938 kB / 0.8879 GB, free: 11.29 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004467/0.02559, allocations: 240.5 kB / 0.8881 GB, free: 11.02 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.59e-06/0.02559, allocations: 8 kB / 0.8881 GB, free: 11.02 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.888e-05/0.02561, allocations: 0 / 0.8881 GB, free: 11.02 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.02561, allocations: 4 kB / 0.8881 GB, free: 11.01 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.322e-05/0.02564, allocations: 4 kB / 0.8881 GB, free: 11.01 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.721e-06/0.02564, allocations: 3.984 kB / 0.8881 GB, free: 11 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.02564, allocations: 0 / 0.8881 GB, free: 11 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008609/0.02651, allocations: 391.3 kB / 0.8885 GB, free: 10.59 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 7.787e-05/0.02658, allocations: 27.84 kB / 0.8885 GB, free: 10.56 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.133e-05/0.02664, allocations: 0 / 0.8885 GB, free: 10.56 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001412/0.02678, allocations: 8 kB / 0.8885 GB, free: 10.55 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.612e-05/0.02686, allocations: 20.14 kB / 0.8886 GB, free: 10.54 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.883e-05/0.0269, allocations: 19.94 kB / 0.8886 GB, free: 10.52 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0004467/0.02735, allocations: 263 kB / 0.8888 GB, free: 10.26 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.4e-07/0.02735, allocations: 0 / 0.8888 GB, free: 10.26 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0006222/0.02797, allocations: 83.86 kB / 0.8889 GB, free: 10.18 MB / 0.8542 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.0003399/0.02831, allocations: 151.9 kB / 0.8891 GB, free: 10.02 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0006292/0.02894, allocations: 216.7 kB / 0.8893 GB, free: 9.805 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 5.981e-06/0.02895, allocations: 4 kB / 0.8893 GB, free: 9.801 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0002751/0.02922, allocations: 107.6 kB / 0.8894 GB, free: 9.691 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004218/0.02964, allocations: 36.84 kB / 0.8894 GB, free: 9.656 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001255/0.0309, allocations: 0.4947 MB / 0.8899 GB, free: 9.125 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002453/0.03114, allocations: 145.2 kB / 0.89 GB, free: 8.961 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.000309/0.03145, allocations: 45 kB / 0.8901 GB, free: 8.918 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001132/0.03156, allocations: 28.5 kB / 0.8901 GB, free: 8.891 MB / 0.8542 GB Notification: Performance of SimCode: time 7.82e-07/0.03157, allocations: 0 / 0.8901 GB, free: 8.891 MB / 0.8542 GB Notification: Performance of Templates: time 0.01651/0.04807, allocations: 5.43 MB / 0.8954 GB, free: 3.594 MB / 0.8542 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe 2>&1) [Timeout 240] 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.74615079909563]