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.776/1.776, allocations: 288.4 MB / 303.4 MB, free: 8.176 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.001266/0.001266, allocations: 180.5 kB / 372 MB, free: 10.26 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.67/1.67, allocations: 205.4 MB / 0.6307 GB, free: 9.906 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.0008538/0.0008538, allocations: 93.81 kB / 0.7441 GB, free: 5.848 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003664/0.0003665, allocations: 13.06 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1992/0.1996, allocations: 115.3 MB / 0.9796 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable): time 0.002954/0.2026, allocations: 2.069 MB / 0.9816 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002465/0.2051, allocations: 1.398 MB / 0.983 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002318/0.2053, allocations: 11.88 kB / 0.983 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0006674/0.206, allocations: 299.2 kB / 0.9833 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0006157/0.2067, allocations: 263 kB / 0.9835 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001057/0.2077, allocations: 326.1 kB / 0.9839 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0006652/0.2084, allocations: 0.5918 MB / 0.9844 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002087/0.2086, allocations: 73.72 kB / 0.9845 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003876/0.209, allocations: 278.7 kB / 0.9848 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003227/0.2094, allocations: 278.8 kB / 0.985 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.666e-05/0.2094, allocations: 15.94 kB / 0.985 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002137/0.2097, allocations: 59.98 kB / 0.9851 GB, free: 21.97 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.000185/0.2099, allocations: 167.4 kB / 0.9853 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.000106/0.21, allocations: 121.3 kB / 0.9854 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005246/0.2105, allocations: 0.577 MB / 0.9859 GB, free: 21.1 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.2105, allocations: 0 / 0.9859 GB, free: 21.1 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.392e-06/0.2105, allocations: 0 / 0.9859 GB, free: 21.1 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.456e-06/0.2106, allocations: 0 / 0.9859 GB, free: 21.1 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.001476/0.212, allocations: 0.9097 MB / 0.9868 GB, free: 20.14 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.2121, allocations: 11.97 kB / 0.9868 GB, free: 20.13 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001303/0.2122, allocations: 75.02 kB / 0.9869 GB, free: 20.05 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001029/0.2133, allocations: 0.5853 MB / 0.9875 GB, free: 19.43 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.173e-05/0.2133, allocations: 19.92 kB / 0.9875 GB, free: 19.41 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.59e-05/0.2134, allocations: 12 kB / 0.9875 GB, free: 19.39 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004755/0.2138, allocations: 202.7 kB / 0.9877 GB, free: 19.18 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.518e-05/0.2139, allocations: 0 / 0.9877 GB, free: 19.18 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.072e-05/0.2139, allocations: 4 kB / 0.9877 GB, free: 19.17 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/0.2139, allocations: 4 kB / 0.9877 GB, free: 19.17 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003236/0.2143, allocations: 95.88 kB / 0.9878 GB, free: 19.07 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001454/0.2157, allocations: 1.06 MB / 0.9888 GB, free: 17.95 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007089/0.2165, allocations: 281 kB / 0.9891 GB, free: 17.63 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002699/0.2167, allocations: 104.2 kB / 0.9892 GB, free: 17.51 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.719e-05/0.2168, allocations: 7.984 kB / 0.9892 GB, free: 17.5 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004788/0.2173, allocations: 239.2 kB / 0.9894 GB, free: 17.24 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=25): time 2.535e-06/0.2173, allocations: 4 kB / 0.9895 GB, free: 17.24 MB / 0.6198 GB Notification: Performance of matching and sorting (n=25): time 0.001159/0.2185, allocations: 413.6 kB / 0.9898 GB, free: 16.83 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.751e-05/0.2185, allocations: 162.2 kB / 0.99 GB, free: 16.63 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008756/0.2194, allocations: 1.024 MB / 0.991 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.501e-05/0.2195, allocations: 41.7 kB / 0.991 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001644/0.2196, allocations: 280.9 kB / 0.9913 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.929e-05/0.2197, allocations: 79.08 kB / 0.9914 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.2e-05/0.2197, allocations: 12 kB / 0.9914 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.036e-05/0.2198, allocations: 330 kB / 0.9917 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004048/0.2202, allocations: 209.2 kB / 0.9919 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005228/0.2207, allocations: 315 kB / 0.9922 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005447/0.2213, allocations: 233.1 kB / 0.9924 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.93e-06/0.2213, allocations: 4 kB / 0.9924 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001368/0.2227, allocations: 0.6677 MB / 0.9931 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.122e-05/0.2227, allocations: 15.89 kB / 0.9931 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.757e-06/0.2227, allocations: 0 / 0.9931 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.931e-05/0.2228, allocations: 8 kB / 0.9931 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005602/0.2233, allocations: 119.9 kB / 0.9932 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.337e-05/0.2233, allocations: 8 kB / 0.9932 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003948/0.2238, allocations: 39.77 kB / 0.9933 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.351e-05/0.2238, allocations: 28.11 kB / 0.9933 GB, free: 13.2 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.0003534/0.2242, allocations: 273.6 kB / 0.9936 GB, free: 12.92 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001064/0.2243, allocations: 71.06 kB / 0.9936 GB, free: 12.85 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001312/0.2244, allocations: 81.83 kB / 0.9937 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.2245, allocations: 4 kB / 0.9937 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.2245, allocations: 4 kB / 0.9937 GB, free: 12.76 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.2245, allocations: 3.984 kB / 0.9937 GB, free: 12.76 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004781/0.225, allocations: 465.1 kB / 0.9942 GB, free: 12.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.225, allocations: 4 kB / 0.9942 GB, free: 12.25 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.995e-05/0.2251, allocations: 27.92 kB / 0.9942 GB, free: 12.22 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.87e-06/0.2251, allocations: 3.984 kB / 0.9942 GB, free: 12.22 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.349e-05/0.2251, allocations: 4 kB / 0.9942 GB, free: 12.21 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.548e-06/0.2251, allocations: 7.953 kB / 0.9942 GB, free: 12.21 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.2252, allocations: 3.984 kB / 0.9942 GB, free: 12.2 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007599/0.2259, allocations: 387.4 kB / 0.9946 GB, free: 11.79 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001807/0.2261, allocations: 168.1 kB / 0.9947 GB, free: 11.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001043/0.2262, allocations: 19.98 kB / 0.9948 GB, free: 11.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002743/0.2265, allocations: 19.94 kB / 0.9948 GB, free: 11.57 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.894e-05/0.2266, allocations: 23.97 kB / 0.9948 GB, free: 11.55 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.499e-05/0.2267, allocations: 20 kB / 0.9948 GB, free: 11.53 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0009252/0.2276, allocations: 0.5966 MB / 0.9954 GB, free: 10.93 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.9e-07/0.2276, allocations: 0 / 0.9954 GB, free: 10.93 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0006059/0.2282, allocations: 116 kB / 0.9955 GB, free: 10.82 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.001422/0.2297, allocations: 490.3 kB / 0.996 GB, free: 10.5 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001046/0.2307, allocations: 399.6 kB / 0.9964 GB, free: 10.11 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.2307, allocations: 3.938 kB / 0.9964 GB, free: 10.11 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003292/0.2311, allocations: 107.8 kB / 0.9965 GB, free: 10 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001263/0.2324, allocations: 189.9 kB / 0.9966 GB, free: 9.82 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001949/0.2343, allocations: 1.192 MB / 0.9978 GB, free: 8.59 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004294/0.2348, allocations: 0.9211 MB / 0.9987 GB, free: 7.641 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.000351/0.2351, allocations: 108.9 kB / 0.9988 GB, free: 7.531 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001793/0.2353, allocations: 59.41 kB / 0.9989 GB, free: 7.473 MB / 0.6198 GB Notification: Performance of SimCode: time 4.61e-07/0.2354, allocations: 0 / 0.9989 GB, free: 7.473 MB / 0.6198 GB Notification: Performance of Templates: time 0.01659/0.2519, allocations: 7.135 MB / 1.006 GB, free: 416 kB / 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)