Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.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.Continuous.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.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.826/1.826, allocations: 288.3 MB / 303.2 MB, free: 8.195 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.001059/0.001059, allocations: 180.1 kB / 371.8 MB, free: 10.29 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.684/1.684, allocations: 205.4 MB / 0.6306 GB, free: 10.02 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009942/0.0009944, allocations: 89.09 kB / 0.7439 GB, free: 5.941 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003997/0.0003998, allocations: 12.91 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2527/0.2531, allocations: 115.3 MB / 0.9794 GB, free: 27.67 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable): time 0.00251/0.2557, allocations: 2.05 MB / 0.9815 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001969/0.2577, allocations: 1.359 MB / 0.9828 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001873/0.2579, allocations: 11.88 kB / 0.9828 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0005182/0.2584, allocations: 279.2 kB / 0.9831 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0004046/0.2588, allocations: 283.2 kB / 0.9833 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006482/0.2595, allocations: 330.4 kB / 0.9836 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003935/0.2599, allocations: 439.1 kB / 0.9841 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001429/0.26, allocations: 69.73 kB / 0.9841 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002749/0.2603, allocations: 298.8 kB / 0.9844 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002261/0.2606, allocations: 247 kB / 0.9846 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.789e-05/0.2606, allocations: 12 kB / 0.9847 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001391/0.2608, allocations: 59.89 kB / 0.9847 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001243/0.2609, allocations: 167.4 kB / 0.9849 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.103e-05/0.261, allocations: 125.3 kB / 0.985 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003889/0.2614, allocations: 0.5769 MB / 0.9856 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.2614, allocations: 0 / 0.9856 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.573e-06/0.2614, allocations: 0 / 0.9856 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.804e-06/0.2614, allocations: 4 kB / 0.9856 GB, free: 21.38 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.001162/0.2626, allocations: 0.8995 MB / 0.9864 GB, free: 20.43 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/0.2626, allocations: 12.03 kB / 0.9865 GB, free: 20.42 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.744e-05/0.2627, allocations: 75.02 kB / 0.9865 GB, free: 20.34 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007688/0.2635, allocations: 0.5892 MB / 0.9871 GB, free: 19.71 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.444e-05/0.2635, allocations: 15.88 kB / 0.9871 GB, free: 19.7 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.669e-05/0.2636, allocations: 15.94 kB / 0.9871 GB, free: 19.68 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003176/0.2639, allocations: 199.6 kB / 0.9873 GB, free: 19.46 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.2639, allocations: 0 / 0.9873 GB, free: 19.46 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.119e-05/0.2639, allocations: 7.984 kB / 0.9873 GB, free: 19.46 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.2639, allocations: 7.938 kB / 0.9873 GB, free: 19.45 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002107/0.2642, allocations: 95.88 kB / 0.9874 GB, free: 19.36 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001085/0.2653, allocations: 1.052 MB / 0.9885 GB, free: 18.24 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004676/0.2657, allocations: 285.3 kB / 0.9887 GB, free: 17.91 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.35e-05/0.2658, allocations: 4 kB / 0.9887 GB, free: 17.91 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003493/0.2661, allocations: 235.3 kB / 0.989 GB, free: 17.65 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=25): time 1.533e-06/0.2661, allocations: 0 / 0.989 GB, free: 17.65 MB / 0.6198 GB Notification: Performance of matching and sorting (n=25): time 0.0007588/0.2669, allocations: 416.5 kB / 0.9893 GB, free: 17.24 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.494e-05/0.267, allocations: 166.2 kB / 0.9895 GB, free: 17.04 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008877/0.2679, allocations: 1.028 MB / 0.9905 GB, free: 16 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.389e-05/0.2679, allocations: 37.7 kB / 0.9905 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001654/0.2681, allocations: 288.8 kB / 0.9908 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.22e-05/0.2681, allocations: 75.08 kB / 0.9909 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.315e-05/0.2682, allocations: 19.94 kB / 0.9909 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.298e-05/0.2682, allocations: 326 kB / 0.9912 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003061/0.2685, allocations: 213.2 kB / 0.9914 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003286/0.2689, allocations: 299 kB / 0.9917 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003312/0.2692, allocations: 239 kB / 0.9919 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.2692, allocations: 0 / 0.9919 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.000872/0.2701, allocations: 0.6704 MB / 0.9926 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/0.2701, allocations: 13.83 kB / 0.9926 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.2701, allocations: 0 / 0.9926 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.2702, allocations: 11.98 kB / 0.9926 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003524/0.2705, allocations: 116 kB / 0.9927 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.008e-05/0.2706, allocations: 4 kB / 0.9927 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002404/0.2708, allocations: 43.75 kB / 0.9928 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.49e-05/0.2709, allocations: 24 kB / 0.9928 GB, free: 13.62 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 ($whenCondition5,$PRE.timTabLin.tab.nextTimeEvent,$whenCondition4,$PRE.timTabLinHol.tab.nextTimeEvent,$whenCondition3,$PRE.timTabLinDer.tab.nextTimeEvent,$whenCondition2,$PRE.timTabCon.tab.nextTimeEvent,$whenCondition1,$PRE.timTabLinCon.tab.nextTimeEvent,timTabLinCon.tab.nextTimeEvent,$PRE.timTabLinCon.tab.nextTimeEventScaled,timTabLinCon.tab.nextTimeEventScaled,timTabCon.tab.nextTimeEvent,$PRE.timTabCon.tab.nextTimeEventScaled,timTabCon.tab.nextTimeEventScaled,timTabLinDer.tab.nextTimeEvent,$PRE.timTabLinDer.tab.nextTimeEventScaled,timTabLinDer.tab.nextTimeEventScaled,timTabLinHol.tab.nextTimeEvent,$PRE.timTabLinHol.tab.nextTimeEventScaled,timTabLinHol.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 75 * 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.0002313/0.2711, allocations: 270.9 kB / 0.9931 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.741e-05/0.2712, allocations: 71.06 kB / 0.9931 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.788e-05/0.2713, allocations: 85.83 kB / 0.9932 GB, free: 13.19 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.768e-06/0.2713, allocations: 4 kB / 0.9932 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.603e-06/0.2713, allocations: 0 / 0.9932 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.2713, allocations: 3.938 kB / 0.9932 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003547/0.2717, allocations: 465.1 kB / 0.9937 GB, free: 12.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.2717, allocations: 7.984 kB / 0.9937 GB, free: 12.67 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.634e-05/0.2717, allocations: 19.94 kB / 0.9937 GB, free: 12.65 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.2717, allocations: 4 kB / 0.9937 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.869e-05/0.2718, allocations: 7.984 kB / 0.9937 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.2718, allocations: 7.953 kB / 0.9937 GB, free: 12.63 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.2718, allocations: 0 / 0.9937 GB, free: 12.63 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000527/0.2723, allocations: 446.2 kB / 0.9941 GB, free: 12.14 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001539/0.2725, allocations: 168 kB / 0.9943 GB, free: 11.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.791e-05/0.2726, allocations: 12 kB / 0.9943 GB, free: 11.94 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001615/0.2727, allocations: 15.98 kB / 0.9943 GB, free: 11.93 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.204e-05/0.2728, allocations: 23.97 kB / 0.9943 GB, free: 11.9 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.298e-05/0.2728, allocations: 19.94 kB / 0.9944 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0005715/0.2734, allocations: 0.6044 MB / 0.9949 GB, free: 11.28 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2734, allocations: 0 / 0.9949 GB, free: 11.28 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003894/0.2738, allocations: 112 kB / 0.9951 GB, free: 11.17 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,$whenCondition4,timTabLinHol.tab.nextTimeEvent,timTabLinHol.tab.nextTimeEventScaled,$whenCondition3,timTabLinDer.tab.nextTimeEvent,timTabLinDer.tab.nextTimeEventScaled,$whenCondition2,timTabCon.tab.nextTimeEvent,timTabCon.tab.nextTimeEventScaled,$whenCondition1,timTabLinCon.tab.nextTimeEvent,timTabLinCon.tab.nextTimeEventScaled) * Number of discrete states: 10 (timTabLinCon.tab.nextTimeEventScaled,timTabLinCon.tab.nextTimeEvent,timTabCon.tab.nextTimeEventScaled,timTabCon.tab.nextTimeEvent,timTabLinDer.tab.nextTimeEventScaled,timTabLinDer.tab.nextTimeEvent,timTabLinHol.tab.nextTimeEventScaled,timTabLinHol.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.001058/0.2749, allocations: 485.3 kB / 0.9955 GB, free: 10.85 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006194/0.2755, allocations: 399.6 kB / 0.9959 GB, free: 10.46 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.2755, allocations: 3.938 kB / 0.9959 GB, free: 10.45 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001967/0.2757, allocations: 107.9 kB / 0.996 GB, free: 10.35 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006982/0.2764, allocations: 195.3 kB / 0.9962 GB, free: 10.16 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001311/0.2777, allocations: 1.178 MB / 0.9973 GB, free: 8.949 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003357/0.2781, allocations: 0.9406 MB / 0.9983 GB, free: 7.98 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002346/0.2783, allocations: 117.5 kB / 0.9984 GB, free: 7.863 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001121/0.2785, allocations: 59.42 kB / 0.9984 GB, free: 7.805 MB / 0.6198 GB Notification: Performance of SimCode: time 6.21e-07/0.2785, allocations: 0 / 0.9984 GB, free: 7.805 MB / 0.6198 GB Notification: Performance of Templates: time 0.01146/0.2899, allocations: 7.126 MB / 1.005 GB, free: 0.7461 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe 2>&1)