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 3.359/3.359, allocations: 287.3 MB / 302.3 MB, free: 8.316 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.001528/0.001528, allocations: 182.2 kB / 370.8 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.423/2.423, allocations: 205.4 MB / 0.6295 GB, free: 10.6 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.001181/0.001181, allocations: 101.5 kB / 0.7428 GB, free: 6.609 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007023/0.0007026, allocations: 13.16 kB / 0.8657 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2183/0.2191, allocations: 115.3 MB / 0.9782 GB, free: 28.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable): time 0.003096/0.2222, allocations: 2.042 MB / 0.9802 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003256/0.2255, allocations: 1.355 MB / 0.9815 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003479/0.2259, allocations: 11.88 kB / 0.9816 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0007117/0.2267, allocations: 291.1 kB / 0.9818 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0008477/0.2275, allocations: 275.3 kB / 0.9821 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001275/0.2288, allocations: 321.7 kB / 0.9824 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0009509/0.2298, allocations: 447 kB / 0.9828 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002672/0.2301, allocations: 69.73 kB / 0.9829 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005967/0.2307, allocations: 298.9 kB / 0.9832 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003898/0.2311, allocations: 250.9 kB / 0.9834 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 6.647e-05/0.2312, allocations: 12 kB / 0.9834 GB, free: 23 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002765/0.2315, allocations: 55.92 kB / 0.9835 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001968/0.2317, allocations: 167.4 kB / 0.9836 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.000132/0.2318, allocations: 125.3 kB / 0.9838 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0007243/0.2326, allocations: 0.577 MB / 0.9843 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.886e-06/0.2326, allocations: 3.938 kB / 0.9843 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.505e-06/0.2326, allocations: 0 / 0.9843 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.257e-06/0.2326, allocations: 0 / 0.9843 GB, free: 22.07 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.001893/0.2345, allocations: 0.9078 MB / 0.9852 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.526e-05/0.2346, allocations: 8.031 kB / 0.9852 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001617/0.2348, allocations: 75.02 kB / 0.9853 GB, free: 21.03 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001361/0.2361, allocations: 0.5892 MB / 0.9859 GB, free: 20.4 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.66e-05/0.2362, allocations: 15.94 kB / 0.9859 GB, free: 20.38 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.016e-05/0.2363, allocations: 15.98 kB / 0.9859 GB, free: 20.37 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005567/0.2368, allocations: 199.1 kB / 0.9861 GB, free: 20.15 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.2369, allocations: 3.938 kB / 0.9861 GB, free: 20.15 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.42e-05/0.2369, allocations: 8 kB / 0.9861 GB, free: 20.14 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.735e-06/0.2369, allocations: 0 / 0.9861 GB, free: 20.14 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003805/0.2373, allocations: 103.8 kB / 0.9862 GB, free: 20.04 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001942/0.2393, allocations: 1.048 MB / 0.9872 GB, free: 18.93 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009136/0.2403, allocations: 281.3 kB / 0.9875 GB, free: 18.61 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.712e-05/0.2403, allocations: 4 kB / 0.9875 GB, free: 18.6 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005576/0.2409, allocations: 235.3 kB / 0.9877 GB, free: 18.34 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=25): time 3.266e-06/0.2409, allocations: 0 / 0.9877 GB, free: 18.34 MB / 0.6198 GB Notification: Performance of matching and sorting (n=25): time 0.001559/0.2425, allocations: 421.7 kB / 0.9881 GB, free: 17.93 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.335e-05/0.2426, allocations: 174.1 kB / 0.9883 GB, free: 17.72 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001806/0.2444, allocations: 1.02 MB / 0.9893 GB, free: 16.69 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.072e-05/0.2446, allocations: 33.7 kB / 0.9893 GB, free: 16.65 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.000272/0.2448, allocations: 288.9 kB / 0.9896 GB, free: 16.37 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001142/0.245, allocations: 79.08 kB / 0.9897 GB, free: 16.29 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.073e-05/0.245, allocations: 12 kB / 0.9897 GB, free: 16.28 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.408e-05/0.2451, allocations: 330 kB / 0.99 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006283/0.2458, allocations: 209.2 kB / 0.9902 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006737/0.2465, allocations: 295 kB / 0.9905 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006776/0.2472, allocations: 248.6 kB / 0.9907 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/0.2472, allocations: 0 / 0.9907 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001948/0.2491, allocations: 0.6675 MB / 0.9914 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.298e-05/0.2492, allocations: 4 kB / 0.9914 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.5e-05/0.2493, allocations: 8.156 kB / 0.9914 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.068e-05/0.2493, allocations: 4 kB / 0.9914 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008191/0.2501, allocations: 115.8 kB / 0.9915 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.71e-05/0.2502, allocations: 4 kB / 0.9915 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006226/0.2508, allocations: 43.77 kB / 0.9915 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.695e-05/0.2509, allocations: 31.92 kB / 0.9916 GB, free: 14.31 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.0005279/0.2514, allocations: 273.6 kB / 0.9918 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002091/0.2517, allocations: 83.02 kB / 0.9919 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001739/0.2518, allocations: 77.81 kB / 0.992 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.446e-06/0.2519, allocations: 4 kB / 0.992 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.689e-06/0.2519, allocations: 0 / 0.992 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.298e-06/0.2519, allocations: 4 kB / 0.992 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005911/0.2525, allocations: 465.1 kB / 0.9924 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/0.2525, allocations: 3.938 kB / 0.9924 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001464/0.2527, allocations: 23.98 kB / 0.9925 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.538e-06/0.2527, allocations: 0 / 0.9925 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.411e-05/0.2527, allocations: 15.94 kB / 0.9925 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.55e-06/0.2528, allocations: 4 kB / 0.9925 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.861e-06/0.2528, allocations: 7.938 kB / 0.9925 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001173/0.254, allocations: 438.3 kB / 0.9929 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002696/0.2543, allocations: 168.1 kB / 0.9931 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001264/0.2544, allocations: 8 kB / 0.9931 GB, free: 12.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003411/0.2548, allocations: 19.98 kB / 0.9931 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001028/0.2549, allocations: 31.86 kB / 0.9931 GB, free: 12.58 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.538e-05/0.2549, allocations: 15.98 kB / 0.9931 GB, free: 12.56 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.001123/0.2561, allocations: 0.6005 MB / 0.9937 GB, free: 11.96 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7.71e-07/0.2561, allocations: 0 / 0.9937 GB, free: 11.96 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000792/0.2569, allocations: 108 kB / 0.9938 GB, free: 11.86 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.001734/0.2587, allocations: 490.8 kB / 0.9943 GB, free: 11.56 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001308/0.26, allocations: 403.5 kB / 0.9947 GB, free: 11.16 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.2601, allocations: 4 kB / 0.9947 GB, free: 11.16 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003806/0.2604, allocations: 96.22 kB / 0.9948 GB, free: 11.07 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001392/0.2618, allocations: 195.8 kB / 0.995 GB, free: 10.88 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002337/0.2642, allocations: 1.183 MB / 0.9961 GB, free: 9.656 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004566/0.2647, allocations: 0.9406 MB / 0.997 GB, free: 8.688 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0005017/0.2652, allocations: 116.9 kB / 0.9971 GB, free: 8.57 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002169/0.2655, allocations: 59.42 kB / 0.9972 GB, free: 8.512 MB / 0.6198 GB Notification: Performance of SimCode: time 1.122e-06/0.2655, allocations: 0 / 0.9972 GB, free: 8.512 MB / 0.6198 GB Notification: Performance of Templates: time 0.02134/0.2868, allocations: 7.114 MB / 1.004 GB, free: 1.449 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)