Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/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.TimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intTimTab.y.1.|intTimTab.y.2.|intTimTab1.y.1.|intTimTab1.y.2.|tabOneRow.y.1.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable") translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intTimTab.y.1.|intTimTab.y.2.|intTimTab1.y.1.|intTimTab1.y.2.|tabOneRow.y.1.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001288/0.001288, allocations: 107.6 kB / 16.41 MB, free: 6.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001192/0.001192, allocations: 191.2 kB / 17.34 MB, free: 5.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.279/1.279, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.434/2.434, allocations: 469.4 MB / 0.7428 GB, free: 3.586 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001345/0.001345, allocations: 67.89 kB / 1.065 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7355/0.7369, allocations: 159.1 MB / 1.221 GB, free: 2.355 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.001779/0.7387, allocations: 0.6771 MB / 1.222 GB, free: 1.68 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001888/0.7406, allocations: 1.349 MB / 1.223 GB, free: 324 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.021e-05/0.7407, allocations: 3.938 kB / 1.223 GB, free: 320 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0004952/0.7413, allocations: 183.6 kB / 1.223 GB, free: 136 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001319/0.7414, allocations: 103.7 kB / 1.223 GB, free: 32 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008147/0.7423, allocations: 230.8 kB / 1.223 GB, free: 15.81 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.000541/0.7428, allocations: 0.4957 MB / 1.224 GB, free: 15.31 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 4.767e-05/0.7429, allocations: 7.984 kB / 1.224 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002585/0.7431, allocations: 203.7 kB / 1.224 GB, free: 15.11 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003643/0.7435, allocations: 199.6 kB / 1.224 GB, free: 14.91 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001143/0.7436, allocations: 24 kB / 1.224 GB, free: 14.89 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002343/0.7439, allocations: 87.88 kB / 1.224 GB, free: 14.8 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0003299/0.7442, allocations: 260.4 kB / 1.225 GB, free: 14.55 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0002056/0.7444, allocations: 147.3 kB / 1.225 GB, free: 14.4 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0005526/0.745, allocations: 478.6 kB / 1.225 GB, free: 13.94 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.745, allocations: 0 / 1.225 GB, free: 13.94 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.693e-06/0.745, allocations: 0 / 1.225 GB, free: 13.94 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.035e-05/0.745, allocations: 0 / 1.225 GB, free: 13.94 MB / 0.9512 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.00102/0.746, allocations: 0.6324 MB / 1.226 GB, free: 13.25 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/0.7461, allocations: 12.62 kB / 1.226 GB, free: 13.24 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001381/0.7462, allocations: 32.66 kB / 1.226 GB, free: 13.21 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005999/0.7468, allocations: 384 kB / 1.226 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.034e-05/0.7469, allocations: 24.3 kB / 1.226 GB, free: 12.77 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.951e-05/0.7469, allocations: 20.38 kB / 1.226 GB, free: 12.75 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002795/0.7472, allocations: 188.7 kB / 1.226 GB, free: 12.55 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.7472, allocations: 192 / 1.226 GB, free: 12.55 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.076e-05/0.7473, allocations: 7.938 kB / 1.226 GB, free: 12.55 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.7473, allocations: 0 / 1.226 GB, free: 12.55 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001624/0.7474, allocations: 115.9 kB / 1.227 GB, free: 12.43 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004719/0.7479, allocations: 383.1 kB / 1.227 GB, free: 12 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005139/0.7485, allocations: 319.6 kB / 1.227 GB, free: 11.66 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001657/0.7486, allocations: 122.6 kB / 1.227 GB, free: 11.54 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 5.921e-06/0.7486, allocations: 0 / 1.227 GB, free: 11.54 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004426/0.7491, allocations: 289.5 kB / 1.228 GB, free: 11.23 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=18): time 1.552e-06/0.7491, allocations: 0 / 1.228 GB, free: 11.23 MB / 0.9512 GB Notification: Performance of matching and sorting (n=18): time 0.0008427/0.7499, allocations: 0.4934 MB / 1.228 GB, free: 10.73 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.304e-05/0.75, allocations: 118.8 kB / 1.228 GB, free: 10.59 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004983/0.7505, allocations: 404.3 kB / 1.229 GB, free: 10.18 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 7.548e-05/0.7506, allocations: 37.7 kB / 1.229 GB, free: 10.14 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.000162/0.7508, allocations: 160.8 kB / 1.229 GB, free: 9.973 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 5.087e-05/0.7509, allocations: 39.53 kB / 1.229 GB, free: 9.934 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002058/0.7511, allocations: 117.5 kB / 1.229 GB, free: 9.812 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001497/0.7512, allocations: 346.8 kB / 1.229 GB, free: 9.465 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001284/0.7514, allocations: 83.95 kB / 1.229 GB, free: 9.383 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005496/0.7519, allocations: 467 kB / 1.23 GB, free: 8.801 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003305/0.7523, allocations: 253.5 kB / 1.23 GB, free: 8.504 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.524e-06/0.7523, allocations: 7.938 kB / 1.23 GB, free: 8.496 MB / 0.9512 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005813/0.7529, allocations: 325.3 kB / 1.23 GB, free: 8.172 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.268e-05/0.7529, allocations: 9.656 kB / 1.23 GB, free: 8.164 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.129e-05/0.7529, allocations: 7.984 kB / 1.23 GB, free: 8.156 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.408e-05/0.7529, allocations: 8 kB / 1.23 GB, free: 8.148 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001696/0.7531, allocations: 31.92 kB / 1.23 GB, free: 8.117 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.071e-05/0.7531, allocations: 4 kB / 1.23 GB, free: 8.113 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000728/0.7539, allocations: 76.11 kB / 1.23 GB, free: 8.039 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.362e-05/0.7539, allocations: 12 kB / 1.231 GB, free: 8.027 MB / 0.9512 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.0003466/0.7542, allocations: 196.5 kB / 1.231 GB, free: 7.828 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.25e-05/0.7543, allocations: 31.56 kB / 1.231 GB, free: 7.797 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.266e-05/0.7544, allocations: 33.89 kB / 1.231 GB, free: 7.766 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.825e-06/0.7544, allocations: 4 kB / 1.231 GB, free: 7.762 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.735e-06/0.7544, allocations: 0 / 1.231 GB, free: 7.762 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.7544, allocations: 4 kB / 1.231 GB, free: 7.758 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002872/0.7547, allocations: 285.5 kB / 1.231 GB, free: 7.43 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.7547, allocations: 0 / 1.231 GB, free: 7.43 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.598e-05/0.7548, allocations: 4 kB / 1.231 GB, free: 7.426 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.7548, allocations: 3.938 kB / 1.231 GB, free: 7.422 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.958e-05/0.7548, allocations: 7.984 kB / 1.231 GB, free: 7.414 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.871e-06/0.7548, allocations: 4 kB / 1.231 GB, free: 7.41 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.7548, allocations: 3.938 kB / 1.231 GB, free: 7.406 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005614/0.7554, allocations: 430.3 kB / 1.231 GB, free: 6.961 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 9.279e-05/0.7555, allocations: 112.8 kB / 1.232 GB, free: 6.832 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.595e-05/0.7555, allocations: 3.938 kB / 1.232 GB, free: 6.828 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.301e-05/0.7556, allocations: 8 kB / 1.232 GB, free: 6.82 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.207e-05/0.7557, allocations: 11.98 kB / 1.232 GB, free: 6.809 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.469e-05/0.7557, allocations: 15.98 kB / 1.232 GB, free: 6.793 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0003212/0.756, allocations: 287 kB / 1.232 GB, free: 6.516 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.91e-07/0.7561, allocations: 4 kB / 1.232 GB, free: 6.512 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0004012/0.7565, allocations: 79.94 kB / 1.232 GB, free: 6.434 MB / 0.9512 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.0002438/0.7567, allocations: 148.3 kB / 1.232 GB, free: 6.277 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0004237/0.7571, allocations: 252.4 kB / 1.232 GB, free: 6.031 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.7572, allocations: 0 / 1.232 GB, free: 6.031 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0002754/0.7574, allocations: 176 kB / 1.233 GB, free: 5.859 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002753/0.7577, allocations: 30.52 kB / 1.233 GB, free: 5.832 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000926/0.7587, allocations: 0.5947 MB / 1.233 GB, free: 5.199 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004268/0.7591, allocations: 0.7677 MB / 1.234 GB, free: 4.406 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.653e-05/0.7592, allocations: 31.42 kB / 1.234 GB, free: 4.375 MB / 0.9512 GB Notification: Performance of SimCode: time 6.01e-07/0.7592, allocations: 0 / 1.234 GB, free: 4.375 MB / 0.9512 GB Notification: Performance of Templates: time 0.007528/0.7667, allocations: 4.335 MB / 1.238 GB, free: 112 kB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches