Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.679/2.679, allocations: 287.5 MB / 302.4 MB, free: 8.27 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.001408/0.001408, allocations: 184.5 kB / 371 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.244/2.244, allocations: 205.4 MB / 0.6297 GB, free: 10.62 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.000928/0.0009281, allocations: 86.33 kB / 0.743 GB, free: 6.633 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007755/0.0007759, allocations: 14.61 kB / 0.8658 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2594/0.2602, allocations: 115.3 MB / 0.9784 GB, free: 28.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable): time 0.003196/0.2635, allocations: 2.069 MB / 0.9804 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003299/0.2669, allocations: 1.398 MB / 0.9818 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003299/0.2673, allocations: 7.875 kB / 0.9818 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0007572/0.268, allocations: 291.2 kB / 0.9821 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0007896/0.2688, allocations: 271 kB / 0.9823 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.00132/0.2702, allocations: 327.3 kB / 0.9826 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0009407/0.2711, allocations: 0.6035 MB / 0.9832 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002367/0.2714, allocations: 69.73 kB / 0.9833 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005038/0.2719, allocations: 274.7 kB / 0.9835 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003864/0.2723, allocations: 274.8 kB / 0.9838 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 8.119e-05/0.2724, allocations: 12 kB / 0.9838 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000321/0.2727, allocations: 59.97 kB / 0.9839 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0002074/0.273, allocations: 167.4 kB / 0.984 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001394/0.2731, allocations: 133.3 kB / 0.9842 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0007128/0.2738, allocations: 0.573 MB / 0.9847 GB, free: 21.83 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.2739, allocations: 0 / 0.9847 GB, free: 21.83 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.895e-06/0.2739, allocations: 0 / 0.9847 GB, free: 21.83 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.498e-06/0.2739, allocations: 0 / 0.9847 GB, free: 21.83 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.001903/0.2758, allocations: 0.9058 MB / 0.9856 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/0.2759, allocations: 11.97 kB / 0.9856 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001553/0.276, allocations: 79.02 kB / 0.9857 GB, free: 20.79 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001248/0.2773, allocations: 0.5892 MB / 0.9863 GB, free: 20.15 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.82e-05/0.2774, allocations: 15.94 kB / 0.9863 GB, free: 20.14 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.563e-05/0.2774, allocations: 12 kB / 0.9863 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005391/0.278, allocations: 199.1 kB / 0.9865 GB, free: 19.91 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.334e-05/0.278, allocations: 0 / 0.9865 GB, free: 19.91 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.347e-05/0.278, allocations: 8 kB / 0.9865 GB, free: 19.9 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.576e-06/0.2781, allocations: 4 kB / 0.9865 GB, free: 19.9 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003792/0.2784, allocations: 99.83 kB / 0.9866 GB, free: 19.8 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001831/0.2803, allocations: 1.052 MB / 0.9876 GB, free: 18.68 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009025/0.2812, allocations: 285 kB / 0.9879 GB, free: 18.36 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003227/0.2816, allocations: 100.2 kB / 0.988 GB, free: 18.25 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 5.033e-05/0.2816, allocations: 7.953 kB / 0.988 GB, free: 18.24 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005522/0.2822, allocations: 239.2 kB / 0.9882 GB, free: 17.98 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=25): time 2.895e-06/0.2822, allocations: 0 / 0.9882 GB, free: 17.98 MB / 0.6198 GB Notification: Performance of matching and sorting (n=25): time 0.001547/0.2838, allocations: 420.5 kB / 0.9886 GB, free: 17.56 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.709e-05/0.2839, allocations: 158.2 kB / 0.9888 GB, free: 17.37 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001687/0.2856, allocations: 1.028 MB / 0.9898 GB, free: 16.33 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.032e-05/0.2857, allocations: 37.7 kB / 0.9898 GB, free: 16.29 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002974/0.286, allocations: 288.8 kB / 0.9901 GB, free: 16 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 9.944e-05/0.2861, allocations: 75.08 kB / 0.9902 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.601e-05/0.2861, allocations: 20 kB / 0.9902 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.804e-05/0.2862, allocations: 326 kB / 0.9905 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000612/0.2869, allocations: 209.2 kB / 0.9907 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006372/0.2875, allocations: 315 kB / 0.991 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006375/0.2882, allocations: 227.5 kB / 0.9912 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/0.2882, allocations: 0 / 0.9912 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001731/0.2899, allocations: 0.6755 MB / 0.9919 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.488e-05/0.29, allocations: 4 kB / 0.9919 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.263e-05/0.29, allocations: 4 kB / 0.9919 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.73e-05/0.29, allocations: 4 kB / 0.9919 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007555/0.2908, allocations: 123.8 kB / 0.992 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.81e-05/0.2908, allocations: 8 kB / 0.992 GB, free: 14 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00054/0.2914, allocations: 43.92 kB / 0.992 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.572e-05/0.2915, allocations: 23.98 kB / 0.9921 GB, free: 13.94 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.0004684/0.292, allocations: 278.8 kB / 0.9923 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001382/0.2921, allocations: 75.02 kB / 0.9924 GB, free: 13.58 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001565/0.2923, allocations: 73.88 kB / 0.9925 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.294e-06/0.2923, allocations: 4 kB / 0.9925 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.279e-05/0.2923, allocations: 8 kB / 0.9925 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.2923, allocations: 0 / 0.9925 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005459/0.2929, allocations: 461.1 kB / 0.9929 GB, free: 13 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.2929, allocations: 4 kB / 0.9929 GB, free: 12.99 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001313/0.293, allocations: 27.92 kB / 0.993 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.396e-06/0.2931, allocations: 4 kB / 0.993 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.88e-05/0.2931, allocations: 11.94 kB / 0.993 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.529e-06/0.2931, allocations: 0 / 0.993 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.519e-06/0.2931, allocations: 4 kB / 0.993 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009624/0.2941, allocations: 387.4 kB / 0.9933 GB, free: 12.54 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002021/0.2943, allocations: 168.1 kB / 0.9935 GB, free: 12.35 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001219/0.2945, allocations: 19.94 kB / 0.9935 GB, free: 12.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003414/0.2948, allocations: 15.98 kB / 0.9935 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.066e-05/0.2949, allocations: 23.97 kB / 0.9936 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.991e-05/0.295, allocations: 16 kB / 0.9936 GB, free: 12.28 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.001007/0.296, allocations: 0.5966 MB / 0.9942 GB, free: 11.68 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.91e-07/0.296, allocations: 0 / 0.9942 GB, free: 11.68 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0006608/0.2967, allocations: 120 kB / 0.9943 GB, free: 11.57 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.001421/0.2981, allocations: 486.7 kB / 0.9947 GB, free: 11.27 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001259/0.2994, allocations: 407.5 kB / 0.9951 GB, free: 10.87 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.067e-06/0.2994, allocations: 0 / 0.9951 GB, free: 10.87 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003832/0.2998, allocations: 108.1 kB / 0.9952 GB, free: 10.77 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001504/0.3013, allocations: 198.3 kB / 0.9954 GB, free: 10.58 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002218/0.3036, allocations: 1.183 MB / 0.9966 GB, free: 9.355 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004583/0.3041, allocations: 0.925 MB / 0.9975 GB, free: 8.402 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0004835/0.3046, allocations: 117.5 kB / 0.9976 GB, free: 8.285 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001988/0.3048, allocations: 55.42 kB / 0.9976 GB, free: 8.23 MB / 0.6198 GB Notification: Performance of SimCode: time 1.062e-06/0.3048, allocations: 0 / 0.9976 GB, free: 8.23 MB / 0.6198 GB Notification: Performance of Templates: time 0.02055/0.3253, allocations: 7.126 MB / 1.005 GB, free: 1.156 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe 2>&1)