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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001312/0.001312, allocations: 105.5 kB / 16.41 MB, free: 6.508 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.00132/0.00132, allocations: 187 kB / 17.34 MB, free: 5.742 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.332/1.332, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.431/2.431, allocations: 461.9 MB / 0.7354 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001339/0.001339, allocations: 67.89 kB / 1.055 GB, free: 7.656 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7381/0.7395, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.001823/0.7413, allocations: 0.6855 MB / 1.209 GB, free: 12.94 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001728/0.7431, allocations: 1.342 MB / 1.21 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.072e-05/0.7432, allocations: 0 / 1.21 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0004801/0.7437, allocations: 195.6 kB / 1.211 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001263/0.7438, allocations: 103.7 kB / 1.211 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007915/0.7446, allocations: 238.4 kB / 1.211 GB, free: 11.06 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0005521/0.7452, allocations: 499.6 kB / 1.211 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.4e-05/0.7452, allocations: 4 kB / 1.211 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002863/0.7455, allocations: 203.7 kB / 1.212 GB, free: 10.37 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003536/0.7459, allocations: 211.6 kB / 1.212 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001259/0.746, allocations: 20 kB / 1.212 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002475/0.7463, allocations: 79.94 kB / 1.212 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0003293/0.7466, allocations: 259.5 kB / 1.212 GB, free: 9.812 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001953/0.7468, allocations: 147.3 kB / 1.212 GB, free: 9.668 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0004933/0.7473, allocations: 474.5 kB / 1.213 GB, free: 9.207 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.7473, allocations: 4 kB / 1.213 GB, free: 9.203 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.543e-06/0.7473, allocations: 0 / 1.213 GB, free: 9.203 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.848e-06/0.7474, allocations: 7.938 kB / 1.213 GB, free: 9.195 MB / 0.9356 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.001047/0.7484, allocations: 0.6364 MB / 1.213 GB, free: 8.508 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.432e-05/0.7485, allocations: 8.031 kB / 1.213 GB, free: 8.5 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001472/0.7486, allocations: 28.66 kB / 1.213 GB, free: 8.473 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004798/0.7491, allocations: 388 kB / 1.214 GB, free: 8.055 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.279e-05/0.7491, allocations: 20.36 kB / 1.214 GB, free: 8.035 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.032e-05/0.7492, allocations: 16.38 kB / 1.214 GB, free: 8.02 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002875/0.7495, allocations: 192.7 kB / 1.214 GB, free: 7.816 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.7495, allocations: 192 / 1.214 GB, free: 7.816 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.012e-05/0.7495, allocations: 3.938 kB / 1.214 GB, free: 7.812 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/0.7495, allocations: 0 / 1.214 GB, free: 7.812 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001656/0.7497, allocations: 115.9 kB / 1.214 GB, free: 7.699 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004352/0.7502, allocations: 383.1 kB / 1.214 GB, free: 7.27 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004184/0.7506, allocations: 319.6 kB / 1.215 GB, free: 6.93 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001587/0.7508, allocations: 122.6 kB / 1.215 GB, free: 6.801 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.064e-05/0.7508, allocations: 3.938 kB / 1.215 GB, free: 6.797 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003975/0.7512, allocations: 279.7 kB / 1.215 GB, free: 6.504 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=18): time 2.825e-06/0.7512, allocations: 3.984 kB / 1.215 GB, free: 6.5 MB / 0.9356 GB Notification: Performance of matching and sorting (n=18): time 0.0007513/0.7519, allocations: 0.5087 MB / 1.216 GB, free: 5.984 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.278e-05/0.752, allocations: 110.8 kB / 1.216 GB, free: 5.852 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004049/0.7524, allocations: 396.5 kB / 1.216 GB, free: 5.449 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 6.422e-05/0.7525, allocations: 37.7 kB / 1.216 GB, free: 5.406 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001241/0.7526, allocations: 152.8 kB / 1.216 GB, free: 5.25 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.187e-05/0.7527, allocations: 43.5 kB / 1.216 GB, free: 5.207 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001603/0.7529, allocations: 109.6 kB / 1.216 GB, free: 5.094 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001147/0.753, allocations: 354.8 kB / 1.217 GB, free: 4.738 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001144/0.7531, allocations: 87.95 kB / 1.217 GB, free: 4.652 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004602/0.7536, allocations: 456.2 kB / 1.217 GB, free: 4.082 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00029/0.7539, allocations: 269.4 kB / 1.218 GB, free: 3.77 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/0.7539, allocations: 0 / 1.218 GB, free: 3.77 MB / 0.9356 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004884/0.7544, allocations: 324.9 kB / 1.218 GB, free: 3.445 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.7544, allocations: 11.94 kB / 1.218 GB, free: 3.434 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.7544, allocations: 7.938 kB / 1.218 GB, free: 3.426 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/0.7544, allocations: 4.406 kB / 1.218 GB, free: 3.422 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001517/0.7546, allocations: 31.92 kB / 1.218 GB, free: 3.391 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.189e-05/0.7546, allocations: 8.562 kB / 1.218 GB, free: 3.383 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007446/0.7554, allocations: 75.88 kB / 1.218 GB, free: 3.309 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.011e-05/0.7554, allocations: 12 kB / 1.218 GB, free: 3.297 MB / 0.9356 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.0001952/0.7556, allocations: 192 kB / 1.218 GB, free: 3.102 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.23e-05/0.7556, allocations: 27.66 kB / 1.218 GB, free: 3.074 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.011e-05/0.7557, allocations: 37.89 kB / 1.218 GB, free: 3.039 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.7557, allocations: 4 kB / 1.218 GB, free: 3.035 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.219e-06/0.7557, allocations: 0 / 1.218 GB, free: 3.035 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.7557, allocations: 0 / 1.218 GB, free: 3.035 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002413/0.756, allocations: 285.4 kB / 1.219 GB, free: 2.707 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.756, allocations: 0 / 1.219 GB, free: 2.707 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.814e-05/0.756, allocations: 12.23 kB / 1.219 GB, free: 2.695 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.756, allocations: 3.938 kB / 1.219 GB, free: 2.691 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.627e-05/0.756, allocations: 11.98 kB / 1.219 GB, free: 2.68 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.401e-06/0.756, allocations: 7.938 kB / 1.219 GB, free: 2.672 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.756, allocations: 0 / 1.219 GB, free: 2.672 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004848/0.7565, allocations: 430.3 kB / 1.219 GB, free: 2.227 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.039e-05/0.7566, allocations: 108.7 kB / 1.219 GB, free: 2.102 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.013e-05/0.7566, allocations: 7.938 kB / 1.219 GB, free: 2.094 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.35e-05/0.7567, allocations: 8 kB / 1.219 GB, free: 2.086 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.777e-05/0.7568, allocations: 15.98 kB / 1.219 GB, free: 2.07 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.485e-05/0.7568, allocations: 15.98 kB / 1.219 GB, free: 2.055 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0002758/0.7571, allocations: 291 kB / 1.219 GB, free: 1.773 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7571, allocations: 0 / 1.219 GB, free: 1.773 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003646/0.7575, allocations: 72 kB / 1.22 GB, free: 1.703 MB / 0.9356 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.0002075/0.7577, allocations: 151.1 kB / 1.22 GB, free: 1.543 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003923/0.7581, allocations: 255.7 kB / 1.22 GB, free: 1.293 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.7581, allocations: 0 / 1.22 GB, free: 1.293 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002193/0.7583, allocations: 167.9 kB / 1.22 GB, free: 1.129 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002584/0.7586, allocations: 27.17 kB / 1.22 GB, free: 1.105 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008374/0.7595, allocations: 0.6056 MB / 1.221 GB, free: 476 kB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003145/0.7598, allocations: 0.7713 MB / 1.221 GB, free: 15.67 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.979e-05/0.7599, allocations: 27.42 kB / 1.221 GB, free: 15.64 MB / 0.9512 GB Notification: Performance of SimCode: time 2.1e-07/0.7599, allocations: 0 / 1.221 GB, free: 15.64 MB / 0.9512 GB Notification: Performance of Templates: time 0.00657/0.7664, allocations: 4.328 MB / 1.226 GB, free: 11.39 MB / 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