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/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.258/2.258, allocations: 390.5 MB / 398 MB, free: 10.92 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.001152/0.001152, allocations: 180.8 kB / 491.2 MB, free: 1.551 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.684/1.684, allocations: 221.5 MB / 0.7868 GB, free: 13.29 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.001007/0.001007, allocations: 91.91 kB / 0.9269 GB, free: 13.79 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.088e-05/2.089e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3256/0.3256, allocations: 143 MB / 1.212 GB, free: 39.48 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.125/1.45, allocations: 149.4 MB / 1.358 GB, free: 17.52 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002048/1.451, allocations: 72.2 kB / 1.358 GB, free: 17.52 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0558/1.506, allocations: 21.25 MB / 1.379 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.543e-06/1.506, allocations: 0 / 1.379 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.713e-05/1.506, allocations: 3.812 kB / 1.379 GB, free: 31.36 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.0008461/1.507, allocations: 491.2 kB / 1.38 GB, free: 30.92 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/1.507, allocations: 11.17 kB / 1.38 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002163/1.508, allocations: 35 kB / 1.38 GB, free: 30.9 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006055/1.508, allocations: 370 kB / 1.38 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.746e-05/1.508, allocations: 3.844 kB / 1.38 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.662e-05/1.508, allocations: 22.3 kB / 1.38 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001589/1.509, allocations: 101.6 kB / 1.38 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002214/1.509, allocations: 187.5 kB / 1.38 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.764e-06/1.509, allocations: 0 / 1.38 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.975e-05/1.509, allocations: 7.922 kB / 1.38 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/1.509, allocations: 8.766 kB / 1.38 GB, free: 30.51 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004095/1.509, allocations: 360.3 kB / 1.381 GB, free: 30.24 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003327/1.51, allocations: 309.4 kB / 1.381 GB, free: 30.12 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001321/1.51, allocations: 127.1 kB / 1.381 GB, free: 30.08 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 6.532e-06/1.51, allocations: 3.875 kB / 1.381 GB, free: 30.08 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003162/1.51, allocations: 283.2 kB / 1.381 GB, free: 29.93 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=18): time 2.024e-06/1.51, allocations: 0 / 1.381 GB, free: 29.93 MB / 0.8386 GB Notification: Performance of matching and sorting (n=18): time 0.000683/1.511, allocations: 404.1 kB / 1.382 GB, free: 29.83 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.116e-05/1.511, allocations: 110.8 kB / 1.382 GB, free: 29.7 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003568/1.511, allocations: 344.9 kB / 1.382 GB, free: 29.57 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 6.021e-05/1.511, allocations: 29.48 kB / 1.382 GB, free: 29.54 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001246/1.511, allocations: 153 kB / 1.382 GB, free: 29.44 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.055e-05/1.511, allocations: 46.25 kB / 1.382 GB, free: 29.41 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.162e-05/1.511, allocations: 0 / 1.382 GB, free: 29.41 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001256/1.512, allocations: 348.8 kB / 1.383 GB, free: 29.09 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001035/1.512, allocations: 76.47 kB / 1.383 GB, free: 29.08 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003416/1.512, allocations: 463.6 kB / 1.383 GB, free: 28.68 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004238/1.512, allocations: 161.7 kB / 1.383 GB, free: 28.62 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/1.512, allocations: 0 / 1.383 GB, free: 28.62 MB / 0.8386 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006308/1.513, allocations: 330.6 kB / 1.384 GB, free: 28.52 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/1.513, allocations: 7.828 kB / 1.384 GB, free: 28.51 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/1.513, allocations: 3.969 kB / 1.384 GB, free: 28.51 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.003e-05/1.513, allocations: 7.719 kB / 1.384 GB, free: 28.51 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001342/1.513, allocations: 30.36 kB / 1.384 GB, free: 28.5 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.194e-06/1.513, allocations: 3.875 kB / 1.384 GB, free: 28.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00061/1.514, allocations: 51.28 kB / 1.384 GB, free: 28.48 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.019e-05/1.514, allocations: 18.78 kB / 1.384 GB, free: 28.48 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.0001418/1.514, allocations: 130.2 kB / 1.384 GB, free: 28.36 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.132e-05/1.514, allocations: 31.36 kB / 1.384 GB, free: 28.34 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.105e-05/1.514, allocations: 30.64 kB / 1.384 GB, free: 28.32 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/1.514, allocations: 7.875 kB / 1.384 GB, free: 28.32 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/1.514, allocations: 0 / 1.384 GB, free: 28.32 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/1.514, allocations: 0 / 1.384 GB, free: 28.32 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002141/1.515, allocations: 265.5 kB / 1.384 GB, free: 28.11 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.277e-06/1.515, allocations: 3.812 kB / 1.384 GB, free: 28.11 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.606e-05/1.515, allocations: 0 / 1.384 GB, free: 28.11 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.646e-06/1.515, allocations: 3.875 kB / 1.384 GB, free: 28.11 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.837e-05/1.515, allocations: 7.609 kB / 1.384 GB, free: 28.11 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.985e-06/1.515, allocations: 0 / 1.384 GB, free: 28.11 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.554e-06/1.515, allocations: 3.875 kB / 1.384 GB, free: 28.11 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004992/1.515, allocations: 461.1 kB / 1.385 GB, free: 27.92 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 7.359e-05/1.515, allocations: 115.1 kB / 1.385 GB, free: 27.81 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.769e-05/1.515, allocations: 7.922 kB / 1.385 GB, free: 27.8 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.271e-05/1.515, allocations: 3.844 kB / 1.385 GB, free: 27.8 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.694e-05/1.515, allocations: 23.34 kB / 1.385 GB, free: 27.79 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.377e-05/1.515, allocations: 15.34 kB / 1.385 GB, free: 27.79 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0002597/1.516, allocations: 272.1 kB / 1.385 GB, free: 27.68 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.516, allocations: 3.938 kB / 1.385 GB, free: 27.68 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0004164/1.516, allocations: 76.17 kB / 1.385 GB, free: 27.67 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.000234/1.516, allocations: 148.7 kB / 1.385 GB, free: 27.55 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.000337/1.517, allocations: 238.2 kB / 1.386 GB, free: 27.52 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/1.517, allocations: 3.656 kB / 1.386 GB, free: 27.52 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001392/1.517, allocations: 139.2 kB / 1.386 GB, free: 27.51 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002043/1.517, allocations: 15.72 kB / 1.386 GB, free: 27.51 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006575/1.518, allocations: 446.3 kB / 1.386 GB, free: 27.32 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003699/1.518, allocations: 0.7762 MB / 1.387 GB, free: 26.59 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001859/1.518, allocations: 47.41 kB / 1.387 GB, free: 26.57 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.352e-05/1.518, allocations: 30.48 kB / 1.387 GB, free: 26.57 MB / 0.8386 GB Notification: Performance of SimCode: time 5.91e-07/1.518, allocations: 4 kB / 1.387 GB, free: 26.56 MB / 0.8386 GB Notification: Performance of Templates: time 0.007415/1.526, allocations: 4.192 MB / 1.391 GB, free: 24.5 MB / 0.8386 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","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches