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.917/1.917, allocations: 288.4 MB / 303.6 MB, free: 8.105 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.0009572/0.000957, allocations: 183.2 kB / 372.3 MB, free: 10.13 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.681/1.681, allocations: 205.4 MB / 0.631 GB, free: 9.895 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.0009014/0.0009018, allocations: 97.22 kB / 0.7444 GB, free: 5.812 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004509/0.0004509, allocations: 18.34 kB / 0.8675 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2918/0.2923, allocations: 115.3 MB / 0.9802 GB, free: 27.33 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable): time 0.00331/0.2957, allocations: 2.065 MB / 0.9822 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002717/0.2985, allocations: 1.394 MB / 0.9835 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002377/0.2988, allocations: 11.88 kB / 0.9835 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0006303/0.2994, allocations: 295.2 kB / 0.9838 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0004959/0.2999, allocations: 271 kB / 0.9841 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008645/0.3008, allocations: 331.5 kB / 0.9844 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0005864/0.3014, allocations: 0.5918 MB / 0.985 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002092/0.3016, allocations: 81.72 kB / 0.9851 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002846/0.3019, allocations: 266.7 kB / 0.9853 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002563/0.3021, allocations: 282.8 kB / 0.9856 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.961e-05/0.3022, allocations: 12 kB / 0.9856 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000182/0.3024, allocations: 59.98 kB / 0.9857 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001427/0.3025, allocations: 171.4 kB / 0.9858 GB, free: 21.51 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.00019/0.3027, allocations: 264 kB / 0.9861 GB, free: 21.24 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000487/0.3032, allocations: 0.5886 MB / 0.9866 GB, free: 20.65 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.3032, allocations: 0 / 0.9866 GB, free: 20.65 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.252e-06/0.3033, allocations: 0 / 0.9866 GB, free: 20.65 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.845e-06/0.3033, allocations: 0 / 0.9866 GB, free: 20.65 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.001236/0.3045, allocations: 0.8963 MB / 0.9875 GB, free: 19.71 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.477e-05/0.3046, allocations: 12.03 kB / 0.9875 GB, free: 19.7 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000103/0.3047, allocations: 76 kB / 0.9876 GB, free: 19.62 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007478/0.3054, allocations: 0.621 MB / 0.9882 GB, free: 18.96 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.035e-05/0.3055, allocations: 16.3 kB / 0.9882 GB, free: 18.94 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.112e-05/0.3055, allocations: 15.94 kB / 0.9882 GB, free: 18.93 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003516/0.3059, allocations: 197.8 kB / 0.9884 GB, free: 18.71 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/0.3059, allocations: 3.938 kB / 0.9884 GB, free: 18.71 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.135e-05/0.3059, allocations: 4 kB / 0.9884 GB, free: 18.7 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.3059, allocations: 0 / 0.9884 GB, free: 18.7 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002195/0.3062, allocations: 99.88 kB / 0.9885 GB, free: 18.61 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001179/0.3073, allocations: 1.063 MB / 0.9896 GB, free: 17.48 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005018/0.3079, allocations: 277 kB / 0.9898 GB, free: 17.16 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001773/0.308, allocations: 104.2 kB / 0.9899 GB, free: 17.04 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.974e-05/0.3081, allocations: 7.984 kB / 0.9899 GB, free: 17.04 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003383/0.3084, allocations: 219.4 kB / 0.9902 GB, free: 16.79 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=25): time 2.284e-06/0.3085, allocations: 0 / 0.9902 GB, free: 16.79 MB / 0.6198 GB Notification: Performance of matching and sorting (n=25): time 0.0008144/0.3093, allocations: 425.5 kB / 0.9906 GB, free: 16.37 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.616e-05/0.3093, allocations: 166.1 kB / 0.9907 GB, free: 16.17 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009789/0.3103, allocations: 1.036 MB / 0.9917 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.796e-05/0.3104, allocations: 33.7 kB / 0.9918 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001843/0.3106, allocations: 284.9 kB / 0.992 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.614e-05/0.3106, allocations: 79.08 kB / 0.9921 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.205e-05/0.3107, allocations: 12 kB / 0.9921 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.465e-05/0.3107, allocations: 334 kB / 0.9924 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003203/0.3111, allocations: 209.2 kB / 0.9926 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003323/0.3114, allocations: 299 kB / 0.9929 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005302/0.3119, allocations: 413.7 kB / 0.9933 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.312, allocations: 0 / 0.9933 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0009006/0.3129, allocations: 0.6685 MB / 0.994 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.181e-05/0.3129, allocations: 5.719 kB / 0.994 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.3129, allocations: 7.938 kB / 0.994 GB, free: 12.74 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.187e-05/0.3129, allocations: 4 kB / 0.994 GB, free: 12.74 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000379/0.3133, allocations: 116 kB / 0.9941 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.238e-05/0.3133, allocations: 15.92 kB / 0.9941 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00031/0.3137, allocations: 51.67 kB / 0.9942 GB, free: 12.56 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.918e-05/0.3137, allocations: 27.92 kB / 0.9942 GB, free: 12.53 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.0003016/0.314, allocations: 277.6 kB / 0.9945 GB, free: 12.25 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.806e-05/0.3141, allocations: 71.06 kB / 0.9945 GB, free: 12.18 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001087/0.3142, allocations: 69.89 kB / 0.9946 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.3142, allocations: 8 kB / 0.9946 GB, free: 12.1 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.043e-05/0.3143, allocations: 7.938 kB / 0.9946 GB, free: 12.09 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.902e-06/0.3143, allocations: 3.984 kB / 0.9946 GB, free: 12.09 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004198/0.3147, allocations: 461.1 kB / 0.995 GB, free: 11.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.245e-06/0.3147, allocations: 0 / 0.995 GB, free: 11.59 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.437e-05/0.3148, allocations: 23.92 kB / 0.9951 GB, free: 11.57 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.14e-06/0.3148, allocations: 4 kB / 0.9951 GB, free: 11.56 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.298e-05/0.3148, allocations: 8 kB / 0.9951 GB, free: 11.55 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.045e-06/0.3148, allocations: 192 / 0.9951 GB, free: 11.55 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.244e-06/0.3148, allocations: 11.94 kB / 0.9951 GB, free: 11.54 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005992/0.3154, allocations: 387.4 kB / 0.9955 GB, free: 11.13 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001409/0.3156, allocations: 168.2 kB / 0.9956 GB, free: 10.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.03e-05/0.3157, allocations: 8 kB / 0.9956 GB, free: 10.94 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001645/0.3158, allocations: 27.97 kB / 0.9957 GB, free: 10.91 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.101e-05/0.3159, allocations: 23.91 kB / 0.9957 GB, free: 10.89 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.222e-05/0.316, allocations: 12 kB / 0.9957 GB, free: 10.88 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0006135/0.3166, allocations: 0.6005 MB / 0.9963 GB, free: 10.28 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3166, allocations: 0 / 0.9963 GB, free: 10.28 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003998/0.317, allocations: 111.9 kB / 0.9964 GB, free: 10.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.001203/0.3182, allocations: 499.6 kB / 0.9969 GB, free: 9.832 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006937/0.3189, allocations: 395.6 kB / 0.9972 GB, free: 9.445 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.3189, allocations: 0 / 0.9972 GB, free: 9.445 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002246/0.3191, allocations: 108.3 kB / 0.9973 GB, free: 9.34 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000944/0.3201, allocations: 198.5 kB / 0.9975 GB, free: 9.152 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00147/0.3216, allocations: 1.183 MB / 0.9987 GB, free: 7.93 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003526/0.3219, allocations: 0.9327 MB / 0.9996 GB, free: 6.969 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002958/0.3222, allocations: 108.9 kB / 0.9997 GB, free: 6.859 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001228/0.3224, allocations: 59.41 kB / 0.9998 GB, free: 6.801 MB / 0.6198 GB Notification: Performance of SimCode: time 9.41e-07/0.3224, allocations: 0 / 0.9998 GB, free: 6.801 MB / 0.6198 GB Notification: Performance of Templates: time 0.01227/0.3347, allocations: 7.186 MB / 1.007 GB, free: 15.68 MB / 0.6355 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)