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.001385/0.001385, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.001599/0.001599, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.056/1.056, allocations: 177.1 MB / 204.5 MB, free: 5.508 MB / 186.7 MB " [Timeout remaining time 179] 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 2.157/2.157, allocations: 429.5 MB / 0.6743 GB, free: 3.926 MB / 0.6355 GB " [Timeout remaining time 177] 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.[0-9,]+.|intTimTab1.y.[0-9,]+.|tabOneRow.y.[0-9,]+.",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.[0-9,]+.|intTimTab1.y.[0-9,]+.|tabOneRow.y.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.435e-06/2.435e-06, allocations: 0 / 0.8794 GB, free: 6 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.626e-05/1.869e-05, allocations: 3.406 kB / 0.8794 GB, free: 5.996 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime): time 0.001197/0.001216, allocations: 0.6932 MB / 0.8801 GB, free: 5.328 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.00138/0.002596, allocations: 1.374 MB / 0.8814 GB, free: 3.945 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.455e-05/0.00266, allocations: 4 kB / 0.8814 GB, free: 3.941 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0004024/0.003063, allocations: 197.8 kB / 0.8816 GB, free: 3.75 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 8.492e-05/0.003148, allocations: 113.4 kB / 0.8817 GB, free: 3.641 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005231/0.003671, allocations: 246.4 kB / 0.882 GB, free: 3.402 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0003929/0.004064, allocations: 483.8 kB / 0.8824 GB, free: 2.93 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.776e-05/0.004101, allocations: 8 kB / 0.8824 GB, free: 2.922 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002167/0.004318, allocations: 252.3 kB / 0.8827 GB, free: 2.676 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002362/0.004554, allocations: 192.6 kB / 0.8829 GB, free: 2.488 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 4.753e-05/0.004602, allocations: 16.75 kB / 0.8829 GB, free: 2.473 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001654/0.004767, allocations: 95.84 kB / 0.883 GB, free: 2.379 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0002089/0.004976, allocations: 211.1 kB / 0.8832 GB, free: 2.176 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001083/0.005085, allocations: 111.8 kB / 0.8833 GB, free: 2.066 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003889/0.005473, allocations: 430.8 kB / 0.8837 GB, free: 1.645 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.005476, allocations: 3.938 kB / 0.8837 GB, free: 1.641 MB / 0.8386 GB Notification: Performance of FrontEnd: time 9.12e-07/0.005476, allocations: 0 / 0.8837 GB, free: 1.641 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.147e-06/0.005481, allocations: 0 / 0.8837 GB, free: 1.641 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.0006943/0.006175, allocations: 0.6668 MB / 0.8843 GB, free: 0.9336 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.006212, allocations: 12.03 kB / 0.8843 GB, free: 0.9219 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.173e-05/0.006304, allocations: 37.38 kB / 0.8844 GB, free: 0.8867 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002731/0.006577, allocations: 276.5 kB / 0.8846 GB, free: 0.5859 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.409e-05/0.006591, allocations: 12.97 kB / 0.8847 GB, free: 0.5742 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.897e-05/0.00663, allocations: 17.91 kB / 0.8847 GB, free: 0.5586 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001448/0.006775, allocations: 113.2 kB / 0.8848 GB, free: 440 kB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.133e-06/0.006782, allocations: 192 / 0.8848 GB, free: 440 kB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.446e-05/0.006797, allocations: 8.359 kB / 0.8848 GB, free: 432 kB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.006802, allocations: 4.375 kB / 0.8848 GB, free: 428 kB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.963e-05/0.006852, allocations: 35.86 kB / 0.8848 GB, free: 392 kB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002099/0.007062, allocations: 232.5 kB / 0.885 GB, free: 124 kB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001814/0.007243, allocations: 157.2 kB / 0.8852 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.326e-05/0.007296, allocations: 51.09 kB / 0.8852 GB, free: 15.87 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 6.101e-06/0.007302, allocations: 7.938 kB / 0.8853 GB, free: 15.86 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002066/0.007509, allocations: 238.1 kB / 0.8855 GB, free: 15.6 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=18): time 1.142e-06/0.00751, allocations: 0 / 0.8855 GB, free: 15.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=18): time 0.0004018/0.007912, allocations: 321.2 kB / 0.8858 GB, free: 15.28 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.801e-05/0.00796, allocations: 114.8 kB / 0.8859 GB, free: 15.14 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002204/0.00818, allocations: 370.1 kB / 0.8863 GB, free: 14.77 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 4.037e-05/0.008221, allocations: 33.7 kB / 0.8863 GB, free: 14.73 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001131/0.008334, allocations: 215.5 kB / 0.8865 GB, free: 14.52 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.294e-05/0.008367, allocations: 39.67 kB / 0.8865 GB, free: 14.48 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001043/0.008471, allocations: 123.2 kB / 0.8866 GB, free: 14.35 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001893/0.00866, allocations: 0.5312 MB / 0.8872 GB, free: 13.8 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.587e-05/0.008706, allocations: 35.97 kB / 0.8872 GB, free: 13.77 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004309/0.009137, allocations: 1.066 MB / 0.8882 GB, free: 12.38 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001593/0.009296, allocations: 226.8 kB / 0.8885 GB, free: 12.09 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.009299, allocations: 0 / 0.8885 GB, free: 12.09 MB / 0.8542 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0002467/0.009545, allocations: 233.1 kB / 0.8887 GB, free: 11.86 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/0.009558, allocations: 8.406 kB / 0.8887 GB, free: 11.85 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.009564, allocations: 8 kB / 0.8887 GB, free: 11.84 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.087e-05/0.009575, allocations: 4 kB / 0.8887 GB, free: 11.84 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000109/0.009684, allocations: 39.92 kB / 0.8887 GB, free: 11.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.009691, allocations: 7.984 kB / 0.8887 GB, free: 11.79 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002715/0.009962, allocations: 64.52 kB / 0.8888 GB, free: 11.73 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.094e-05/0.009973, allocations: 8 kB / 0.8888 GB, free: 11.72 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.0001131/0.01009, allocations: 190.5 kB / 0.889 GB, free: 11.52 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.331e-05/0.01013, allocations: 39.75 kB / 0.889 GB, free: 11.48 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.511e-05/0.01016, allocations: 29.95 kB / 0.8891 GB, free: 11.45 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.01017, allocations: 0 / 0.8891 GB, free: 11.45 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.786e-06/0.01017, allocations: 0 / 0.8891 GB, free: 11.45 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.01017, allocations: 4 kB / 0.8891 GB, free: 11.45 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001426/0.01032, allocations: 181.1 kB / 0.8892 GB, free: 11.25 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.01032, allocations: 7.938 kB / 0.8892 GB, free: 11.24 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.105e-06/0.01033, allocations: 4 kB / 0.8892 GB, free: 11.23 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.01033, allocations: 3.984 kB / 0.8892 GB, free: 11.23 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.726e-06/0.01034, allocations: 4 kB / 0.8893 GB, free: 11.23 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.01034, allocations: 0 / 0.8893 GB, free: 11.23 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/0.01034, allocations: 8 kB / 0.8893 GB, free: 11.22 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002754/0.01062, allocations: 325.5 kB / 0.8896 GB, free: 10.87 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.585e-05/0.01064, allocations: 27.78 kB / 0.8896 GB, free: 10.84 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.17e-05/0.01066, allocations: 7.984 kB / 0.8896 GB, free: 10.84 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.753e-05/0.01071, allocations: 4 kB / 0.8896 GB, free: 10.83 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.147e-05/0.01074, allocations: 15.98 kB / 0.8896 GB, free: 10.82 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.896e-05/0.01076, allocations: 11.98 kB / 0.8896 GB, free: 10.8 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001213/0.01088, allocations: 230.9 kB / 0.8899 GB, free: 10.58 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.01088, allocations: 0 / 0.8899 GB, free: 10.58 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002639/0.01115, allocations: 79.92 kB / 0.8899 GB, free: 10.5 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.0001439/0.01129, allocations: 151.9 kB / 0.8901 GB, free: 10.34 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002/0.01149, allocations: 156.1 kB / 0.8902 GB, free: 10.19 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/0.01149, allocations: 0 / 0.8902 GB, free: 10.19 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 7.117e-05/0.01156, allocations: 75.67 kB / 0.8903 GB, free: 10.11 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001858/0.01175, allocations: 51.55 kB / 0.8903 GB, free: 10.06 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004918/0.01224, allocations: 470.7 kB / 0.8908 GB, free: 9.566 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.913e-05/0.01229, allocations: 88.31 kB / 0.8909 GB, free: 9.461 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 6.972e-05/0.01236, allocations: 29.94 kB / 0.8909 GB, free: 9.434 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001645/0.01252, allocations: 154.1 kB / 0.8911 GB, free: 9.281 MB / 0.8542 GB Notification: Performance of SimCode: time 6.02e-07/0.01252, allocations: 0 / 0.8911 GB, free: 9.281 MB / 0.8542 GB Notification: Performance of Templates: time 0.007047/0.01957, allocations: 5.924 MB / 0.8968 GB, free: 3.48 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.724486843217164]