Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001614/0.001614, allocations: 115.5 kB / 18.88 MB, free: 3.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001704/0.001704, allocations: 190.6 kB / 22.17 MB, free: 5.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.438/1.438, allocations: 225.6 MB / 250.9 MB, free: 13.3 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.775/2.775, allocations: 476.7 MB / 0.7645 GB, free: 10.09 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_11_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_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002022/0.002022, allocations: 59.91 kB / 1.109 GB, free: 6.547 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7844/0.7864, allocations: 168.7 MB / 1.274 GB, free: 4.613 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime): time 0.001936/0.7883, allocations: 0.6928 MB / 1.275 GB, free: 3.926 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.00189/0.7902, allocations: 1.351 MB / 1.276 GB, free: 2.562 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.438e-05/0.7903, allocations: 3.938 kB / 1.276 GB, free: 2.559 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0005025/0.7908, allocations: 191.5 kB / 1.276 GB, free: 2.371 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001477/0.7909, allocations: 107.7 kB / 1.276 GB, free: 2.266 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007672/0.7917, allocations: 229.6 kB / 1.277 GB, free: 2.047 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0005934/0.7923, allocations: 491.7 kB / 1.277 GB, free: 1.566 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.25e-05/0.7923, allocations: 3.984 kB / 1.277 GB, free: 1.562 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002381/0.7926, allocations: 207.6 kB / 1.277 GB, free: 1.359 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003715/0.7929, allocations: 227.5 kB / 1.277 GB, free: 1.137 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 6.968e-05/0.793, allocations: 28 kB / 1.277 GB, free: 1.109 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002066/0.7932, allocations: 83.94 kB / 1.278 GB, free: 1.027 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0004064/0.7936, allocations: 283.3 kB / 1.278 GB, free: 0.75 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001899/0.7938, allocations: 147.3 kB / 1.278 GB, free: 0.6055 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0005528/0.7943, allocations: 473.2 kB / 1.278 GB, free: 148 kB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.7944, allocations: 0 / 1.278 GB, free: 148 kB / 0.9669 GB Notification: Performance of FrontEnd: time 1.113e-06/0.7944, allocations: 3.938 kB / 1.278 GB, free: 144 kB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.193e-06/0.7944, allocations: 4 kB / 1.278 GB, free: 140 kB / 0.9669 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.001193/0.7956, allocations: 0.6578 MB / 1.279 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.35e-05/0.7956, allocations: 8.031 kB / 1.279 GB, free: 15.42 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001345/0.7957, allocations: 32.8 kB / 1.279 GB, free: 15.39 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006476/0.7964, allocations: 384.3 kB / 1.279 GB, free: 14.97 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.543e-05/0.7964, allocations: 16.36 kB / 1.279 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.21e-05/0.7965, allocations: 24.36 kB / 1.28 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003273/0.7968, allocations: 184.6 kB / 1.28 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.7968, allocations: 192 / 1.28 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.303e-05/0.7968, allocations: 11.94 kB / 1.28 GB, free: 14.72 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.294e-06/0.7968, allocations: 4 kB / 1.28 GB, free: 14.72 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001863/0.797, allocations: 107.9 kB / 1.28 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004719/0.7975, allocations: 383.1 kB / 1.28 GB, free: 14.18 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004914/0.798, allocations: 319.6 kB / 1.28 GB, free: 13.84 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001883/0.7982, allocations: 118.6 kB / 1.281 GB, free: 13.72 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.291e-05/0.7982, allocations: 4 kB / 1.281 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004723/0.7987, allocations: 283.4 kB / 1.281 GB, free: 13.42 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=18): time 1.392e-06/0.7987, allocations: 0 / 1.281 GB, free: 13.42 MB / 0.9825 GB Notification: Performance of matching and sorting (n=18): time 0.0009066/0.7996, allocations: 0.5011 MB / 1.281 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000101/0.7997, allocations: 114.8 kB / 1.281 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004834/0.8001, allocations: 404.5 kB / 1.282 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.93e-05/0.8002, allocations: 37.7 kB / 1.282 GB, free: 12.33 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001534/0.8004, allocations: 156.8 kB / 1.282 GB, free: 12.17 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.891e-05/0.8004, allocations: 39.69 kB / 1.282 GB, free: 12.13 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001794/0.8006, allocations: 121.6 kB / 1.282 GB, free: 12.01 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001971/0.8008, allocations: 338.8 kB / 1.283 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001399/0.8009, allocations: 91.94 kB / 1.283 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005586/0.8015, allocations: 463 kB / 1.283 GB, free: 11 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003246/0.8018, allocations: 253.5 kB / 1.283 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.8018, allocations: 0 / 1.283 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006169/0.8024, allocations: 333 kB / 1.284 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/0.8025, allocations: 11.94 kB / 1.284 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.378e-06/0.8025, allocations: 4 kB / 1.284 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.756e-05/0.8025, allocations: 4 kB / 1.284 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001561/0.8026, allocations: 27.92 kB / 1.284 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.175e-05/0.8027, allocations: 8.125 kB / 1.284 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007904/0.8034, allocations: 80.72 kB / 1.284 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.968e-05/0.8035, allocations: 19.98 kB / 1.284 GB, free: 10.22 MB / 0.9825 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.0002399/0.8037, allocations: 184.2 kB / 1.284 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.182e-05/0.8038, allocations: 43.72 kB / 1.284 GB, free: 9.988 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.165e-05/0.8038, allocations: 33.89 kB / 1.284 GB, free: 9.953 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.8038, allocations: 4 kB / 1.284 GB, free: 9.949 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.738e-06/0.8038, allocations: 4 kB / 1.284 GB, free: 9.945 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.8039, allocations: 0 / 1.284 GB, free: 9.945 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003294/0.8042, allocations: 289.4 kB / 1.284 GB, free: 9.613 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.8042, allocations: 4 kB / 1.284 GB, free: 9.609 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.347e-05/0.8042, allocations: 3.938 kB / 1.284 GB, free: 9.605 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.196e-06/0.8042, allocations: 7.938 kB / 1.284 GB, free: 9.598 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.95e-05/0.8042, allocations: 7.984 kB / 1.284 GB, free: 9.59 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.8042, allocations: 0 / 1.284 GB, free: 9.59 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.8042, allocations: 0 / 1.284 GB, free: 9.59 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006348/0.8049, allocations: 440.5 kB / 1.285 GB, free: 9.137 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001054/0.805, allocations: 104.9 kB / 1.285 GB, free: 9.016 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.039e-05/0.805, allocations: 11.92 kB / 1.285 GB, free: 9.004 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.199e-05/0.8051, allocations: 0 / 1.285 GB, free: 9.004 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.906e-05/0.8052, allocations: 19.98 kB / 1.285 GB, free: 8.984 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.556e-05/0.8052, allocations: 19.98 kB / 1.285 GB, free: 8.965 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003435/0.8056, allocations: 291 kB / 1.285 GB, free: 8.684 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8.1e-08/0.8056, allocations: 0 / 1.285 GB, free: 8.684 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003918/0.806, allocations: 75.94 kB / 1.285 GB, free: 8.609 MB / 0.9825 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.0002826/0.8062, allocations: 147.5 kB / 1.285 GB, free: 8.457 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005798/0.8068, allocations: 240.5 kB / 1.286 GB, free: 8.223 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 9.468e-06/0.8068, allocations: 0 / 1.286 GB, free: 8.223 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002192/0.807, allocations: 131.8 kB / 1.286 GB, free: 8.094 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002873/0.8073, allocations: 26.61 kB / 1.286 GB, free: 8.07 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009814/0.8083, allocations: 0.5762 MB / 1.286 GB, free: 7.461 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004525/0.8088, allocations: 0.7676 MB / 1.287 GB, free: 6.668 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001174/0.8089, allocations: 45.94 kB / 1.287 GB, free: 6.617 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.845e-05/0.809, allocations: 27.44 kB / 1.287 GB, free: 6.59 MB / 0.9825 GB Notification: Performance of SimCode: time 4.61e-07/0.809, allocations: 4 kB / 1.287 GB, free: 6.586 MB / 0.9825 GB Notification: Performance of Templates: time 0.01025/0.8192, allocations: 5.076 MB / 1.292 GB, free: 1.559 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTableNegativeStartTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 9.028730807825923]