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.001185/0.001185, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001318/0.001318, allocations: 169 kB / 24.28 MB, free: 272 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 0.9808/0.9808, allocations: 177.1 MB / 204.6 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.832/1.832, allocations: 377.8 MB / 0.6239 GB, free: 8.566 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.[0-9,]+.|intTimTab1.y.[0-9,]+.|tabOneRow.y.[0-9,]+.",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.[0-9,]+.|intTimTab1.y.[0-9,]+.|tabOneRow.y.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.243e-06/1.243e-06, allocations: 0 / 0.8115 GB, free: 2.059 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.63e-05/1.754e-05, allocations: 9.344 kB / 0.8115 GB, free: 2.051 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime): time 0.001106/0.001124, allocations: 0.695 MB / 0.8122 GB, free: 1.375 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001345/0.002468, allocations: 1.374 MB / 0.8136 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.322e-05/0.002511, allocations: 1.688 kB / 0.8136 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0003187/0.00283, allocations: 196.8 kB / 0.8137 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 7.802e-05/0.002908, allocations: 101.2 kB / 0.8138 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003967/0.003305, allocations: 242.1 kB / 0.8141 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0003619/0.003667, allocations: 487.8 kB / 0.8145 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.68e-05/0.003704, allocations: 4.531 kB / 0.8145 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002095/0.003913, allocations: 253.3 kB / 0.8148 GB, free: 14.74 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002526/0.004166, allocations: 219.6 kB / 0.815 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 6.109e-05/0.004227, allocations: 24.56 kB / 0.815 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001666/0.004393, allocations: 96.44 kB / 0.8151 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0002352/0.004629, allocations: 271.4 kB / 0.8154 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001062/0.004735, allocations: 116.5 kB / 0.8155 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003752/0.00511, allocations: 430.8 kB / 0.8159 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.843e-06/0.005112, allocations: 1.156 kB / 0.8159 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of FrontEnd: time 4.6e-07/0.005112, allocations: 0 / 0.8159 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.428e-06/0.005117, allocations: 0 / 0.8159 GB, free: 13.61 MB / 0.7761 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.0006472/0.005764, allocations: 0.6642 MB / 0.8165 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 2.957e-05/0.005794, allocations: 8.031 kB / 0.8165 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.697e-05/0.005881, allocations: 38.55 kB / 0.8166 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002891/0.00617, allocations: 296.5 kB / 0.8169 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.268e-05/0.006182, allocations: 12.38 kB / 0.8169 GB, free: 12.53 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.317e-05/0.006225, allocations: 28.3 kB / 0.8169 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001629/0.006388, allocations: 133.2 kB / 0.817 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.608e-06/0.006393, allocations: 2.406 kB / 0.817 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.305e-05/0.006406, allocations: 4.359 kB / 0.817 GB, free: 12.35 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.254e-06/0.006413, allocations: 4.375 kB / 0.817 GB, free: 12.35 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.318e-05/0.006486, allocations: 51.84 kB / 0.8171 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002618/0.006748, allocations: 279.9 kB / 0.8174 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002802/0.007028, allocations: 200 kB / 0.8176 GB, free: 11.75 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.186e-05/0.00711, allocations: 63.09 kB / 0.8176 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 6.212e-06/0.007117, allocations: 4 kB / 0.8176 GB, free: 11.67 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002428/0.007359, allocations: 263.9 kB / 0.8179 GB, free: 11.39 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=18): time 9.12e-07/0.00736, allocations: 0 / 0.8179 GB, free: 11.39 MB / 0.7761 GB Notification: Performance of matching and sorting (n=18): time 0.0005061/0.007866, allocations: 377.5 kB / 0.8182 GB, free: 11.02 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.133e-05/0.007918, allocations: 114.8 kB / 0.8183 GB, free: 10.88 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002517/0.008169, allocations: 382.8 kB / 0.8187 GB, free: 10.49 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.768e-05/0.008207, allocations: 33.7 kB / 0.8187 GB, free: 10.45 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001058/0.008313, allocations: 212.1 kB / 0.8189 GB, free: 10.24 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.447e-05/0.008347, allocations: 44.27 kB / 0.819 GB, free: 10.2 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.696e-05/0.008444, allocations: 115.3 kB / 0.8191 GB, free: 10.07 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001333/0.008578, allocations: 0.528 MB / 0.8196 GB, free: 9.535 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.942e-05/0.008637, allocations: 49.34 kB / 0.8197 GB, free: 9.488 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004396/0.009077, allocations: 1.072 MB / 0.8207 GB, free: 8.09 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002689/0.009346, allocations: 251 kB / 0.8209 GB, free: 7.781 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.009349, allocations: 4 kB / 0.8209 GB, free: 7.777 MB / 0.7761 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0002888/0.009638, allocations: 271.8 kB / 0.8212 GB, free: 7.508 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/0.00965, allocations: 11.72 kB / 0.8212 GB, free: 7.5 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.009656, allocations: 4 kB / 0.8212 GB, free: 7.496 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.009669, allocations: 7.938 kB / 0.8212 GB, free: 7.488 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000109/0.009778, allocations: 36.16 kB / 0.8213 GB, free: 7.453 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.748e-06/0.009787, allocations: 15.92 kB / 0.8213 GB, free: 7.438 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002839/0.01007, allocations: 60.34 kB / 0.8213 GB, free: 7.379 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.197e-05/0.01008, allocations: 8 kB / 0.8213 GB, free: 7.371 MB / 0.7761 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.0001066/0.01019, allocations: 192 kB / 0.8215 GB, free: 7.176 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.678e-05/0.01023, allocations: 43.8 kB / 0.8216 GB, free: 7.133 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.286e-05/0.01026, allocations: 25.95 kB / 0.8216 GB, free: 7.105 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.01026, allocations: 4.938 kB / 0.8216 GB, free: 7.102 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.01027, allocations: 0 / 0.8216 GB, free: 7.102 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.01027, allocations: 3.938 kB / 0.8216 GB, free: 7.098 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001568/0.01043, allocations: 225.6 kB / 0.8218 GB, free: 6.844 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.01043, allocations: 0 / 0.8218 GB, free: 6.844 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.446e-06/0.01044, allocations: 11.94 kB / 0.8218 GB, free: 6.832 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.704e-06/0.01044, allocations: 1.125 kB / 0.8218 GB, free: 6.832 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.047e-05/0.01045, allocations: 7.984 kB / 0.8218 GB, free: 6.824 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.01045, allocations: 4 kB / 0.8218 GB, free: 6.82 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.01045, allocations: 1 kB / 0.8218 GB, free: 6.82 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003223/0.01077, allocations: 359.4 kB / 0.8222 GB, free: 6.438 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.592e-05/0.0108, allocations: 31.72 kB / 0.8222 GB, free: 6.406 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.145e-05/0.01082, allocations: 4.719 kB / 0.8222 GB, free: 6.402 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.82e-05/0.01087, allocations: 4 kB / 0.8222 GB, free: 6.398 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.894e-05/0.01091, allocations: 24.84 kB / 0.8222 GB, free: 6.375 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.584e-05/0.01092, allocations: 8 kB / 0.8222 GB, free: 6.367 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001484/0.01107, allocations: 251.7 kB / 0.8225 GB, free: 6.121 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.01107, allocations: 0 / 0.8225 GB, free: 6.121 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002338/0.01131, allocations: 77.78 kB / 0.8226 GB, free: 6.047 MB / 0.7761 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.000143/0.01145, allocations: 145.1 kB / 0.8227 GB, free: 5.898 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002297/0.01168, allocations: 193.9 kB / 0.8229 GB, free: 5.707 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.01168, allocations: 0 / 0.8229 GB, free: 5.707 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 9.124e-05/0.01177, allocations: 100.2 kB / 0.823 GB, free: 5.605 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001707/0.01194, allocations: 39.55 kB / 0.823 GB, free: 5.57 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005012/0.01244, allocations: 494.6 kB / 0.8235 GB, free: 5.051 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.168e-05/0.0125, allocations: 96.3 kB / 0.8236 GB, free: 4.938 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 6.218e-05/0.01256, allocations: 27.33 kB / 0.8236 GB, free: 4.914 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.545e-05/0.0126, allocations: 29.08 kB / 0.8236 GB, free: 4.887 MB / 0.7761 GB Notification: Performance of SimCode: time 8.12e-07/0.0126, allocations: 5.219 kB / 0.8236 GB, free: 4.883 MB / 0.7761 GB Notification: Performance of Templates: time 0.006407/0.01901, allocations: 5.491 MB / 0.829 GB, free: 15.5 MB / 0.7917 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe 2>&1) [Timeout 240] 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","",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.1674691420048475]