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.001069/0.001069, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.008453/0.008453, allocations: 170 kB / 16.26 MB, free: 6.613 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.534/1.534, allocations: 223.3 MB / 240.3 MB, free: 5.336 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.715/2.715, allocations: 437.8 MB / 0.7121 GB, free: 6.945 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004005/0.0004005, allocations: 11.98 kB / 0.8728 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8756/0.876, allocations: 153.8 MB / 1.023 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.001053/0.8771, allocations: 415.2 kB / 1.023 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002039/0.8792, allocations: 1.335 MB / 1.025 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.1e-05/0.8793, allocations: 0 / 1.025 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0005254/0.8798, allocations: 183.6 kB / 1.025 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.000129/0.8799, allocations: 103.7 kB / 1.025 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006479/0.8806, allocations: 207.5 kB / 1.025 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0005047/0.8811, allocations: 439.8 kB / 1.026 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 6.499e-05/0.8812, allocations: 11.98 kB / 1.026 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002207/0.8814, allocations: 183.7 kB / 1.026 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003288/0.8818, allocations: 203.5 kB / 1.026 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 6.084e-05/0.8818, allocations: 12 kB / 1.026 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002008/0.882, allocations: 71.94 kB / 1.026 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0003313/0.8824, allocations: 239.5 kB / 1.026 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002644/0.8827, allocations: 169 kB / 1.026 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0006862/0.8833, allocations: 452.8 kB / 1.027 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 8.616e-06/0.8834, allocations: 4 kB / 1.027 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.515e-06/0.8834, allocations: 0 / 1.027 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.863e-06/0.8834, allocations: 0 / 1.027 GB, free: 11.97 MB / 0.7794 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.001082/0.8845, allocations: 0.5294 MB / 1.027 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.234e-05/0.8845, allocations: 11.97 kB / 1.027 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001391/0.8847, allocations: 32.66 kB / 1.027 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005646/0.8853, allocations: 384.1 kB / 1.028 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.107e-05/0.8853, allocations: 16.38 kB / 1.028 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.799e-05/0.8854, allocations: 24.36 kB / 1.028 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003147/0.8857, allocations: 184.7 kB / 1.028 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.8857, allocations: 192 / 1.028 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.2e-05/0.8857, allocations: 3.938 kB / 1.028 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.976e-06/0.8858, allocations: 3.984 kB / 1.028 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001849/0.886, allocations: 119.9 kB / 1.028 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004752/0.8864, allocations: 383 kB / 1.029 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004793/0.8869, allocations: 319.6 kB / 1.029 GB, free: 9.801 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002582/0.8872, allocations: 122.6 kB / 1.029 GB, free: 9.672 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.371e-05/0.8872, allocations: 3.938 kB / 1.029 GB, free: 9.668 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004887/0.8877, allocations: 283.7 kB / 1.029 GB, free: 9.371 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=18): time 1.493e-06/0.8877, allocations: 0 / 1.029 GB, free: 9.371 MB / 0.7794 GB Notification: Performance of matching and sorting (n=18): time 0.0009143/0.8886, allocations: 0.5009 MB / 1.03 GB, free: 8.863 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.665e-05/0.8887, allocations: 110.8 kB / 1.03 GB, free: 8.73 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004438/0.8892, allocations: 396.5 kB / 1.03 GB, free: 8.336 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 6.61e-05/0.8893, allocations: 41.7 kB / 1.03 GB, free: 8.289 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.00016/0.8894, allocations: 160.7 kB / 1.03 GB, free: 8.129 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 6.012e-05/0.8895, allocations: 39.52 kB / 1.03 GB, free: 8.09 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.95e-05/0.8896, allocations: 29.7 kB / 1.03 GB, free: 8.055 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001703/0.8897, allocations: 342.8 kB / 1.031 GB, free: 7.711 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001237/0.8899, allocations: 83.95 kB / 1.031 GB, free: 7.629 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005618/0.8904, allocations: 463 kB / 1.031 GB, free: 7.051 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003223/0.8908, allocations: 261.4 kB / 1.032 GB, free: 6.746 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.8908, allocations: 0 / 1.032 GB, free: 6.746 MB / 0.7794 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005074/0.8913, allocations: 333.1 kB / 1.032 GB, free: 6.414 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.234e-05/0.8913, allocations: 8 kB / 1.032 GB, free: 6.406 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/0.8913, allocations: 4 kB / 1.032 GB, free: 6.402 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.952e-05/0.8914, allocations: 4 kB / 1.032 GB, free: 6.398 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001732/0.8915, allocations: 35.86 kB / 1.032 GB, free: 6.363 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.473e-05/0.8916, allocations: 15.92 kB / 1.032 GB, free: 6.348 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007597/0.8923, allocations: 76.78 kB / 1.032 GB, free: 6.285 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.171e-05/0.8924, allocations: 8 kB / 1.032 GB, free: 6.277 MB / 0.7794 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.0002612/0.8926, allocations: 192.5 kB / 1.032 GB, free: 6.082 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.898e-05/0.8927, allocations: 35.56 kB / 1.032 GB, free: 6.047 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.066e-05/0.8928, allocations: 29.89 kB / 1.032 GB, free: 6.016 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.8928, allocations: 4 kB / 1.032 GB, free: 6.012 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.8928, allocations: 4 kB / 1.032 GB, free: 6.008 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.8928, allocations: 4 kB / 1.032 GB, free: 6.004 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000296/0.8931, allocations: 281.7 kB / 1.033 GB, free: 5.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.8931, allocations: 0 / 1.033 GB, free: 5.68 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.696e-05/0.8931, allocations: 7.938 kB / 1.033 GB, free: 5.672 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.741e-06/0.8931, allocations: 7.984 kB / 1.033 GB, free: 5.664 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.962e-05/0.8932, allocations: 11.98 kB / 1.033 GB, free: 5.652 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.042e-06/0.8932, allocations: 4.562 kB / 1.033 GB, free: 5.648 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.8932, allocations: 0 / 1.033 GB, free: 5.648 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006373/0.8938, allocations: 438.2 kB / 1.033 GB, free: 5.195 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001189/0.894, allocations: 120.6 kB / 1.033 GB, free: 5.059 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.872e-05/0.894, allocations: 7.984 kB / 1.033 GB, free: 5.051 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.213e-05/0.8941, allocations: 4 kB / 1.033 GB, free: 5.047 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.54e-05/0.8942, allocations: 11.98 kB / 1.033 GB, free: 5.035 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.741e-05/0.8942, allocations: 15.98 kB / 1.033 GB, free: 5.02 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0003153/0.8945, allocations: 291 kB / 1.033 GB, free: 4.734 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.003e-06/0.8945, allocations: 4 kB / 1.033 GB, free: 4.73 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003721/0.8949, allocations: 79.94 kB / 1.034 GB, free: 4.652 MB / 0.7794 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.0002546/0.8952, allocations: 137.2 kB / 1.034 GB, free: 4.512 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004184/0.8956, allocations: 260.5 kB / 1.034 GB, free: 4.258 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/0.8956, allocations: 4.188 kB / 1.034 GB, free: 4.254 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001992/0.8958, allocations: 143.9 kB / 1.034 GB, free: 4.113 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000295/0.8961, allocations: 32.58 kB / 1.034 GB, free: 4.082 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009737/0.8971, allocations: 0.6163 MB / 1.035 GB, free: 3.438 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004527/0.8976, allocations: 0.7638 MB / 1.035 GB, free: 2.648 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001409/0.8977, allocations: 54.06 kB / 1.035 GB, free: 2.598 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.343e-05/0.8978, allocations: 31.42 kB / 1.036 GB, free: 2.566 MB / 0.7794 GB Notification: Performance of SimCode: time 2.41e-07/0.8978, allocations: 0 / 1.036 GB, free: 2.566 MB / 0.7794 GB Notification: Performance of Templates: time 0.01073/0.9085, allocations: 4.76 MB / 1.04 GB, free: 13.85 MB / 0.795 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