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 1.899/1.899, allocations: 287.5 MB / 302.6 MB, free: 8.262 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.00114/0.00114, allocations: 181.4 kB / 371.2 MB, free: 10.82 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.643/1.643, allocations: 205.4 MB / 0.6298 GB, free: 10.56 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.0009748/0.0009748, allocations: 100.5 kB / 0.7432 GB, free: 6.551 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004989/0.0004994, allocations: 11.31 kB / 0.8661 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2115/0.212, allocations: 115.3 MB / 0.9787 GB, free: 28.15 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable): time 0.002174/0.2142, allocations: 2.068 MB / 0.9807 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001928/0.2162, allocations: 1.391 MB / 0.9821 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002573/0.2164, allocations: 7.938 kB / 0.9821 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0005232/0.217, allocations: 299.1 kB / 0.9824 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0005313/0.2175, allocations: 271 kB / 0.9826 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007522/0.2183, allocations: 330.9 kB / 0.983 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0006362/0.2189, allocations: 0.5957 MB / 0.9835 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002011/0.2192, allocations: 73.72 kB / 0.9836 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003905/0.2196, allocations: 274.7 kB / 0.9839 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003082/0.2199, allocations: 278.8 kB / 0.9841 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 6.896e-05/0.2199, allocations: 12 kB / 0.9841 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001823/0.2201, allocations: 63.97 kB / 0.9842 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001393/0.2203, allocations: 167.4 kB / 0.9844 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 9.236e-05/0.2204, allocations: 129.3 kB / 0.9845 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004267/0.2208, allocations: 0.573 MB / 0.985 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.2208, allocations: 7.984 kB / 0.9851 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.633e-06/0.2208, allocations: 0 / 0.9851 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.692e-05/0.2209, allocations: 0 / 0.9851 GB, free: 21.62 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.001235/0.2221, allocations: 0.8965 MB / 0.9859 GB, free: 20.67 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.302e-05/0.2221, allocations: 8.031 kB / 0.9859 GB, free: 20.66 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001216/0.2223, allocations: 72 kB / 0.986 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000773/0.2231, allocations: 0.6249 MB / 0.9866 GB, free: 19.93 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.114e-05/0.2231, allocations: 16.31 kB / 0.9866 GB, free: 19.91 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.025e-05/0.2231, allocations: 15.94 kB / 0.9866 GB, free: 19.89 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000325/0.2235, allocations: 203.1 kB / 0.9868 GB, free: 19.68 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.2235, allocations: 0 / 0.9868 GB, free: 19.68 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.999e-05/0.2235, allocations: 7.984 kB / 0.9868 GB, free: 19.67 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.601e-06/0.2235, allocations: 4 kB / 0.9869 GB, free: 19.66 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002152/0.2237, allocations: 95.88 kB / 0.9869 GB, free: 19.57 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001218/0.225, allocations: 1.063 MB / 0.988 GB, free: 18.44 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005015/0.2255, allocations: 281 kB / 0.9883 GB, free: 18.12 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001813/0.2257, allocations: 104.2 kB / 0.9884 GB, free: 18 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.541e-05/0.2257, allocations: 7.984 kB / 0.9884 GB, free: 18 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003365/0.2261, allocations: 223.4 kB / 0.9886 GB, free: 17.75 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=25): time 2.214e-06/0.2261, allocations: 0 / 0.9886 GB, free: 17.75 MB / 0.6198 GB Notification: Performance of matching and sorting (n=25): time 0.0008123/0.2269, allocations: 420.5 kB / 0.989 GB, free: 17.33 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.297e-05/0.2269, allocations: 174.1 kB / 0.9891 GB, free: 17.12 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001048/0.228, allocations: 1.024 MB / 0.9901 GB, free: 16.09 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.64e-05/0.228, allocations: 33.7 kB / 0.9902 GB, free: 16.05 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001919/0.2282, allocations: 292.8 kB / 0.9904 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 7.338e-05/0.2283, allocations: 75.09 kB / 0.9905 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.445e-05/0.2284, allocations: 16 kB / 0.9905 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.738e-05/0.2284, allocations: 330 kB / 0.9909 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003525/0.2288, allocations: 205.2 kB / 0.991 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003731/0.2292, allocations: 303 kB / 0.9913 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000602/0.2298, allocations: 415.3 kB / 0.9917 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/0.2298, allocations: 4 kB / 0.9917 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001051/0.2309, allocations: 0.6511 MB / 0.9924 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/0.2309, allocations: 8 kB / 0.9924 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/0.2309, allocations: 3.938 kB / 0.9924 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.482e-05/0.231, allocations: 8.156 kB / 0.9924 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003854/0.2313, allocations: 123.8 kB / 0.9925 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.747e-05/0.2314, allocations: 7.938 kB / 0.9925 GB, free: 13.58 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003433/0.2317, allocations: 48.92 kB / 0.9926 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.332e-05/0.2318, allocations: 27.98 kB / 0.9926 GB, free: 13.51 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.0003081/0.2321, allocations: 277.6 kB / 0.9929 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.749e-05/0.2322, allocations: 75.06 kB / 0.9929 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001101/0.2323, allocations: 77.88 kB / 0.993 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.648e-06/0.2323, allocations: 4 kB / 0.993 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/0.2323, allocations: 3.938 kB / 0.993 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.2323, allocations: 0 / 0.993 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004197/0.2328, allocations: 465.1 kB / 0.9935 GB, free: 12.56 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.653e-06/0.2328, allocations: 4 kB / 0.9935 GB, free: 12.56 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.351e-05/0.2329, allocations: 27.92 kB / 0.9935 GB, free: 12.53 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.247e-06/0.2329, allocations: 0 / 0.9935 GB, free: 12.53 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.221e-05/0.2329, allocations: 7.984 kB / 0.9935 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.2329, allocations: 4 kB / 0.9935 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.2329, allocations: 3.938 kB / 0.9935 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005542/0.2335, allocations: 391.4 kB / 0.9939 GB, free: 12.1 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001646/0.2336, allocations: 160.2 kB / 0.994 GB, free: 11.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.024e-05/0.2337, allocations: 15.98 kB / 0.994 GB, free: 11.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001825/0.2339, allocations: 19.98 kB / 0.9941 GB, free: 11.89 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.641e-05/0.234, allocations: 27.91 kB / 0.9941 GB, free: 11.86 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.459e-05/0.234, allocations: 15.98 kB / 0.9941 GB, free: 11.85 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0006861/0.2347, allocations: 0.6005 MB / 0.9947 GB, free: 11.25 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2.2e-07/0.2347, allocations: 0 / 0.9947 GB, free: 11.25 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004147/0.2352, allocations: 111.9 kB / 0.9948 GB, free: 11.14 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.001025/0.2362, allocations: 0.4888 MB / 0.9953 GB, free: 10.83 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0007411/0.237, allocations: 403.5 kB / 0.9957 GB, free: 10.43 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.237, allocations: 0 / 0.9957 GB, free: 10.43 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002127/0.2372, allocations: 103.9 kB / 0.9958 GB, free: 10.33 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000916/0.2381, allocations: 192.9 kB / 0.9959 GB, free: 10.15 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001494/0.2396, allocations: 1.183 MB / 0.9971 GB, free: 8.926 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003521/0.24, allocations: 0.9249 MB / 0.998 GB, free: 7.973 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002774/0.2403, allocations: 113.5 kB / 0.9981 GB, free: 7.859 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001207/0.2404, allocations: 59.42 kB / 0.9982 GB, free: 7.801 MB / 0.6198 GB Notification: Performance of SimCode: time 4.81e-07/0.2404, allocations: 0 / 0.9982 GB, free: 7.801 MB / 0.6198 GB Notification: Performance of Templates: time 0.0116/0.252, allocations: 7.129 MB / 1.005 GB, free: 0.7266 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)