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.009503/0.009503, allocations: 104.7 kB / 15.74 MB, free: 6.492 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.002112/0.002112, allocations: 190.1 kB / 16.67 MB, free: 6.379 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.591/1.591, allocations: 222.9 MB / 240.4 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.191/3.191, allocations: 461.8 MB / 0.7347 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001405/0.001405, allocations: 67.88 kB / 1.054 GB, free: 7.109 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4365/0.4379, allocations: 157.4 MB / 1.208 GB, free: 9.609 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.002102/0.4401, allocations: 0.6777 MB / 1.208 GB, free: 8.93 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002109/0.4422, allocations: 1.354 MB / 1.21 GB, free: 7.562 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.656e-05/0.4423, allocations: 0 / 1.21 GB, free: 7.562 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0005043/0.4429, allocations: 191.6 kB / 1.21 GB, free: 7.375 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001397/0.443, allocations: 103.7 kB / 1.21 GB, free: 7.273 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008222/0.4439, allocations: 233.1 kB / 1.21 GB, free: 7.051 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0006217/0.4445, allocations: 0.4918 MB / 1.211 GB, free: 6.559 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 5.305e-05/0.4446, allocations: 12 kB / 1.211 GB, free: 6.547 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003866/0.4449, allocations: 207.7 kB / 1.211 GB, free: 6.344 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004919/0.4454, allocations: 203.6 kB / 1.211 GB, free: 6.145 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001563/0.4456, allocations: 20 kB / 1.211 GB, free: 6.125 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002928/0.4459, allocations: 79.94 kB / 1.211 GB, free: 6.047 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0004068/0.4463, allocations: 267.5 kB / 1.211 GB, free: 5.785 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0002794/0.4466, allocations: 147.3 kB / 1.212 GB, free: 5.641 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0006496/0.4473, allocations: 474.8 kB / 1.212 GB, free: 5.176 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.4473, allocations: 0 / 1.212 GB, free: 5.176 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.914e-06/0.4473, allocations: 0 / 1.212 GB, free: 5.176 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.43e-05/0.4473, allocations: 0 / 1.212 GB, free: 5.176 MB / 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.001451/0.4488, allocations: 0.6384 MB / 1.213 GB, free: 4.484 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.768e-05/0.4488, allocations: 8.625 kB / 1.213 GB, free: 4.477 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000187/0.449, allocations: 28.66 kB / 1.213 GB, free: 4.449 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006817/0.4497, allocations: 388 kB / 1.213 GB, free: 4.031 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.073e-05/0.4497, allocations: 24.36 kB / 1.213 GB, free: 4.008 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.114e-05/0.4498, allocations: 16.38 kB / 1.213 GB, free: 3.992 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003172/0.4501, allocations: 192.7 kB / 1.213 GB, free: 3.789 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.4502, allocations: 192 / 1.213 GB, free: 3.789 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.307e-05/0.4502, allocations: 3.938 kB / 1.213 GB, free: 3.785 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.4502, allocations: 0 / 1.213 GB, free: 3.785 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001842/0.4504, allocations: 115.9 kB / 1.213 GB, free: 3.672 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004956/0.4509, allocations: 383.2 kB / 1.214 GB, free: 3.242 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004506/0.4514, allocations: 311.6 kB / 1.214 GB, free: 2.91 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000178/0.4515, allocations: 126.6 kB / 1.214 GB, free: 2.777 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 7.675e-06/0.4516, allocations: 4 kB / 1.214 GB, free: 2.773 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004925/0.4521, allocations: 282.9 kB / 1.214 GB, free: 2.477 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=18): time 1.773e-06/0.4521, allocations: 0 / 1.214 GB, free: 2.477 MB / 0.9669 GB Notification: Performance of matching and sorting (n=18): time 0.0009521/0.453, allocations: 0.5089 MB / 1.215 GB, free: 1.961 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.163e-05/0.4531, allocations: 106.8 kB / 1.215 GB, free: 1.832 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005085/0.4536, allocations: 404.4 kB / 1.215 GB, free: 1.426 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 7.702e-05/0.4537, allocations: 37.7 kB / 1.215 GB, free: 1.383 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001634/0.4539, allocations: 152.8 kB / 1.216 GB, free: 1.227 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 5.653e-05/0.454, allocations: 47.47 kB / 1.216 GB, free: 1.18 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001914/0.4542, allocations: 113.6 kB / 1.216 GB, free: 1.062 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001505/0.4543, allocations: 350.8 kB / 1.216 GB, free: 0.7109 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001405/0.4545, allocations: 83.95 kB / 1.216 GB, free: 0.6289 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005264/0.455, allocations: 456.7 kB / 1.217 GB, free: 60 kB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003527/0.4554, allocations: 269.4 kB / 1.217 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.559e-06/0.4554, allocations: 0 / 1.217 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005456/0.4559, allocations: 325.3 kB / 1.217 GB, free: 15.42 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.18e-05/0.456, allocations: 15.97 kB / 1.217 GB, free: 15.41 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.456, allocations: 4 kB / 1.217 GB, free: 15.4 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.963e-05/0.456, allocations: 4 kB / 1.217 GB, free: 15.4 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001563/0.4562, allocations: 27.92 kB / 1.217 GB, free: 15.37 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.3e-05/0.4562, allocations: 7.938 kB / 1.217 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007568/0.4569, allocations: 67.95 kB / 1.217 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.499e-05/0.457, allocations: 8 kB / 1.217 GB, free: 15.29 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.0002303/0.4572, allocations: 199.9 kB / 1.218 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.43e-05/0.4573, allocations: 27.66 kB / 1.218 GB, free: 15.06 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.373e-05/0.4574, allocations: 37.89 kB / 1.218 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.4574, allocations: 4 kB / 1.218 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.4574, allocations: 0 / 1.218 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.4574, allocations: 0 / 1.218 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002675/0.4577, allocations: 285.4 kB / 1.218 GB, free: 14.69 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.4577, allocations: 0 / 1.218 GB, free: 14.69 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.943e-05/0.4577, allocations: 12 kB / 1.218 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.92e-06/0.4577, allocations: 3.938 kB / 1.218 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.042e-05/0.4577, allocations: 11.98 kB / 1.218 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.649e-06/0.4577, allocations: 7.938 kB / 1.218 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.4578, allocations: 7.875 kB / 1.218 GB, free: 14.65 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005738/0.4583, allocations: 428.5 kB / 1.218 GB, free: 14.21 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.427e-05/0.4584, allocations: 104.9 kB / 1.218 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.763e-05/0.4585, allocations: 11.92 kB / 1.218 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.069e-05/0.4586, allocations: 4 kB / 1.218 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.422e-05/0.4586, allocations: 19.97 kB / 1.218 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.105e-05/0.4587, allocations: 15.98 kB / 1.218 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003074/0.459, allocations: 291 kB / 1.219 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.31e-07/0.459, allocations: 0 / 1.219 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004121/0.4594, allocations: 76 kB / 1.219 GB, free: 13.68 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.0002542/0.4597, allocations: 147.5 kB / 1.219 GB, free: 13.52 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004459/0.4601, allocations: 251.7 kB / 1.219 GB, free: 13.28 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.4601, allocations: 0 / 1.219 GB, free: 13.28 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002091/0.4604, allocations: 152.8 kB / 1.219 GB, free: 13.13 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002785/0.4606, allocations: 31.08 kB / 1.219 GB, free: 13.1 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009652/0.4616, allocations: 0.5687 MB / 1.22 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003781/0.462, allocations: 0.765 MB / 1.221 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001283/0.4621, allocations: 49.94 kB / 1.221 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.101e-05/0.4622, allocations: 27.44 kB / 1.221 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of SimCode: time 2e-07/0.4622, allocations: 0 / 1.221 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of Templates: time 0.01024/0.4725, allocations: 5.133 MB / 1.226 GB, free: 6.535 MB / 0.9825 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/jenkins/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