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.001118/0.001118, allocations: 105.2 kB / 15.99 MB, free: 6.348 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.001108/0.001108, allocations: 191.3 kB / 16.91 MB, free: 6.188 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.523/1.523, allocations: 205.1 MB / 222.8 MB, free: 4.684 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.722/1.722, allocations: 292.3 MB / 0.5492 GB, free: 13.59 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.002145/0.002145, allocations: 73.23 kB / 0.6717 GB, free: 26.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2749/0.2771, allocations: 114.6 MB / 0.7835 GB, free: 13.85 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable): time 0.004132/0.2812, allocations: 2.504 MB / 0.786 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003022/0.2843, allocations: 1.46 MB / 0.7874 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003146/0.2847, allocations: 7.875 kB / 0.7874 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0009031/0.2857, allocations: 303.2 kB / 0.7877 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0007942/0.2865, allocations: 302.9 kB / 0.788 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0012/0.2877, allocations: 380.4 kB / 0.7884 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0008598/0.2886, allocations: 0.7012 MB / 0.789 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002234/0.2888, allocations: 73.72 kB / 0.7891 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003808/0.2892, allocations: 330.6 kB / 0.7894 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000335/0.2895, allocations: 330.6 kB / 0.7898 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.007e-05/0.2896, allocations: 32 kB / 0.7898 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002292/0.2898, allocations: 87.95 kB / 0.7899 GB, free: 7.348 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001881/0.29, allocations: 199.3 kB / 0.7901 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002293/0.2903, allocations: 270.2 kB / 0.7903 GB, free: 6.887 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0006212/0.2909, allocations: 0.6004 MB / 0.7909 GB, free: 6.285 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.2909, allocations: 0 / 0.7909 GB, free: 6.285 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.503e-06/0.2909, allocations: 4 kB / 0.7909 GB, free: 6.281 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.41e-05/0.2909, allocations: 0 / 0.7909 GB, free: 6.281 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.001505/0.2925, allocations: 0.9989 MB / 0.7919 GB, free: 5.23 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.463e-05/0.2925, allocations: 8.031 kB / 0.7919 GB, free: 5.223 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001243/0.2926, allocations: 76 kB / 0.792 GB, free: 5.148 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008237/0.2935, allocations: 0.6249 MB / 0.7926 GB, free: 4.48 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.895e-05/0.2935, allocations: 16.36 kB / 0.7926 GB, free: 4.465 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.646e-05/0.2935, allocations: 19.94 kB / 0.7926 GB, free: 4.445 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003708/0.2939, allocations: 193.8 kB / 0.7928 GB, free: 4.238 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.2939, allocations: 0 / 0.7928 GB, free: 4.238 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.133e-05/0.294, allocations: 4 kB / 0.7928 GB, free: 4.234 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.04e-05/0.294, allocations: 4 kB / 0.7928 GB, free: 4.23 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002446/0.2942, allocations: 107.8 kB / 0.7929 GB, free: 4.125 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001259/0.2955, allocations: 1.052 MB / 0.7939 GB, free: 3.008 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005693/0.2961, allocations: 277 kB / 0.7942 GB, free: 2.691 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002101/0.2963, allocations: 112.2 kB / 0.7943 GB, free: 2.566 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.11e-05/0.2963, allocations: 8 kB / 0.7943 GB, free: 2.559 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004039/0.2968, allocations: 223.4 kB / 0.7945 GB, free: 2.312 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=25): time 1.613e-06/0.2968, allocations: 0 / 0.7945 GB, free: 2.312 MB / 0.6075 GB Notification: Performance of matching and sorting (n=25): time 0.0009525/0.2977, allocations: 424.7 kB / 0.7949 GB, free: 1.891 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.677e-05/0.2978, allocations: 162.2 kB / 0.7951 GB, free: 1.695 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001135/0.299, allocations: 1.04 MB / 0.7961 GB, free: 0.6484 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.73e-05/0.299, allocations: 33.7 kB / 0.7961 GB, free: 0.6094 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002219/0.2992, allocations: 288.9 kB / 0.7964 GB, free: 328 kB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.682e-05/0.2993, allocations: 75.08 kB / 0.7965 GB, free: 252 kB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001829/0.2995, allocations: 146.1 kB / 0.7966 GB, free: 100 kB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001257/0.2996, allocations: 326 kB / 0.7969 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003534/0.3, allocations: 217.2 kB / 0.7971 GB, free: 15.56 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004264/0.3004, allocations: 311 kB / 0.7974 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006241/0.3011, allocations: 410.1 kB / 0.7978 GB, free: 14.8 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.3011, allocations: 0 / 0.7978 GB, free: 14.8 MB / 0.6231 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.00108/0.3022, allocations: 0.6714 MB / 0.7985 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/0.3022, allocations: 8 kB / 0.7985 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/0.3022, allocations: 3.984 kB / 0.7985 GB, free: 14.11 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.24e-05/0.3022, allocations: 4 kB / 0.7985 GB, free: 14.11 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004116/0.3027, allocations: 111.8 kB / 0.7986 GB, free: 14 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.347e-05/0.3027, allocations: 15.92 kB / 0.7986 GB, free: 13.98 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002893/0.303, allocations: 39.67 kB / 0.7986 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.506e-05/0.303, allocations: 24.16 kB / 0.7987 GB, free: 13.92 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.0003474/0.3034, allocations: 274.7 kB / 0.7989 GB, free: 13.64 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001061/0.3035, allocations: 75.06 kB / 0.799 GB, free: 13.57 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001273/0.3036, allocations: 73.88 kB / 0.7991 GB, free: 13.49 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-06/0.3037, allocations: 4 kB / 0.7991 GB, free: 13.49 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.216e-05/0.3037, allocations: 7.938 kB / 0.7991 GB, free: 13.48 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.161e-06/0.3037, allocations: 4 kB / 0.7991 GB, free: 13.48 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004763/0.3042, allocations: 469.1 kB / 0.7995 GB, free: 12.97 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.3042, allocations: 4 kB / 0.7995 GB, free: 12.96 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.565e-05/0.3042, allocations: 23.94 kB / 0.7996 GB, free: 12.94 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.3043, allocations: 0 / 0.7996 GB, free: 12.94 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.304e-05/0.3043, allocations: 11.98 kB / 0.7996 GB, free: 12.93 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.848e-06/0.3043, allocations: 4 kB / 0.7996 GB, free: 12.93 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.3043, allocations: 3.938 kB / 0.7996 GB, free: 12.92 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006636/0.305, allocations: 393.1 kB / 0.8 GB, free: 12.51 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001536/0.3051, allocations: 164.1 kB / 0.8001 GB, free: 12.33 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.244e-05/0.3052, allocations: 8 kB / 0.8001 GB, free: 12.32 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001637/0.3054, allocations: 19.97 kB / 0.8001 GB, free: 12.3 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.446e-05/0.3055, allocations: 23.92 kB / 0.8002 GB, free: 12.28 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.355e-05/0.3055, allocations: 11.98 kB / 0.8002 GB, free: 12.27 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0007202/0.3062, allocations: 0.6083 MB / 0.8008 GB, free: 11.66 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.41e-07/0.3062, allocations: 0 / 0.8008 GB, free: 11.66 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004652/0.3067, allocations: 112 kB / 0.8009 GB, free: 11.55 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.001141/0.3078, allocations: 497.4 kB / 0.8013 GB, free: 11.25 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0008427/0.3087, allocations: 415.5 kB / 0.8017 GB, free: 10.84 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.3087, allocations: 0 / 0.8017 GB, free: 10.84 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002333/0.309, allocations: 103.9 kB / 0.8018 GB, free: 10.74 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009394/0.3099, allocations: 228.4 kB / 0.8021 GB, free: 10.54 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001748/0.3117, allocations: 1.29 MB / 0.8033 GB, free: 9.203 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005066/0.3122, allocations: 0.9285 MB / 0.8042 GB, free: 8.246 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000145/0.3123, allocations: 59.42 kB / 0.8043 GB, free: 8.191 MB / 0.6231 GB Notification: Performance of SimCode: time 8.02e-07/0.3123, allocations: 0 / 0.8043 GB, free: 8.191 MB / 0.6231 GB Notification: Performance of Templates: time 0.01354/0.3259, allocations: 8.805 MB / 0.8129 GB, free: 15.43 MB / 0.6387 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)