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.001296/0.001296, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001432/0.001432, allocations: 194.5 kB / 16.25 MB, free: 6.633 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.479/1.479, allocations: 222.9 MB / 239.9 MB, free: 4.527 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.744/2.744, allocations: 437 MB / 0.71 GB, free: 5.27 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 67.89 kB / 0.8687 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8335/0.8348, allocations: 151.6 MB / 1.017 GB, free: 2.723 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.002151/0.837, allocations: 0.756 MB / 1.018 GB, free: 1.969 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.00182/0.8388, allocations: 1.335 MB / 1.019 GB, free: 0.6172 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.389e-05/0.8389, allocations: 0 / 1.019 GB, free: 0.6172 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0004697/0.8394, allocations: 179.6 kB / 1.019 GB, free: 452 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001152/0.8395, allocations: 103.7 kB / 1.019 GB, free: 348 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006564/0.8402, allocations: 205.3 kB / 1.019 GB, free: 144 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0004946/0.8407, allocations: 479.8 kB / 1.02 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.84e-05/0.8407, allocations: 15.98 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002075/0.8409, allocations: 207.6 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003071/0.8413, allocations: 203.6 kB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 6.846e-05/0.8413, allocations: 20 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001957/0.8415, allocations: 91.88 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.000309/0.8419, allocations: 263.5 kB / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001676/0.842, allocations: 155.3 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004684/0.8425, allocations: 472.7 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.8425, allocations: 0 / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.743e-06/0.8425, allocations: 0 / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.692e-06/0.8425, allocations: 0 / 1.021 GB, free: 14.27 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.001063/0.8436, allocations: 0.6385 MB / 1.022 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.362e-05/0.8437, allocations: 11.97 kB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001405/0.8438, allocations: 32.56 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005278/0.8444, allocations: 384.1 kB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.171e-05/0.8444, allocations: 12.38 kB / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.092e-05/0.8445, allocations: 20.38 kB / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003488/0.8448, allocations: 188.7 kB / 1.022 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.8448, allocations: 192 / 1.022 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.427e-05/0.8449, allocations: 7.922 kB / 1.022 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.8449, allocations: 7.922 kB / 1.022 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001905/0.8451, allocations: 107.9 kB / 1.022 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000475/0.8456, allocations: 391 kB / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004863/0.8461, allocations: 315.6 kB / 1.023 GB, free: 12 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001922/0.8463, allocations: 130.6 kB / 1.023 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 9.368e-06/0.8463, allocations: 3.938 kB / 1.023 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005098/0.8468, allocations: 281.7 kB / 1.024 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=18): time 1.663e-06/0.8468, allocations: 3.938 kB / 1.024 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of matching and sorting (n=18): time 0.0008928/0.8477, allocations: 0.4937 MB / 1.024 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.548e-05/0.8478, allocations: 110.8 kB / 1.024 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004219/0.8482, allocations: 396.4 kB / 1.025 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 7.877e-05/0.8483, allocations: 41.7 kB / 1.025 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001444/0.8485, allocations: 156.7 kB / 1.025 GB, free: 10.33 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.203e-05/0.8485, allocations: 39.59 kB / 1.025 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000172/0.8487, allocations: 113.6 kB / 1.025 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001512/0.8489, allocations: 350.7 kB / 1.025 GB, free: 9.82 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001201/0.849, allocations: 83.89 kB / 1.025 GB, free: 9.738 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005178/0.8495, allocations: 467 kB / 1.026 GB, free: 9.156 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003075/0.8498, allocations: 257.5 kB / 1.026 GB, free: 8.855 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.8498, allocations: 0 / 1.026 GB, free: 8.855 MB / 0.7794 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004938/0.8503, allocations: 329.1 kB / 1.026 GB, free: 8.527 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/0.8504, allocations: 5.094 kB / 1.026 GB, free: 8.523 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.8504, allocations: 4 kB / 1.026 GB, free: 8.52 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.96e-05/0.8504, allocations: 8 kB / 1.026 GB, free: 8.512 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000158/0.8506, allocations: 31.92 kB / 1.026 GB, free: 8.48 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.699e-05/0.8506, allocations: 16.06 kB / 1.026 GB, free: 8.465 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007943/0.8514, allocations: 68.14 kB / 1.026 GB, free: 8.398 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.521e-05/0.8514, allocations: 20.08 kB / 1.026 GB, free: 8.379 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.0002314/0.8517, allocations: 192.5 kB / 1.027 GB, free: 8.184 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.073e-05/0.8517, allocations: 31.56 kB / 1.027 GB, free: 8.152 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.777e-05/0.8518, allocations: 33.89 kB / 1.027 GB, free: 8.117 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.8518, allocations: 4 kB / 1.027 GB, free: 8.113 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.8518, allocations: 0 / 1.027 GB, free: 8.113 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.8518, allocations: 0 / 1.027 GB, free: 8.113 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002814/0.8521, allocations: 289.5 kB / 1.027 GB, free: 7.781 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.8521, allocations: 0 / 1.027 GB, free: 7.781 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.027e-05/0.8521, allocations: 11.92 kB / 1.027 GB, free: 7.77 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.11e-06/0.8521, allocations: 0 / 1.027 GB, free: 7.77 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.975e-05/0.8522, allocations: 11.94 kB / 1.027 GB, free: 7.758 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.135e-05/0.8522, allocations: 4 kB / 1.027 GB, free: 7.754 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.8522, allocations: 0 / 1.027 GB, free: 7.754 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005808/0.8528, allocations: 434.2 kB / 1.027 GB, free: 7.305 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.856e-05/0.8529, allocations: 108.8 kB / 1.028 GB, free: 7.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.03e-05/0.8529, allocations: 0 / 1.028 GB, free: 7.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.347e-05/0.853, allocations: 8 kB / 1.028 GB, free: 7.172 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.006e-05/0.8531, allocations: 23.95 kB / 1.028 GB, free: 7.148 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.886e-05/0.8531, allocations: 8 kB / 1.028 GB, free: 7.141 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0003046/0.8534, allocations: 295 kB / 1.028 GB, free: 6.852 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.9e-07/0.8534, allocations: 4 kB / 1.028 GB, free: 6.848 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003876/0.8538, allocations: 71.98 kB / 1.028 GB, free: 6.777 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.0002259/0.8541, allocations: 140.9 kB / 1.028 GB, free: 6.633 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004549/0.8545, allocations: 259.6 kB / 1.028 GB, free: 6.379 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.8545, allocations: 4.812 kB / 1.028 GB, free: 6.375 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002083/0.8547, allocations: 151.8 kB / 1.028 GB, free: 6.227 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002924/0.8551, allocations: 42.62 kB / 1.028 GB, free: 6.188 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009834/0.856, allocations: 0.6003 MB / 1.029 GB, free: 5.555 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003827/0.8564, allocations: 0.7675 MB / 1.03 GB, free: 4.762 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001452/0.8566, allocations: 42.14 kB / 1.03 GB, free: 4.719 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.07e-05/0.8567, allocations: 35.42 kB / 1.03 GB, free: 4.684 MB / 0.7794 GB Notification: Performance of SimCode: time 3.91e-07/0.8567, allocations: 0 / 1.03 GB, free: 4.684 MB / 0.7794 GB Notification: Performance of Templates: time 0.01018/0.8669, allocations: 4.981 MB / 1.035 GB, free: 15.75 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