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/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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001217/0.001217, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001394/0.001394, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.376/1.376, allocations: 223.2 MB / 239.9 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.461/2.461, allocations: 390.3 MB / 0.6653 GB, free: 2.91 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003799/0.00038, allocations: 12 kB / 0.8146 GB, free: 14.18 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8533/0.8537, allocations: 142.3 MB / 0.9535 GB, free: 8.133 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.0008659/0.8546, allocations: 407.6 kB / 0.9539 GB, free: 7.828 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001554/0.8562, allocations: 1.298 MB / 0.9552 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.217e-05/0.8563, allocations: 0.9375 kB / 0.9552 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005886/0.8569, allocations: 182.4 kB / 0.9554 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001397/0.857, allocations: 106.1 kB / 0.9555 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006541/0.8577, allocations: 199.3 kB / 0.9556 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004836/0.8582, allocations: 296.4 kB / 0.9559 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.148e-05/0.8582, allocations: 5.375 kB / 0.9559 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002143/0.8585, allocations: 188.5 kB / 0.9561 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002961/0.8588, allocations: 187.8 kB / 0.9563 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.983e-05/0.8588, allocations: 11 kB / 0.9563 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001881/0.859, allocations: 61.94 kB / 0.9564 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003191/0.8594, allocations: 236.9 kB / 0.9566 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.442e-05/0.8594, allocations: 62.86 kB / 0.9566 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003758/0.8598, allocations: 354.5 kB / 0.957 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.8598, allocations: 0 / 0.957 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.645e-06/0.8598, allocations: 4 kB / 0.957 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.713e-06/0.8599, allocations: 0 / 0.957 GB, free: 5.758 MB / 0.7169 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.0007899/0.8606, allocations: 0.5245 MB / 0.9575 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.623e-05/0.8607, allocations: 8.688 kB / 0.9575 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001188/0.8608, allocations: 37.55 kB / 0.9575 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005568/0.8614, allocations: 367.3 kB / 0.9579 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.682e-05/0.8614, allocations: 16.23 kB / 0.9579 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.552e-05/0.8615, allocations: 20.5 kB / 0.9579 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002913/0.8618, allocations: 187.7 kB / 0.9581 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.338e-06/0.8618, allocations: 0 / 0.9581 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.939e-05/0.8618, allocations: 1.375 kB / 0.9581 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.8619, allocations: 9.266 kB / 0.9581 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001885/0.862, allocations: 113.9 kB / 0.9582 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004185/0.8625, allocations: 398.5 kB / 0.9586 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004801/0.863, allocations: 313.6 kB / 0.9589 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 7.855e-06/0.863, allocations: 4.984 kB / 0.9589 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004531/0.8634, allocations: 279.9 kB / 0.9592 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=18): time 1.323e-06/0.8634, allocations: 0 / 0.9592 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of matching and sorting (n=18): time 0.0009125/0.8644, allocations: 0.4902 MB / 0.9597 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.193e-05/0.8644, allocations: 117.1 kB / 0.9598 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004821/0.8649, allocations: 399.3 kB / 0.9602 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.929e-05/0.865, allocations: 41.14 kB / 0.9602 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001271/0.8651, allocations: 154.7 kB / 0.9603 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.379e-05/0.8652, allocations: 43.75 kB / 0.9604 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.113e-05/0.8652, allocations: 7.938 kB / 0.9604 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.027e-05/0.8653, allocations: 341.5 kB / 0.9607 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001214/0.8654, allocations: 85.02 kB / 0.9608 GB, free: 2.875 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004676/0.8659, allocations: 467.7 kB / 0.9612 GB, free: 2.441 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002113/0.8661, allocations: 126.3 kB / 0.9614 GB, free: 2.387 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.638e-06/0.8661, allocations: 1.312 kB / 0.9614 GB, free: 2.387 MB / 0.7169 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004666/0.8666, allocations: 323.2 kB / 0.9617 GB, free: 2.234 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.266e-05/0.8666, allocations: 11.2 kB / 0.9617 GB, free: 2.23 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/0.8666, allocations: 2.875 kB / 0.9617 GB, free: 2.23 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.839e-05/0.8666, allocations: 6.312 kB / 0.9617 GB, free: 2.23 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001631/0.8668, allocations: 32.39 kB / 0.9617 GB, free: 2.219 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.42e-05/0.8668, allocations: 12.7 kB / 0.9617 GB, free: 2.211 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007074/0.8676, allocations: 78.06 kB / 0.9618 GB, free: 2.18 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.13e-05/0.8676, allocations: 14.25 kB / 0.9618 GB, free: 2.176 MB / 0.7169 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002242/0.8678, allocations: 195.2 kB / 0.962 GB, free: 2.023 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.793e-05/0.8679, allocations: 28.5 kB / 0.962 GB, free: 2.008 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.298e-05/0.868, allocations: 37.48 kB / 0.9621 GB, free: 1.984 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.868, allocations: 6.328 kB / 0.9621 GB, free: 1.98 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.636e-06/0.868, allocations: 1.312 kB / 0.9621 GB, free: 1.98 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.084e-06/0.868, allocations: 5.078 kB / 0.9621 GB, free: 1.977 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002751/0.8683, allocations: 283.5 kB / 0.9624 GB, free: 1.703 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.8683, allocations: 1.156 kB / 0.9624 GB, free: 1.703 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.468e-05/0.8683, allocations: 3.281 kB / 0.9624 GB, free: 1.703 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.037e-06/0.8683, allocations: 2.125 kB / 0.9624 GB, free: 1.703 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.746e-05/0.8683, allocations: 3.438 kB / 0.9624 GB, free: 1.703 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.589e-06/0.8683, allocations: 6.234 kB / 0.9624 GB, free: 1.699 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.299e-06/0.8683, allocations: 11.94 kB / 0.9624 GB, free: 1.688 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000575/0.8689, allocations: 459.6 kB / 0.9628 GB, free: 1.43 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 9.8e-05/0.869, allocations: 112.8 kB / 0.9629 GB, free: 1.316 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.126e-05/0.8691, allocations: 6.281 kB / 0.9629 GB, free: 1.312 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.972e-05/0.8692, allocations: 9.297 kB / 0.9629 GB, free: 1.305 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.752e-05/0.8692, allocations: 19.41 kB / 0.963 GB, free: 1.293 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.515e-05/0.8693, allocations: 14.62 kB / 0.963 GB, free: 1.289 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.000297/0.8696, allocations: 290.1 kB / 0.9632 GB, free: 1.125 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.8696, allocations: 0 / 0.9632 GB, free: 1.125 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0004574/0.8701, allocations: 75.75 kB / 0.9633 GB, free: 1.113 MB / 0.7169 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 (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.0002701/0.8703, allocations: 153.8 kB / 0.9635 GB, free: 0.9922 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004921/0.8708, allocations: 253.8 kB / 0.9637 GB, free: 0.9023 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.8708, allocations: 0 / 0.9637 GB, free: 0.9023 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002071/0.8711, allocations: 146.8 kB / 0.9638 GB, free: 0.8398 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002218/0.8713, allocations: 23.91 kB / 0.9639 GB, free: 0.8281 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009679/0.8723, allocations: 0.5929 MB / 0.9645 GB, free: 464 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003173/0.8726, allocations: 0.7773 MB / 0.9652 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001478/0.8728, allocations: 49.8 kB / 0.9653 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.342e-05/0.8728, allocations: 36.2 kB / 0.9653 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of SimCode: time 2.31e-07/0.8728, allocations: 3.938 kB / 0.9653 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of Templates: time 0.009815/0.8827, allocations: 4.592 MB / 0.9698 GB, free: 13.4 MB / 0.7325 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