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.001006/0.001006, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.001423/0.001423, allocations: 173.4 kB / 23.36 MB, free: 1.133 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 0.9717/0.9717, allocations: 177.1 MB / 203.8 MB, free: 5.496 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.492/2.492, allocations: 438.8 MB / 0.6826 GB, free: 13.57 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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 1.984e-06/1.984e-06, allocations: 0 / 0.8386 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.983e-05/2.181e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime): time 0.001363/0.001385, allocations: 0.6832 MB / 0.8393 GB, free: 13.51 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001301/0.002686, allocations: 1.388 MB / 0.8406 GB, free: 12.11 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.958e-05/0.002736, allocations: 0 / 0.8406 GB, free: 12.11 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0004089/0.003145, allocations: 207.3 kB / 0.8408 GB, free: 11.9 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 8.324e-05/0.003228, allocations: 103.7 kB / 0.8409 GB, free: 11.8 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004962/0.003724, allocations: 239.2 kB / 0.8411 GB, free: 11.57 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0003765/0.004101, allocations: 495.7 kB / 0.8416 GB, free: 11.08 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 3.431e-05/0.004135, allocations: 0 / 0.8416 GB, free: 11.08 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002209/0.004356, allocations: 255.7 kB / 0.8419 GB, free: 10.83 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002302/0.004586, allocations: 171.6 kB / 0.842 GB, free: 10.66 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 4.871e-05/0.004635, allocations: 20 kB / 0.842 GB, free: 10.64 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001601/0.004795, allocations: 95.83 kB / 0.8421 GB, free: 10.55 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.000167/0.004962, allocations: 179.7 kB / 0.8423 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0001002/0.005062, allocations: 115.7 kB / 0.8424 GB, free: 10.26 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0003764/0.005438, allocations: 430.7 kB / 0.8428 GB, free: 9.84 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.963e-06/0.00544, allocations: 0 / 0.8428 GB, free: 9.84 MB / 0.8073 GB Notification: Performance of FrontEnd: time 8.62e-07/0.005441, allocations: 4 kB / 0.8428 GB, free: 9.836 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.005446, allocations: 0 / 0.8428 GB, free: 9.836 MB / 0.8073 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.0005992/0.006046, allocations: 0.5146 MB / 0.8433 GB, free: 9.293 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.325e-05/0.006079, allocations: 8.625 kB / 0.8433 GB, free: 9.285 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.972e-05/0.006149, allocations: 28.91 kB / 0.8434 GB, free: 9.258 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000255/0.006404, allocations: 245.8 kB / 0.8436 GB, free: 8.992 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.47e-05/0.006418, allocations: 12.38 kB / 0.8436 GB, free: 8.98 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.415e-05/0.006463, allocations: 28.3 kB / 0.8436 GB, free: 8.953 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001452/0.006608, allocations: 107.5 kB / 0.8437 GB, free: 8.832 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.051e-06/0.006614, allocations: 192 / 0.8437 GB, free: 8.832 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/0.006625, allocations: 384 / 0.8437 GB, free: 8.832 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.00663, allocations: 384 / 0.8437 GB, free: 8.832 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.204e-05/0.006683, allocations: 48.33 kB / 0.8438 GB, free: 8.781 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001562/0.006839, allocations: 123.2 kB / 0.8439 GB, free: 8.637 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001699/0.007009, allocations: 149.9 kB / 0.844 GB, free: 8.457 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.745e-05/0.007056, allocations: 38.62 kB / 0.8441 GB, free: 8.41 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 3.416e-06/0.007059, allocations: 0 / 0.8441 GB, free: 8.41 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000198/0.007257, allocations: 220.4 kB / 0.8443 GB, free: 8.172 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=18): time 1.113e-06/0.007258, allocations: 0 / 0.8443 GB, free: 8.172 MB / 0.8073 GB Notification: Performance of matching and sorting (n=18): time 0.0002781/0.007537, allocations: 206 kB / 0.8445 GB, free: 7.961 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.326e-05/0.0076, allocations: 110.8 kB / 0.8446 GB, free: 7.828 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001732/0.007773, allocations: 275 kB / 0.8449 GB, free: 7.547 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 3.907e-05/0.007812, allocations: 37.7 kB / 0.8449 GB, free: 7.504 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 6.368e-05/0.007876, allocations: 129.3 kB / 0.845 GB, free: 7.375 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.745e-05/0.007903, allocations: 31.78 kB / 0.845 GB, free: 7.344 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.589e-05/0.007999, allocations: 101.6 kB / 0.8451 GB, free: 7.238 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.158e-05/0.008081, allocations: 346.7 kB / 0.8455 GB, free: 6.891 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.448e-05/0.008125, allocations: 34.8 kB / 0.8455 GB, free: 6.855 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004597/0.008585, allocations: 0.9352 MB / 0.8464 GB, free: 5.641 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001486/0.008733, allocations: 200.9 kB / 0.8466 GB, free: 5.391 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.008737, allocations: 4 kB / 0.8466 GB, free: 5.387 MB / 0.8073 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0002081/0.008945, allocations: 209.7 kB / 0.8468 GB, free: 5.172 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.008961, allocations: 10.03 kB / 0.8468 GB, free: 5.164 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.008967, allocations: 7.938 kB / 0.8468 GB, free: 5.156 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.008982, allocations: 4 kB / 0.8468 GB, free: 5.152 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001195/0.009102, allocations: 51.84 kB / 0.8469 GB, free: 5.102 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.129e-06/0.009107, allocations: 4.406 kB / 0.8469 GB, free: 5.098 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002707/0.009377, allocations: 60.39 kB / 0.847 GB, free: 5.039 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.56e-05/0.009393, allocations: 15.94 kB / 0.847 GB, free: 5.023 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.0001143/0.009507, allocations: 142.6 kB / 0.8471 GB, free: 4.871 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.178e-05/0.009539, allocations: 23.98 kB / 0.8471 GB, free: 4.848 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.418e-05/0.009573, allocations: 25.95 kB / 0.8472 GB, free: 4.82 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.009576, allocations: 0 / 0.8472 GB, free: 4.82 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.00958, allocations: 4 kB / 0.8472 GB, free: 4.816 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-06/0.009584, allocations: 7.984 kB / 0.8472 GB, free: 4.809 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001192/0.009704, allocations: 133.6 kB / 0.8473 GB, free: 4.66 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.009705, allocations: 4 kB / 0.8473 GB, free: 4.656 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.18e-05/0.009717, allocations: 11.92 kB / 0.8473 GB, free: 4.645 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.009719, allocations: 4 kB / 0.8473 GB, free: 4.641 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.973e-06/0.009726, allocations: 0 / 0.8473 GB, free: 4.641 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/0.00973, allocations: 8.125 kB / 0.8473 GB, free: 4.633 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.009732, allocations: 0 / 0.8473 GB, free: 4.633 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000179/0.009911, allocations: 190 kB / 0.8475 GB, free: 4.418 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.503e-05/0.009936, allocations: 19.86 kB / 0.8475 GB, free: 4.398 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.079e-05/0.009956, allocations: 3.984 kB / 0.8475 GB, free: 4.395 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.282e-05/0.01001, allocations: 15.94 kB / 0.8475 GB, free: 4.379 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.691e-05/0.01005, allocations: 15.92 kB / 0.8475 GB, free: 4.363 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.795e-05/0.01006, allocations: 11.98 kB / 0.8476 GB, free: 4.352 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 9.304e-05/0.01016, allocations: 108.6 kB / 0.8477 GB, free: 4.242 MB / 0.8073 GB Notification: Performance of sort global known variables: time 9.1e-08/0.01016, allocations: 0 / 0.8477 GB, free: 4.242 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002467/0.0104, allocations: 71.94 kB / 0.8477 GB, free: 4.172 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.0001778/0.01058, allocations: 125.1 kB / 0.8479 GB, free: 4.039 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001878/0.01077, allocations: 152.5 kB / 0.848 GB, free: 3.887 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/0.01077, allocations: 4 kB / 0.848 GB, free: 3.883 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 6.313e-05/0.01084, allocations: 59.27 kB / 0.8481 GB, free: 3.824 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001433/0.01098, allocations: 32.59 kB / 0.8481 GB, free: 3.793 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005604/0.01154, allocations: 462.1 kB / 0.8485 GB, free: 3.309 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.057e-05/0.01159, allocations: 93.11 kB / 0.8486 GB, free: 3.199 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 6.97e-05/0.01166, allocations: 38.17 kB / 0.8487 GB, free: 3.164 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001549/0.01182, allocations: 119.3 kB / 0.8488 GB, free: 3.047 MB / 0.8073 GB Notification: Performance of SimCode: time 6.21e-07/0.01182, allocations: 0 / 0.8488 GB, free: 3.047 MB / 0.8073 GB Notification: Performance of Templates: time 0.007398/0.01922, allocations: 5.847 MB / 0.8545 GB, free: 13.34 MB / 0.823 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.5831343568861485]