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.002401/0.002401, allocations: 83.69 kB / 20.23 MB, free: 4.191 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.002942/0.002942, allocations: 157.3 kB / 23.55 MB, free: 0.8789 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.583/1.583, allocations: 177.1 MB / 203.9 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] 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 3.005/3.005, allocations: 377.8 MB / 0.6232 GB, free: 8.551 MB / 0.5886 GB " [Timeout remaining time 176] 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.1.|intTimTab.y.2.|intTimTab1.y.1.|intTimTab1.y.2.|tabOneRow.y.1.",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.1.|intTimTab.y.2.|intTimTab1.y.1.|intTimTab1.y.2.|tabOneRow.y.1.",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.885e-06/2.885e-06, allocations: 0 / 0.8108 GB, free: 2.07 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.113e-05/3.401e-05, allocations: 3.406 kB / 0.8108 GB, free: 2.066 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime): time 0.002658/0.002692, allocations: 0.6782 MB / 0.8115 GB, free: 1.41 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.003096/0.005788, allocations: 1.359 MB / 0.8128 GB, free: 40 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.988e-05/0.005857, allocations: 1.406 kB / 0.8128 GB, free: 40 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.0007308/0.006588, allocations: 197.2 kB / 0.813 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0002365/0.006825, allocations: 102 kB / 0.8131 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.001049/0.007874, allocations: 241.1 kB / 0.8133 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.000922/0.008796, allocations: 483.8 kB / 0.8138 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 5.317e-05/0.008849, allocations: 10.44 kB / 0.8138 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004897/0.009339, allocations: 251.6 kB / 0.8141 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005736/0.009912, allocations: 223.6 kB / 0.8143 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.0001425/0.01005, allocations: 21.38 kB / 0.8143 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004005/0.01046, allocations: 99.83 kB / 0.8144 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0006604/0.01112, allocations: 267.4 kB / 0.8146 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0002859/0.0114, allocations: 115.8 kB / 0.8147 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.001056/0.01246, allocations: 0.5309 MB / 0.8153 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.01246, allocations: 0 / 0.8153 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.893e-06/0.01246, allocations: 0 / 0.8153 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 7.564e-06/0.01247, allocations: 0.7812 kB / 0.8153 GB, free: 13.55 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.001679/0.01415, allocations: 0.6788 MB / 0.8159 GB, free: 12.83 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.921e-05/0.0142, allocations: 8.75 kB / 0.8159 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002218/0.01442, allocations: 32.8 kB / 0.816 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008693/0.01529, allocations: 297.8 kB / 0.8162 GB, free: 12.47 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.034e-05/0.01532, allocations: 8.375 kB / 0.8163 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001186/0.01544, allocations: 24.31 kB / 0.8163 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004496/0.01589, allocations: 154.7 kB / 0.8164 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.0159, allocations: 192 / 0.8164 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.674e-05/0.01593, allocations: 384 / 0.8164 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.01593, allocations: 384 / 0.8164 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000221/0.01616, allocations: 69.78 kB / 0.8165 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000686/0.01684, allocations: 299.9 kB / 0.8168 GB, free: 11.87 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006819/0.01752, allocations: 245.2 kB / 0.817 GB, free: 11.59 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002366/0.01776, allocations: 79.09 kB / 0.8171 GB, free: 11.5 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.628e-05/0.01778, allocations: 5.375 kB / 0.8171 GB, free: 11.5 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006243/0.0184, allocations: 276.9 kB / 0.8174 GB, free: 11.2 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=18): time 1.543e-06/0.0184, allocations: 0 / 0.8174 GB, free: 11.2 MB / 0.7761 GB Notification: Performance of matching and sorting (n=18): time 0.001304/0.01971, allocations: 417.5 kB / 0.8178 GB, free: 10.79 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001285/0.01983, allocations: 115.3 kB / 0.8179 GB, free: 10.65 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007546/0.02059, allocations: 410.7 kB / 0.8183 GB, free: 10.23 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0001003/0.02069, allocations: 46.56 kB / 0.8183 GB, free: 10.18 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.000317/0.02101, allocations: 219.5 kB / 0.8185 GB, free: 9.965 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 8.273e-05/0.02109, allocations: 39.75 kB / 0.8186 GB, free: 9.926 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003244/0.02141, allocations: 132 kB / 0.8187 GB, free: 9.789 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0004489/0.02186, allocations: 0.5313 MB / 0.8192 GB, free: 9.246 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001806/0.02204, allocations: 60.5 kB / 0.8193 GB, free: 9.188 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001511/0.02355, allocations: 1.081 MB / 0.8203 GB, free: 7.781 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005552/0.02411, allocations: 270.4 kB / 0.8206 GB, free: 7.453 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.02411, allocations: 1.562 kB / 0.8206 GB, free: 7.453 MB / 0.7761 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008292/0.02494, allocations: 289.5 kB / 0.8208 GB, free: 7.168 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.359e-05/0.02497, allocations: 4 kB / 0.8208 GB, free: 7.164 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.226e-05/0.02498, allocations: 7.938 kB / 0.8209 GB, free: 7.156 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.757e-05/0.02501, allocations: 4 kB / 0.8209 GB, free: 7.152 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003101/0.02532, allocations: 43.91 kB / 0.8209 GB, free: 7.109 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.971e-05/0.02534, allocations: 7.938 kB / 0.8209 GB, free: 7.102 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008531/0.02619, allocations: 56.41 kB / 0.821 GB, free: 7.047 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.655e-05/0.02623, allocations: 12.5 kB / 0.821 GB, free: 7.035 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.0003072/0.02653, allocations: 195.7 kB / 0.8212 GB, free: 6.836 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001106/0.02664, allocations: 40.75 kB / 0.8212 GB, free: 6.797 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.995e-05/0.02672, allocations: 25.95 kB / 0.8212 GB, free: 6.77 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.336e-06/0.02673, allocations: 5.062 kB / 0.8212 GB, free: 6.766 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/0.02674, allocations: 0 / 0.8212 GB, free: 6.766 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.245e-05/0.02675, allocations: 7.922 kB / 0.8212 GB, free: 6.758 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004867/0.02724, allocations: 245.7 kB / 0.8215 GB, free: 6.484 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.152e-06/0.02724, allocations: 4 kB / 0.8215 GB, free: 6.48 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.13e-05/0.02727, allocations: 7.922 kB / 0.8215 GB, free: 6.473 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.813e-06/0.02728, allocations: 4 kB / 0.8215 GB, free: 6.469 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.894e-05/0.02731, allocations: 9.094 kB / 0.8215 GB, free: 6.461 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.846e-06/0.02731, allocations: 0 / 0.8215 GB, free: 6.461 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.02732, allocations: 0 / 0.8215 GB, free: 6.461 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009482/0.02826, allocations: 398.8 kB / 0.8219 GB, free: 6.043 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 7.894e-05/0.02834, allocations: 30.12 kB / 0.8219 GB, free: 6.016 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.229e-05/0.0284, allocations: 7.984 kB / 0.8219 GB, free: 6.008 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001471/0.02855, allocations: 4 kB / 0.8219 GB, free: 6.004 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.817e-05/0.02864, allocations: 15.92 kB / 0.8219 GB, free: 5.988 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.121e-05/0.02869, allocations: 15.98 kB / 0.8219 GB, free: 5.973 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0004823/0.02917, allocations: 263 kB / 0.8222 GB, free: 5.715 MB / 0.7761 GB Notification: Performance of sort global known variables: time 2.1e-07/0.02917, allocations: 3.062 kB / 0.8222 GB, free: 5.715 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0006729/0.02985, allocations: 83.86 kB / 0.8223 GB, free: 5.633 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.0003821/0.03023, allocations: 135.7 kB / 0.8224 GB, free: 5.492 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0005599/0.03079, allocations: 220.3 kB / 0.8226 GB, free: 5.273 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.03079, allocations: 1.125 kB / 0.8226 GB, free: 5.273 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0002058/0.031, allocations: 107.6 kB / 0.8227 GB, free: 5.164 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003152/0.03131, allocations: 37.78 kB / 0.8228 GB, free: 5.133 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009482/0.03226, allocations: 0.4947 MB / 0.8232 GB, free: 4.602 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001751/0.03243, allocations: 144.1 kB / 0.8234 GB, free: 4.445 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001239/0.03256, allocations: 41.44 kB / 0.8234 GB, free: 4.406 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.052e-05/0.03264, allocations: 32.48 kB / 0.8235 GB, free: 4.375 MB / 0.7761 GB Notification: Performance of SimCode: time 5.41e-07/0.03264, allocations: 0 / 0.8235 GB, free: 4.375 MB / 0.7761 GB Notification: Performance of Templates: time 0.01156/0.0442, allocations: 5.44 MB / 0.8288 GB, free: 15.05 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.31253758596722]