Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001089/0.001089, allocations: 80.8 kB / 20.75 MB, free: 3.742 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002014/0.002014, allocations: 161 kB / 24.16 MB, free: 336 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.061/1.061, allocations: 177.2 MB / 204.6 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 2.034/2.034, allocations: 389.6 MB / 0.6354 GB, free: 12.3 MB / 0.6042 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 1.203 kB / 0.7752 GB, free: 5.336 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.512e-05/2.68e-05, allocations: 2.312 kB / 0.7752 GB, free: 5.332 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable): time 0.001719/0.001746, allocations: 0.8863 MB / 0.7761 GB, free: 4.469 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001783/0.003529, allocations: 1.493 MB / 0.7775 GB, free: 2.969 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.695e-05/0.003616, allocations: 7.938 kB / 0.7776 GB, free: 2.961 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0004539/0.00407, allocations: 209.1 kB / 0.7778 GB, free: 2.762 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001182/0.004188, allocations: 123.7 kB / 0.7779 GB, free: 2.648 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007675/0.004955, allocations: 356.3 kB / 0.7782 GB, free: 2.305 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0007708/0.005726, allocations: 0.8786 MB / 0.7791 GB, free: 1.426 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001877/0.005914, allocations: 62.48 kB / 0.7791 GB, free: 1.363 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008662/0.00678, allocations: 448.5 kB / 0.7796 GB, free: 0.9258 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003355/0.007116, allocations: 212.2 kB / 0.7798 GB, free: 0.7188 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 9.636e-05/0.007212, allocations: 44 kB / 0.7798 GB, free: 0.6758 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002508/0.007463, allocations: 124.3 kB / 0.7799 GB, free: 0.5547 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0002432/0.007706, allocations: 284.3 kB / 0.7802 GB, free: 284 kB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0001898/0.007896, allocations: 207.5 kB / 0.7804 GB, free: 76 kB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0006716/0.008567, allocations: 0.7055 MB / 0.7811 GB, free: 15.37 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.008571, allocations: 0 / 0.7811 GB, free: 15.37 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.72e-07/0.008572, allocations: 0.875 kB / 0.7811 GB, free: 15.37 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 9.077e-06/0.008581, allocations: 0 / 0.7811 GB, free: 15.37 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.0009649/0.009546, allocations: 0.7034 MB / 0.7818 GB, free: 14.63 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/0.009584, allocations: 13.34 kB / 0.7818 GB, free: 14.62 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001224/0.009706, allocations: 44.88 kB / 0.7818 GB, free: 14.58 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004464/0.01015, allocations: 372.4 kB / 0.7822 GB, free: 14.2 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.138e-05/0.01017, allocations: 20.61 kB / 0.7822 GB, free: 14.18 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.371e-05/0.01024, allocations: 44.95 kB / 0.7822 GB, free: 14.13 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002012/0.01044, allocations: 150.1 kB / 0.7824 GB, free: 13.97 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.01045, allocations: 1.969 kB / 0.7824 GB, free: 13.97 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.869e-05/0.01047, allocations: 12.36 kB / 0.7824 GB, free: 13.96 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.553e-06/0.01047, allocations: 384 / 0.7824 GB, free: 13.96 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.615e-05/0.01056, allocations: 76.27 kB / 0.7825 GB, free: 13.88 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008635/0.01142, allocations: 0.6797 MB / 0.7831 GB, free: 13.18 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002417/0.01167, allocations: 308.9 kB / 0.7834 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.825e-05/0.01173, allocations: 58.55 kB / 0.7835 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 8.577e-06/0.01174, allocations: 5.531 kB / 0.7835 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002405/0.01198, allocations: 239.9 kB / 0.7837 GB, free: 12.52 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=24): time 1.363e-06/0.01198, allocations: 4.844 kB / 0.7837 GB, free: 12.51 MB / 0.7448 GB Notification: Performance of matching and sorting (n=24): time 0.0003355/0.01232, allocations: 237.9 kB / 0.7839 GB, free: 12.27 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.041e-05/0.01238, allocations: 119.6 kB / 0.7841 GB, free: 12.13 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002571/0.01264, allocations: 367.2 kB / 0.7844 GB, free: 11.76 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 6.57e-05/0.0127, allocations: 46.25 kB / 0.7845 GB, free: 11.71 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001063/0.01281, allocations: 159.1 kB / 0.7846 GB, free: 11.55 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.932e-05/0.01285, allocations: 63.59 kB / 0.7847 GB, free: 11.48 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001593/0.01301, allocations: 146.8 kB / 0.7848 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.736e-05/0.01311, allocations: 358.6 kB / 0.7851 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.618e-05/0.01316, allocations: 42.8 kB / 0.7852 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009318/0.01409, allocations: 1.489 MB / 0.7866 GB, free: 9.012 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001873/0.01428, allocations: 219 kB / 0.7869 GB, free: 8.75 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.01429, allocations: 4.875 kB / 0.7869 GB, free: 8.746 MB / 0.7448 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002625/0.01455, allocations: 240.2 kB / 0.7871 GB, free: 8.504 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.01456, allocations: 4 kB / 0.7871 GB, free: 8.5 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.01457, allocations: 5.688 kB / 0.7871 GB, free: 8.496 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.01458, allocations: 4 kB / 0.7871 GB, free: 8.492 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001288/0.01471, allocations: 51.91 kB / 0.7872 GB, free: 8.441 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.01472, allocations: 11.94 kB / 0.7872 GB, free: 8.43 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004266/0.01515, allocations: 96.64 kB / 0.7873 GB, free: 8.34 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.518e-05/0.01516, allocations: 16 kB / 0.7873 GB, free: 8.324 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 33 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,booTimTab.intTimTab.idx,$PRE.booTimTab.intTimTab.idx,booTimTab.intTimTab.y[2],$PRE.booTimTab.intTimTab.y[2],booTimTab.intTimTab.y[1],$PRE.booTimTab.intTimTab.y[1],booTimTab.y[2],booTimTab.y[1],$whenCondition5,booTimTabOneRow.intTimTab.idx,$PRE.booTimTabOneRow.intTimTab.idx,booTimTabOneRow.intTimTab.y[2],$PRE.booTimTabOneRow.intTimTab.y[2],booTimTabOneRow.intTimTab.y[1],$PRE.booTimTabOneRow.intTimTab.y[1],booTimTabOneRow.y[2],booTimTabOneRow.y[1],$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booTimTabTwi.intTimTab.idx,$PRE.booTimTabTwi.intTimTab.idx,booTimTabTwi.intTimTab.y[2],$PRE.booTimTabTwi.intTimTab.y[2],booTimTabTwi.intTimTab.y[1],$PRE.booTimTabTwi.intTimTab.y[1],booTimTabTwi.y[2],booTimTabTwi.y[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 36 * 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.0001436/0.01531, allocations: 174.2 kB / 0.7874 GB, free: 8.148 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.813e-05/0.01534, allocations: 31.97 kB / 0.7875 GB, free: 8.117 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.639e-05/0.01539, allocations: 36.03 kB / 0.7875 GB, free: 8.082 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/0.01539, allocations: 7.984 kB / 0.7875 GB, free: 8.074 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.0154, allocations: 1.656 kB / 0.7875 GB, free: 8.074 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.0154, allocations: 0 / 0.7875 GB, free: 8.074 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001598/0.01556, allocations: 185.6 kB / 0.7877 GB, free: 7.875 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.01556, allocations: 7.938 kB / 0.7877 GB, free: 7.867 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.725e-05/0.01558, allocations: 12.92 kB / 0.7877 GB, free: 7.855 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.01558, allocations: 0 / 0.7877 GB, free: 7.855 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.691e-05/0.0156, allocations: 8 kB / 0.7877 GB, free: 7.848 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.0156, allocations: 0.9375 kB / 0.7877 GB, free: 7.848 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.0156, allocations: 4 kB / 0.7877 GB, free: 7.844 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002056/0.01581, allocations: 219.5 kB / 0.7879 GB, free: 7.602 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.961e-05/0.01585, allocations: 46.23 kB / 0.788 GB, free: 7.559 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.575e-05/0.01588, allocations: 7.984 kB / 0.788 GB, free: 7.551 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.701e-05/0.01593, allocations: 4 kB / 0.788 GB, free: 7.547 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.292e-05/0.016, allocations: 42.8 kB / 0.788 GB, free: 7.504 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.077e-05/0.01602, allocations: 15.97 kB / 0.788 GB, free: 7.488 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001385/0.01615, allocations: 164.7 kB / 0.7882 GB, free: 7.324 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.01615, allocations: 0 / 0.7882 GB, free: 7.324 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003096/0.01646, allocations: 114.6 kB / 0.7883 GB, free: 7.215 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,booTimTab.y[1],booTimTab.y[2],booTimTab.intTimTab.y[1],booTimTab.intTimTab.y[2],booTimTab.intTimTab.idx,$whenCondition5,booTimTabOneRow.y[1],booTimTabOneRow.y[2],booTimTabOneRow.intTimTab.y[1],booTimTabOneRow.intTimTab.y[2],booTimTabOneRow.intTimTab.idx,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booTimTabTwi.y[1],booTimTabTwi.y[2],booTimTabTwi.intTimTab.y[1],booTimTabTwi.intTimTab.y[2],booTimTabTwi.intTimTab.idx) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * 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.0001941/0.01666, allocations: 134.8 kB / 0.7884 GB, free: 7.078 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000236/0.01689, allocations: 167.2 kB / 0.7886 GB, free: 6.914 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/0.0169, allocations: 4 kB / 0.7886 GB, free: 6.91 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 8.329e-05/0.01698, allocations: 78.3 kB / 0.7887 GB, free: 6.832 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001929/0.01718, allocations: 59.92 kB / 0.7887 GB, free: 6.773 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007406/0.01792, allocations: 0.654 MB / 0.7894 GB, free: 6.078 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.506e-05/0.01799, allocations: 122.4 kB / 0.7895 GB, free: 5.938 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001225/0.01811, allocations: 54.89 kB / 0.7895 GB, free: 5.887 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002586/0.01837, allocations: 161.2 kB / 0.7897 GB, free: 5.727 MB / 0.7448 GB Notification: Performance of SimCode: time 9.12e-07/0.01837, allocations: 2.75 kB / 0.7897 GB, free: 5.727 MB / 0.7448 GB Notification: Performance of Templates: time 0.01175/0.03012, allocations: 9.173 MB / 0.7987 GB, free: 12.86 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.sim & ./Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.523688344750553]