Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.766/1.766, allocations: 288.4 MB / 303.7 MB, free: 8.91 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001517/0.001516, allocations: 180.5 kB / 372.3 MB, free: 6.449 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.835/1.835, allocations: 205.4 MB / 0.631 GB, free: 13.53 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000984/0.0009839, allocations: 90.33 kB / 0.7444 GB, free: 64.58 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004138/0.000414, allocations: 12 kB / 0.8675 GB, free: 0.5703 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.337/0.3374, allocations: 115.3 MB / 0.9802 GB, free: 13.08 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable): time 0.001244/0.3387, allocations: 0.5598 MB / 0.9807 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.002292/0.341, allocations: 1.414 MB / 0.9821 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.276e-05/0.3411, allocations: 4 kB / 0.9821 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0006783/0.3418, allocations: 195.5 kB / 0.9823 GB, free: 10.9 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001548/0.342, allocations: 103.7 kB / 0.9824 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.001133/0.3431, allocations: 315.4 kB / 0.9827 GB, free: 10.49 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0009002/0.344, allocations: 0.655 MB / 0.9833 GB, free: 9.832 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000289/0.3443, allocations: 88.25 kB / 0.9834 GB, free: 9.742 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003805/0.3447, allocations: 295.4 kB / 0.9837 GB, free: 9.453 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004228/0.3452, allocations: 227.4 kB / 0.9839 GB, free: 9.23 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 9.547e-05/0.3453, allocations: 19.94 kB / 0.9839 GB, free: 9.211 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002672/0.3455, allocations: 75.94 kB / 0.984 GB, free: 9.137 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0004214/0.346, allocations: 303.4 kB / 0.9843 GB, free: 8.84 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0003091/0.3463, allocations: 248.6 kB / 0.9845 GB, free: 8.59 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0007263/0.347, allocations: 0.7018 MB / 0.9852 GB, free: 7.887 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.693e-06/0.3471, allocations: 0 / 0.9852 GB, free: 7.887 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.044e-06/0.3471, allocations: 0 / 0.9852 GB, free: 7.887 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.762e-06/0.3471, allocations: 0 / 0.9852 GB, free: 7.887 MB / 0.7136 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.001352/0.3484, allocations: 0.7088 MB / 0.9859 GB, free: 7.121 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.609e-05/0.3485, allocations: 8.031 kB / 0.9859 GB, free: 7.113 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000213/0.3487, allocations: 56.38 kB / 0.986 GB, free: 7.059 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009989/0.3497, allocations: 0.537 MB / 0.9865 GB, free: 6.48 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.129e-05/0.3498, allocations: 20.61 kB / 0.9865 GB, free: 6.461 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001168/0.3499, allocations: 40.36 kB / 0.9865 GB, free: 6.422 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005352/0.3505, allocations: 310.2 kB / 0.9868 GB, free: 6.105 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.3505, allocations: 4.188 kB / 0.9868 GB, free: 6.102 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.56e-05/0.3505, allocations: 3.938 kB / 0.9868 GB, free: 6.098 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.3505, allocations: 4 kB / 0.9868 GB, free: 6.094 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003318/0.3509, allocations: 223.8 kB / 0.9871 GB, free: 5.875 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002091/0.353, allocations: 1.183 MB / 0.9882 GB, free: 4.633 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006214/0.3536, allocations: 475.7 kB / 0.9887 GB, free: 4.141 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002369/0.3538, allocations: 182.6 kB / 0.9888 GB, free: 3.953 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.788e-05/0.3539, allocations: 7.938 kB / 0.9888 GB, free: 3.945 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000492/0.3544, allocations: 337.4 kB / 0.9892 GB, free: 3.594 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=24): time 2.314e-06/0.3544, allocations: 0 / 0.9892 GB, free: 3.594 MB / 0.7136 GB Notification: Performance of matching and sorting (n=24): time 0.0009677/0.3554, allocations: 0.618 MB / 0.9898 GB, free: 2.969 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.495e-05/0.3555, allocations: 118.7 kB / 0.9899 GB, free: 2.828 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007457/0.3562, allocations: 0.5993 MB / 0.9905 GB, free: 2.219 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 7.569e-05/0.3563, allocations: 41.7 kB / 0.9905 GB, free: 2.172 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002307/0.3565, allocations: 222.5 kB / 0.9907 GB, free: 1.949 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 5.252e-05/0.3566, allocations: 51.41 kB / 0.9908 GB, free: 1.898 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.555e-05/0.3566, allocations: 8 kB / 0.9908 GB, free: 1.891 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002189/0.3568, allocations: 358.8 kB / 0.9911 GB, free: 1.531 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001798/0.357, allocations: 119.9 kB / 0.9912 GB, free: 1.414 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008837/0.3579, allocations: 0.7212 MB / 0.9919 GB, free: 0.5195 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003988/0.3583, allocations: 304.5 kB / 0.9922 GB, free: 180 kB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.3584, allocations: 0 / 0.9922 GB, free: 180 kB / 0.7136 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000644/0.359, allocations: 416.7 kB / 0.9926 GB, free: 15.76 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.359, allocations: 4 kB / 0.9926 GB, free: 15.76 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/0.359, allocations: 4.234 kB / 0.9926 GB, free: 15.75 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.19e-05/0.3591, allocations: 8.312 kB / 0.9926 GB, free: 15.75 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001833/0.3593, allocations: 43.84 kB / 0.9927 GB, free: 15.7 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.485e-05/0.3593, allocations: 7.984 kB / 0.9927 GB, free: 15.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001293/0.3606, allocations: 139.7 kB / 0.9928 GB, free: 15.57 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.875e-05/0.3606, allocations: 12.75 kB / 0.9928 GB, free: 15.55 MB / 0.7292 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.y[1],booTimTab.y[2],$PRE.booTimTab.intTimTab.y[1],booTimTab.intTimTab.y[1],$PRE.booTimTab.intTimTab.y[2],booTimTab.intTimTab.y[2],$PRE.booTimTab.intTimTab.idx,booTimTab.intTimTab.idx,$whenCondition5,booTimTabOneRow.y[1],booTimTabOneRow.y[2],$PRE.booTimTabOneRow.intTimTab.y[1],booTimTabOneRow.intTimTab.y[1],$PRE.booTimTabOneRow.intTimTab.y[2],booTimTabOneRow.intTimTab.y[2],$PRE.booTimTabOneRow.intTimTab.idx,booTimTabOneRow.intTimTab.idx,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booTimTabTwi.y[1],booTimTabTwi.y[2],$PRE.booTimTabTwi.intTimTab.y[1],booTimTabTwi.intTimTab.y[1],$PRE.booTimTabTwi.intTimTab.y[2],booTimTabTwi.intTimTab.y[2],$PRE.booTimTabTwi.intTimTab.idx,booTimTabTwi.intTimTab.idx) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003661/0.361, allocations: 261.6 kB / 0.9931 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.033e-05/0.3611, allocations: 35.53 kB / 0.9931 GB, free: 15.26 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001037/0.3612, allocations: 59.3 kB / 0.9932 GB, free: 15.2 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.193e-06/0.3612, allocations: 4 kB / 0.9932 GB, free: 15.19 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.3612, allocations: 0 / 0.9932 GB, free: 15.19 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.59e-06/0.3612, allocations: 4 kB / 0.9932 GB, free: 15.19 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004318/0.3617, allocations: 405.2 kB / 0.9936 GB, free: 14.74 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.3617, allocations: 7.938 kB / 0.9936 GB, free: 14.73 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.23e-05/0.3617, allocations: 7.938 kB / 0.9936 GB, free: 14.73 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.3617, allocations: 0 / 0.9936 GB, free: 14.73 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.463e-05/0.3617, allocations: 15.92 kB / 0.9936 GB, free: 14.71 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.3618, allocations: 4 kB / 0.9936 GB, free: 14.71 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.3618, allocations: 0 / 0.9936 GB, free: 14.71 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006656/0.3624, allocations: 0.5088 MB / 0.9941 GB, free: 14.18 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001681/0.3626, allocations: 148.4 kB / 0.9942 GB, free: 14.01 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.938e-05/0.3627, allocations: 8.172 kB / 0.9943 GB, free: 14 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000154/0.3628, allocations: 23.98 kB / 0.9943 GB, free: 13.98 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.792e-05/0.3629, allocations: 27.97 kB / 0.9943 GB, free: 13.95 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.141e-05/0.363, allocations: 15.98 kB / 0.9943 GB, free: 13.94 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0005006/0.3635, allocations: 435 kB / 0.9947 GB, free: 13.51 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3635, allocations: 0 / 0.9947 GB, free: 13.51 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0004673/0.364, allocations: 111.9 kB / 0.9948 GB, free: 13.4 MB / 0.7292 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 (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.0002726/0.3642, allocations: 153.4 kB / 0.995 GB, free: 13.24 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.000586/0.3648, allocations: 344.3 kB / 0.9953 GB, free: 12.91 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.3648, allocations: 128 / 0.9953 GB, free: 12.91 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002503/0.3651, allocations: 191.8 kB / 0.9955 GB, free: 12.72 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003267/0.3654, allocations: 40.58 kB / 0.9955 GB, free: 12.68 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001324/0.3668, allocations: 0.8861 MB / 0.9964 GB, free: 11.76 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004723/0.3673, allocations: 0.8347 MB / 0.9972 GB, free: 10.9 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0002618/0.3675, allocations: 94.92 kB / 0.9973 GB, free: 10.81 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.36e-05/0.3676, allocations: 31.44 kB / 0.9973 GB, free: 10.78 MB / 0.7292 GB Notification: Performance of SimCode: time 2.31e-07/0.3676, allocations: 0 / 0.9973 GB, free: 10.78 MB / 0.7292 GB Notification: Performance of Templates: time 0.01343/0.3811, allocations: 7.47 MB / 1.005 GB, free: 3.344 MB / 0.7292 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe 2>&1)