Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.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_10_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_10_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.01071/0.01071, allocations: 99.95 kB / 15.73 MB, free: 6.062 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.002399/0.002399, allocations: 189.3 kB / 16.67 MB, free: 5.973 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.541/1.541, allocations: 222.9 MB / 240.4 MB, free: 4.164 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.929/2.929, allocations: 437 MB / 0.7105 GB, free: 4.965 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00137/0.00137, allocations: 59.91 kB / 1.019 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4441/0.4455, allocations: 151.6 MB / 1.167 GB, free: 6.816 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.002577/0.4481, allocations: 0.6799 MB / 1.167 GB, free: 6.133 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002437/0.4506, allocations: 1.35 MB / 1.169 GB, free: 4.766 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001131/0.4507, allocations: 4 kB / 1.169 GB, free: 4.762 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0006451/0.4514, allocations: 183.6 kB / 1.169 GB, free: 4.582 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001892/0.4516, allocations: 103.7 kB / 1.169 GB, free: 4.48 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001068/0.4527, allocations: 231 kB / 1.169 GB, free: 4.258 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0007298/0.4534, allocations: 491.7 kB / 1.17 GB, free: 3.773 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 6.205e-05/0.4535, allocations: 15.98 kB / 1.17 GB, free: 3.758 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004212/0.4539, allocations: 203.7 kB / 1.17 GB, free: 3.559 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004658/0.4544, allocations: 215.5 kB / 1.17 GB, free: 3.348 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001134/0.4545, allocations: 20 kB / 1.17 GB, free: 3.328 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002733/0.4548, allocations: 83.94 kB / 1.17 GB, free: 3.246 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0003825/0.4552, allocations: 251.5 kB / 1.17 GB, free: 3 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0002146/0.4554, allocations: 151.3 kB / 1.17 GB, free: 2.852 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0005871/0.456, allocations: 482.4 kB / 1.171 GB, free: 2.379 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.456, allocations: 0 / 1.171 GB, free: 2.379 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.614e-06/0.4561, allocations: 0 / 1.171 GB, free: 2.379 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.327e-05/0.4561, allocations: 0 / 1.171 GB, free: 2.379 MB / 0.92 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.00108/0.4572, allocations: 0.6422 MB / 1.172 GB, free: 1.684 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.967e-05/0.4572, allocations: 8.031 kB / 1.172 GB, free: 1.676 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001292/0.4574, allocations: 32.8 kB / 1.172 GB, free: 1.645 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005246/0.4579, allocations: 388.2 kB / 1.172 GB, free: 1.23 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.578e-05/0.4579, allocations: 20.36 kB / 1.172 GB, free: 1.211 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.415e-05/0.458, allocations: 20.38 kB / 1.172 GB, free: 1.191 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003344/0.4583, allocations: 188.7 kB / 1.172 GB, free: 0.9922 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.4583, allocations: 192 / 1.172 GB, free: 0.9922 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.402e-05/0.4584, allocations: 7.938 kB / 1.172 GB, free: 0.9844 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.321e-06/0.4584, allocations: 0 / 1.172 GB, free: 0.9844 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001869/0.4586, allocations: 111.9 kB / 1.172 GB, free: 0.875 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000489/0.4591, allocations: 387.1 kB / 1.173 GB, free: 452 kB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004616/0.4595, allocations: 319.6 kB / 1.173 GB, free: 104 kB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000187/0.4597, allocations: 122.6 kB / 1.173 GB, free: 15.97 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.122e-05/0.4598, allocations: 7.938 kB / 1.173 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000497/0.4603, allocations: 283.6 kB / 1.173 GB, free: 15.67 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=18): time 1.252e-06/0.4603, allocations: 0 / 1.173 GB, free: 15.67 MB / 0.9356 GB Notification: Performance of matching and sorting (n=18): time 0.0008903/0.4612, allocations: 0.5016 MB / 1.174 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.26e-05/0.4613, allocations: 110.8 kB / 1.174 GB, free: 15.03 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004261/0.4617, allocations: 408.4 kB / 1.174 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 6.169e-05/0.4618, allocations: 41.7 kB / 1.174 GB, free: 14.57 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001368/0.4619, allocations: 148.8 kB / 1.175 GB, free: 14.42 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.551e-05/0.462, allocations: 39.75 kB / 1.175 GB, free: 14.38 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000174/0.4622, allocations: 117.6 kB / 1.175 GB, free: 14.26 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001324/0.4623, allocations: 342.8 kB / 1.175 GB, free: 13.91 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001213/0.4624, allocations: 83.95 kB / 1.175 GB, free: 13.83 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000501/0.4629, allocations: 468.3 kB / 1.176 GB, free: 13.25 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002954/0.4632, allocations: 261.4 kB / 1.176 GB, free: 12.95 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.4632, allocations: 0 / 1.176 GB, free: 12.95 MB / 0.9356 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004642/0.4637, allocations: 321.5 kB / 1.176 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.257e-05/0.4637, allocations: 15.97 kB / 1.176 GB, free: 12.61 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/0.4638, allocations: 4 kB / 1.176 GB, free: 12.61 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.139e-05/0.4638, allocations: 4 kB / 1.176 GB, free: 12.6 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001681/0.464, allocations: 31.92 kB / 1.176 GB, free: 12.57 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.611e-05/0.464, allocations: 11.94 kB / 1.176 GB, free: 12.56 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007206/0.4647, allocations: 76.16 kB / 1.176 GB, free: 12.48 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.261e-05/0.4647, allocations: 12 kB / 1.176 GB, free: 12.47 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.0002448/0.465, allocations: 199.9 kB / 1.176 GB, free: 12.27 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.079e-05/0.465, allocations: 31.75 kB / 1.176 GB, free: 12.24 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.562e-05/0.4651, allocations: 33.89 kB / 1.176 GB, free: 12.21 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.4651, allocations: 0 / 1.176 GB, free: 12.21 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.618e-06/0.4651, allocations: 4 kB / 1.177 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.4651, allocations: 0 / 1.177 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002705/0.4654, allocations: 281.5 kB / 1.177 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.4654, allocations: 8 kB / 1.177 GB, free: 11.87 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.292e-05/0.4654, allocations: 0 / 1.177 GB, free: 11.87 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.4655, allocations: 7.938 kB / 1.177 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.325e-05/0.4655, allocations: 11.98 kB / 1.177 GB, free: 11.85 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.4655, allocations: 0 / 1.177 GB, free: 11.85 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.4655, allocations: 7.875 kB / 1.177 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005647/0.4661, allocations: 438.5 kB / 1.177 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 8.65e-05/0.4662, allocations: 101 kB / 1.177 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.032e-05/0.4662, allocations: 7.938 kB / 1.177 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.668e-05/0.4663, allocations: 4 kB / 1.177 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.561e-05/0.4664, allocations: 15.98 kB / 1.177 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.888e-05/0.4664, allocations: 15.98 kB / 1.177 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.000309/0.4667, allocations: 291 kB / 1.178 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4667, allocations: 0 / 1.178 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003936/0.4671, allocations: 79.88 kB / 1.178 GB, free: 10.87 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.0002674/0.4674, allocations: 143 kB / 1.178 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004396/0.4678, allocations: 263.7 kB / 1.178 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.4679, allocations: 0 / 1.178 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001938/0.4681, allocations: 144.7 kB / 1.178 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002774/0.4683, allocations: 30.69 kB / 1.178 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009097/0.4693, allocations: 0.5683 MB / 1.179 GB, free: 9.684 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003665/0.4696, allocations: 0.7636 MB / 1.18 GB, free: 8.895 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001164/0.4698, allocations: 58.3 kB / 1.18 GB, free: 8.84 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.192e-05/0.4698, allocations: 31.42 kB / 1.18 GB, free: 8.809 MB / 0.9356 GB Notification: Performance of SimCode: time 2.21e-07/0.4698, allocations: 0 / 1.18 GB, free: 8.809 MB / 0.9356 GB Notification: Performance of Templates: time 0.009087/0.4789, allocations: 5.011 MB / 1.185 GB, free: 3.852 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches