Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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_9_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_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.402/2.402, allocations: 387.1 MB / 399.7 MB, free: 9.551 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001423/0.001423, allocations: 183.7 kB / 492.3 MB, free: 0.6367 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.665/1.665, allocations: 221.3 MB / 0.7871 GB, free: 12.92 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000986/0.0009859, allocations: 95.88 kB / 0.9267 GB, free: 13.98 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.169e-05/3.179e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2555/0.2556, allocations: 142.3 MB / 1.212 GB, free: 38.52 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.848/1.104, allocations: 149.3 MB / 1.358 GB, free: 19.14 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000181/1.104, allocations: 70.12 kB / 1.358 GB, free: 19.14 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.05516/1.159, allocations: 21.35 MB / 1.379 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.373e-06/1.159, allocations: 4 kB / 1.379 GB, free: 32.67 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.484e-05/1.159, allocations: 3.875 kB / 1.379 GB, free: 32.67 MB / 0.8386 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.0005949/1.16, allocations: 0.4921 MB / 1.38 GB, free: 32.22 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.492e-05/1.16, allocations: 7.688 kB / 1.38 GB, free: 32.22 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001254/1.16, allocations: 31 kB / 1.38 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004913/1.16, allocations: 374.1 kB / 1.38 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.489e-05/1.16, allocations: 14.75 kB / 1.38 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.173e-05/1.16, allocations: 22.64 kB / 1.38 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000255/1.161, allocations: 197.9 kB / 1.38 GB, free: 31.83 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.234e-06/1.161, allocations: 0 / 1.38 GB, free: 31.83 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.015e-05/1.161, allocations: 3.875 kB / 1.38 GB, free: 31.83 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/1.161, allocations: 0 / 1.38 GB, free: 31.83 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000142/1.161, allocations: 112.3 kB / 1.38 GB, free: 31.81 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003376/1.161, allocations: 397 kB / 1.381 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003326/1.162, allocations: 316.7 kB / 1.381 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001347/1.162, allocations: 128.4 kB / 1.381 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 7.835e-06/1.162, allocations: 3.938 kB / 1.381 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003012/1.162, allocations: 276 kB / 1.381 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=18): time 1.523e-06/1.162, allocations: 3.938 kB / 1.381 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of matching and sorting (n=18): time 0.0005622/1.163, allocations: 413.1 kB / 1.382 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.049e-05/1.163, allocations: 113.5 kB / 1.382 GB, free: 30.97 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003693/1.163, allocations: 356.5 kB / 1.382 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 6.058e-05/1.163, allocations: 39.64 kB / 1.382 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001159/1.163, allocations: 158.6 kB / 1.382 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.837e-05/1.163, allocations: 35.64 kB / 1.382 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.385e-05/1.163, allocations: 6.906 kB / 1.382 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001095/1.163, allocations: 343.2 kB / 1.383 GB, free: 30.36 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001293/1.164, allocations: 96.39 kB / 1.383 GB, free: 30.34 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000409/1.164, allocations: 468.6 kB / 1.383 GB, free: 29.95 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001824/1.164, allocations: 139.6 kB / 1.383 GB, free: 29.9 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.045e-06/1.164, allocations: 3.844 kB / 1.383 GB, free: 29.9 MB / 0.8386 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004723/1.165, allocations: 329 kB / 1.384 GB, free: 29.79 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/1.165, allocations: 8.094 kB / 1.384 GB, free: 29.79 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/1.165, allocations: 7.875 kB / 1.384 GB, free: 29.79 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/1.165, allocations: 7.844 kB / 1.384 GB, free: 29.79 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001632/1.165, allocations: 34.61 kB / 1.384 GB, free: 29.78 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.155e-05/1.165, allocations: 7.703 kB / 1.384 GB, free: 29.77 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007172/1.166, allocations: 42.92 kB / 1.384 GB, free: 29.76 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.636e-05/1.166, allocations: 18.48 kB / 1.384 GB, free: 29.76 MB / 0.8386 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 ($PRE.tabOneRow.y[1],tabOneRow.y[1],$PRE.tabOneRow.idx,tabOneRow.idx,$whenCondition10,$PRE.intTimTab1.y[1],intTimTab1.y[1],$PRE.intTimTab1.y[2],intTimTab1.y[2],$PRE.intTimTab1.idx,intTimTab1.idx,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$PRE.intTimTab.y[1],intTimTab.y[1],$PRE.intTimTab.y[2],intTimTab.y[2],$PRE.intTimTab.idx,intTimTab.idx,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001131/1.166, allocations: 147.8 kB / 1.384 GB, free: 29.64 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.767e-05/1.166, allocations: 23.34 kB / 1.384 GB, free: 29.62 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.344e-05/1.166, allocations: 32.36 kB / 1.384 GB, free: 29.61 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.217e-06/1.166, allocations: 3.984 kB / 1.384 GB, free: 29.61 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/1.166, allocations: 7.906 kB / 1.384 GB, free: 29.61 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/1.166, allocations: 3.984 kB / 1.384 GB, free: 29.6 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000201/1.166, allocations: 296.1 kB / 1.384 GB, free: 29.36 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/1.166, allocations: 4 kB / 1.384 GB, free: 29.35 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.596e-05/1.166, allocations: 3.906 kB / 1.384 GB, free: 29.35 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/1.166, allocations: 3.938 kB / 1.384 GB, free: 29.35 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.908e-05/1.166, allocations: 7.828 kB / 1.384 GB, free: 29.35 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/1.166, allocations: 160 / 1.384 GB, free: 29.35 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/1.166, allocations: 0 / 1.384 GB, free: 29.35 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004431/1.167, allocations: 468.5 kB / 1.385 GB, free: 29.16 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 7.085e-05/1.167, allocations: 120 kB / 1.385 GB, free: 29.05 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.395e-05/1.167, allocations: 4.031 kB / 1.385 GB, free: 29.05 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.432e-05/1.167, allocations: 7.312 kB / 1.385 GB, free: 29.04 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.149e-05/1.167, allocations: 15.08 kB / 1.385 GB, free: 29.04 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.532e-05/1.167, allocations: 19.41 kB / 1.385 GB, free: 29.03 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0002458/1.167, allocations: 285.8 kB / 1.385 GB, free: 28.92 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.7e-07/1.167, allocations: 0 / 1.385 GB, free: 28.92 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003913/1.168, allocations: 92.27 kB / 1.385 GB, free: 28.91 MB / 0.8386 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001984/1.168, allocations: 154 kB / 1.386 GB, free: 28.79 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003225/1.168, allocations: 247.2 kB / 1.386 GB, free: 28.76 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/1.168, allocations: 4.75 kB / 1.386 GB, free: 28.76 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001435/1.168, allocations: 148 kB / 1.386 GB, free: 28.74 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001781/1.169, allocations: 22.64 kB / 1.386 GB, free: 28.74 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005864/1.169, allocations: 446.2 kB / 1.386 GB, free: 28.56 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003192/1.169, allocations: 0.7678 MB / 1.387 GB, free: 27.83 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001382/1.17, allocations: 56 kB / 1.387 GB, free: 27.81 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.003e-05/1.17, allocations: 30.48 kB / 1.387 GB, free: 27.8 MB / 0.8386 GB Notification: Performance of SimCode: time 4.1e-07/1.17, allocations: 0 / 1.387 GB, free: 27.8 MB / 0.8386 GB Notification: Performance of Templates: time 0.007202/1.177, allocations: 4.607 MB / 1.392 GB, free: 25.54 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches