Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001247/0.001247, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00138/0.00138, allocations: 190.7 kB / 16.25 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.573/1.573, allocations: 205.1 MB / 222.1 MB, free: 4.691 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.752/1.752, allocations: 292.2 MB / 0.5485 GB, free: 13.65 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001426/0.001426, allocations: 68.92 kB / 0.671 GB, free: 26.34 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2708/0.2723, allocations: 114.6 MB / 0.7829 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable): time 0.004116/0.2764, allocations: 2.506 MB / 0.7853 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002569/0.279, allocations: 1.452 MB / 0.7868 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001988/0.2793, allocations: 11.88 kB / 0.7868 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0007266/0.28, allocations: 303.2 kB / 0.7871 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0005723/0.2806, allocations: 306.9 kB / 0.7873 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000865/0.2815, allocations: 369.7 kB / 0.7877 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0007078/0.2822, allocations: 0.7012 MB / 0.7884 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001902/0.2824, allocations: 81.7 kB / 0.7885 GB, free: 8.152 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004293/0.2828, allocations: 334.5 kB / 0.7888 GB, free: 7.824 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003376/0.2832, allocations: 330.7 kB / 0.7891 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.559e-05/0.2833, allocations: 32 kB / 0.7891 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000211/0.2835, allocations: 91.89 kB / 0.7892 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001742/0.2837, allocations: 195.3 kB / 0.7894 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002511/0.2839, allocations: 274.2 kB / 0.7897 GB, free: 6.918 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0007085/0.2846, allocations: 0.7319 MB / 0.7904 GB, free: 6.184 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.2846, allocations: 0 / 0.7904 GB, free: 6.184 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.894e-06/0.2847, allocations: 0 / 0.7904 GB, free: 6.184 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.636e-06/0.2847, allocations: 0 / 0.7904 GB, free: 6.184 MB / 0.6075 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.001538/0.2862, allocations: 1.011 MB / 0.7914 GB, free: 5.121 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.2863, allocations: 8.031 kB / 0.7914 GB, free: 5.113 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001351/0.2864, allocations: 72 kB / 0.7914 GB, free: 5.043 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008761/0.2873, allocations: 0.6327 MB / 0.7921 GB, free: 4.367 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.972e-05/0.2873, allocations: 8.375 kB / 0.7921 GB, free: 4.359 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.203e-05/0.2873, allocations: 11.94 kB / 0.7921 GB, free: 4.348 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003912/0.2877, allocations: 209.7 kB / 0.7923 GB, free: 4.125 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.2878, allocations: 0 / 0.7923 GB, free: 4.125 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.157e-05/0.2878, allocations: 4 kB / 0.7923 GB, free: 4.121 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.2878, allocations: 4 kB / 0.7923 GB, free: 4.117 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002504/0.2881, allocations: 95.88 kB / 0.7924 GB, free: 4.023 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001345/0.2894, allocations: 1.052 MB / 0.7934 GB, free: 2.906 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005998/0.29, allocations: 284.9 kB / 0.7937 GB, free: 2.582 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002096/0.2902, allocations: 104.2 kB / 0.7938 GB, free: 2.465 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.146e-05/0.2903, allocations: 8 kB / 0.7938 GB, free: 2.457 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004015/0.2907, allocations: 219.4 kB / 0.794 GB, free: 2.215 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=25): time 1.914e-06/0.2907, allocations: 0 / 0.794 GB, free: 2.215 MB / 0.6075 GB Notification: Performance of matching and sorting (n=25): time 0.000953/0.2917, allocations: 429.6 kB / 0.7944 GB, free: 1.789 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000104/0.2918, allocations: 170.1 kB / 0.7946 GB, free: 1.586 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001192/0.293, allocations: 1.028 MB / 0.7956 GB, free: 0.5508 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.677e-05/0.293, allocations: 33.7 kB / 0.7956 GB, free: 0.5117 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002676/0.2933, allocations: 288.8 kB / 0.7959 GB, free: 228 kB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 8.999e-05/0.2934, allocations: 87.08 kB / 0.796 GB, free: 140 kB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002381/0.2937, allocations: 146.2 kB / 0.7961 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001446/0.2938, allocations: 326 kB / 0.7964 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003695/0.2942, allocations: 209.2 kB / 0.7966 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004205/0.2946, allocations: 307 kB / 0.7969 GB, free: 15.12 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006445/0.2953, allocations: 419 kB / 0.7973 GB, free: 14.69 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.2953, allocations: 0 / 0.7973 GB, free: 14.69 MB / 0.6231 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001126/0.2964, allocations: 0.6726 MB / 0.798 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/0.2964, allocations: 6.656 kB / 0.798 GB, free: 14.01 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.2964, allocations: 4.156 kB / 0.798 GB, free: 14.01 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.2965, allocations: 8 kB / 0.798 GB, free: 14 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004314/0.2969, allocations: 115.8 kB / 0.7981 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.801e-05/0.2969, allocations: 11.94 kB / 0.7981 GB, free: 13.88 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003076/0.2972, allocations: 39.67 kB / 0.7981 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.484e-05/0.2973, allocations: 31.92 kB / 0.7982 GB, free: 13.8 MB / 0.6231 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 ($PRE.timTabLin.tab.nextTimeEvent,$whenCondition5,$PRE.timTabLinHol.tab.nextTimeEvent,$whenCondition4,$PRE.timTabLinDer.tab.nextTimeEvent,$whenCondition3,$PRE.timTabCon.tab.nextTimeEvent,$whenCondition2,$PRE.timTabLinCon.tab.nextTimeEvent,$whenCondition1,timTabLinCon.tab.nextTimeEventScaled,$PRE.timTabLinCon.tab.nextTimeEventScaled,timTabLinCon.tab.nextTimeEvent,timTabCon.tab.nextTimeEventScaled,$PRE.timTabCon.tab.nextTimeEventScaled,timTabCon.tab.nextTimeEvent,timTabLinDer.tab.nextTimeEventScaled,$PRE.timTabLinDer.tab.nextTimeEventScaled,timTabLinDer.tab.nextTimeEvent,timTabLinHol.tab.nextTimeEventScaled,$PRE.timTabLinHol.tab.nextTimeEventScaled,timTabLinHol.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000322/0.2976, allocations: 265.7 kB / 0.7984 GB, free: 13.54 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000106/0.2978, allocations: 75.05 kB / 0.7985 GB, free: 13.46 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001103/0.2979, allocations: 77.89 kB / 0.7986 GB, free: 13.38 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.2979, allocations: 4 kB / 0.7986 GB, free: 13.38 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.498e-06/0.2979, allocations: 3.938 kB / 0.7986 GB, free: 13.37 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.2979, allocations: 0 / 0.7986 GB, free: 13.37 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004768/0.2984, allocations: 473 kB / 0.799 GB, free: 12.86 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.2984, allocations: 4 kB / 0.799 GB, free: 12.86 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.465e-05/0.2985, allocations: 19.94 kB / 0.799 GB, free: 12.84 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.2985, allocations: 0 / 0.799 GB, free: 12.84 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.297e-05/0.2985, allocations: 8.047 kB / 0.7991 GB, free: 12.83 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.747e-05/0.2985, allocations: 8 kB / 0.7991 GB, free: 12.82 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/0.2985, allocations: 3.938 kB / 0.7991 GB, free: 12.82 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006493/0.2992, allocations: 397.1 kB / 0.7994 GB, free: 12.4 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001488/0.2994, allocations: 152.2 kB / 0.7996 GB, free: 12.23 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.872e-05/0.2994, allocations: 20 kB / 0.7996 GB, free: 12.21 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001656/0.2996, allocations: 15.97 kB / 0.7996 GB, free: 12.2 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.369e-05/0.2997, allocations: 23.91 kB / 0.7996 GB, free: 12.18 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.278e-05/0.2997, allocations: 19.98 kB / 0.7997 GB, free: 12.16 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.000728/0.3005, allocations: 0.6005 MB / 0.8002 GB, free: 11.56 MB / 0.6231 GB Notification: Performance of sort global known variables: time 3.81e-07/0.3005, allocations: 0 / 0.8002 GB, free: 11.56 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004595/0.3009, allocations: 115.9 kB / 0.8004 GB, free: 11.45 MB / 0.6231 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001248/0.3022, allocations: 478.7 kB / 0.8008 GB, free: 11.16 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0008713/0.3031, allocations: 418.3 kB / 0.8012 GB, free: 10.75 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.3031, allocations: 0 / 0.8012 GB, free: 10.75 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002399/0.3033, allocations: 112.2 kB / 0.8013 GB, free: 10.64 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009249/0.3043, allocations: 219.8 kB / 0.8015 GB, free: 10.45 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001936/0.3062, allocations: 1.241 MB / 0.8027 GB, free: 9.164 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006731/0.3069, allocations: 0.9246 MB / 0.8036 GB, free: 8.211 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0003433/0.3073, allocations: 120.9 kB / 0.8038 GB, free: 8.09 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001419/0.3074, allocations: 55.42 kB / 0.8038 GB, free: 8.039 MB / 0.6231 GB Notification: Performance of SimCode: time 2.6e-07/0.3074, allocations: 7.875 kB / 0.8038 GB, free: 8.031 MB / 0.6231 GB Notification: Performance of Templates: time 0.01453/0.322, allocations: 7.676 MB / 0.8113 GB, free: 460 kB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe 2>&1)