Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_TimeTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_TimeTable",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.447/1.447, allocations: 251.9 MB / 266.9 MB, free: 11.07 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001047/0.001048, allocations: 180.6 kB / 326.5 MB, free: 2.254 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.695/1.695, allocations: 205.4 MB / 0.5775 GB, free: 20.26 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001017/0.001017, allocations: 102.1 kB / 0.6821 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003716/0.0003716, allocations: 15.22 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2709/0.2712, allocations: 106.3 MB / 0.9002 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable): time 0.003031/0.2744, allocations: 2.055 MB / 0.9022 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001999/0.2764, allocations: 1.202 MB / 0.9034 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000184/0.2766, allocations: 7.938 kB / 0.9034 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0006127/0.2773, allocations: 275.1 kB / 0.9036 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0004651/0.2778, allocations: 271.3 kB / 0.9039 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000681/0.2784, allocations: 313.3 kB / 0.9042 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0004765/0.2789, allocations: 411.1 kB / 0.9046 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001895/0.2791, allocations: 65.03 kB / 0.9046 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003065/0.2794, allocations: 278.9 kB / 0.9049 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002402/0.2797, allocations: 227.1 kB / 0.9051 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.776e-05/0.2797, allocations: 12 kB / 0.9051 GB, free: 58.74 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001649/0.2799, allocations: 39.92 kB / 0.9052 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001458/0.2801, allocations: 171.4 kB / 0.9053 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 9.284e-05/0.2802, allocations: 121.3 kB / 0.9054 GB, free: 58.41 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0004476/0.2806, allocations: 0.5302 MB / 0.906 GB, free: 57.88 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.2806, allocations: 0 / 0.906 GB, free: 57.88 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.736e-06/0.2807, allocations: 0 / 0.906 GB, free: 57.88 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.19e-05/0.2807, allocations: 0 / 0.906 GB, free: 57.88 MB / 0.6042 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.001234/0.2819, allocations: 0.8709 MB / 0.9068 GB, free: 56.96 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 6.413e-05/0.282, allocations: 12.03 kB / 0.9068 GB, free: 56.95 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.045e-05/0.2821, allocations: 42.55 kB / 0.9069 GB, free: 56.89 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001055/0.2822, allocations: 75.02 kB / 0.9069 GB, free: 56.82 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000772/0.283, allocations: 0.5541 MB / 0.9075 GB, free: 56.23 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.866e-05/0.283, allocations: 16 kB / 0.9075 GB, free: 56.21 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.098e-05/0.283, allocations: 15.98 kB / 0.9075 GB, free: 56.2 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00037/0.2834, allocations: 194.4 kB / 0.9077 GB, free: 55.98 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.2834, allocations: 7.938 kB / 0.9077 GB, free: 55.98 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.052e-05/0.2835, allocations: 7.984 kB / 0.9077 GB, free: 55.97 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.006e-05/0.2835, allocations: 7.938 kB / 0.9077 GB, free: 55.96 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002315/0.2837, allocations: 103.8 kB / 0.9078 GB, free: 55.86 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001167/0.2849, allocations: 1.02 MB / 0.9088 GB, free: 54.77 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005356/0.2855, allocations: 281.3 kB / 0.9091 GB, free: 54.45 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 4.445e-05/0.2855, allocations: 4 kB / 0.9091 GB, free: 54.45 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004556/0.286, allocations: 225.7 kB / 0.9093 GB, free: 54.2 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=25): time 4.839e-06/0.286, allocations: 0 / 0.9093 GB, free: 54.2 MB / 0.6042 GB Notification: Performance of matching and sorting (n=25): time 0.0008667/0.2869, allocations: 417.5 kB / 0.9097 GB, free: 53.79 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.514e-05/0.2869, allocations: 162.2 kB / 0.9099 GB, free: 53.59 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001011/0.288, allocations: 0.9849 MB / 0.9108 GB, free: 52.59 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.476e-05/0.288, allocations: 37.7 kB / 0.9109 GB, free: 52.55 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.000188/0.2882, allocations: 276.8 kB / 0.9111 GB, free: 52.28 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 7.627e-05/0.2883, allocations: 79.08 kB / 0.9112 GB, free: 52.2 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.795e-05/0.2883, allocations: 16 kB / 0.9112 GB, free: 52.18 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001435/0.2885, allocations: 390.8 kB / 0.9116 GB, free: 51.79 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003512/0.2888, allocations: 201.2 kB / 0.9118 GB, free: 51.6 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003497/0.2892, allocations: 303 kB / 0.9121 GB, free: 51.27 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003676/0.2896, allocations: 227.3 kB / 0.9123 GB, free: 51.05 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.2896, allocations: 0 / 0.9123 GB, free: 51.05 MB / 0.6042 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0009166/0.2905, allocations: 0.6705 MB / 0.9129 GB, free: 50.38 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.135e-05/0.2905, allocations: 4 kB / 0.9129 GB, free: 50.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/0.2906, allocations: 7.984 kB / 0.9129 GB, free: 50.37 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.081e-05/0.2906, allocations: 4 kB / 0.9129 GB, free: 50.37 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003771/0.291, allocations: 115.8 kB / 0.9131 GB, free: 50.25 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.23e-05/0.291, allocations: 7.984 kB / 0.9131 GB, free: 50.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000278/0.2913, allocations: 44.02 kB / 0.9131 GB, free: 50.2 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.935e-05/0.2913, allocations: 35.98 kB / 0.9131 GB, free: 50.17 MB / 0.6042 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.0002683/0.2916, allocations: 273.6 kB / 0.9134 GB, free: 49.89 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.33e-05/0.2917, allocations: 75.02 kB / 0.9135 GB, free: 49.82 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001057/0.2918, allocations: 65.59 kB / 0.9135 GB, free: 49.75 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.618e-06/0.2918, allocations: 4 kB / 0.9135 GB, free: 49.75 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.824e-06/0.2918, allocations: 0 / 0.9135 GB, free: 49.75 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/0.2918, allocations: 3.984 kB / 0.9135 GB, free: 49.74 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000443/0.2923, allocations: 453.2 kB / 0.914 GB, free: 49.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.2923, allocations: 7.938 kB / 0.914 GB, free: 49.24 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.04e-05/0.2924, allocations: 23.94 kB / 0.914 GB, free: 49.22 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.2924, allocations: 0 / 0.914 GB, free: 49.22 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.828e-05/0.2924, allocations: 19.94 kB / 0.914 GB, free: 49.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/0.2924, allocations: 0 / 0.914 GB, free: 49.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.2924, allocations: 0 / 0.914 GB, free: 49.2 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006727/0.2931, allocations: 442.2 kB / 0.9144 GB, free: 48.71 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001669/0.2933, allocations: 164.2 kB / 0.9146 GB, free: 48.53 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.421e-05/0.2934, allocations: 8 kB / 0.9146 GB, free: 48.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001711/0.2936, allocations: 19.98 kB / 0.9146 GB, free: 48.5 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.704e-05/0.2937, allocations: 27.92 kB / 0.9147 GB, free: 48.48 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.825e-05/0.2937, allocations: 19.98 kB / 0.9147 GB, free: 48.46 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0006394/0.2943, allocations: 0.5693 MB / 0.9152 GB, free: 47.89 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.21e-07/0.2943, allocations: 0 / 0.9152 GB, free: 47.89 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004259/0.2948, allocations: 115.9 kB / 0.9153 GB, free: 47.78 MB / 0.6042 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.001821/0.2966, allocations: 1.616 MB / 0.9169 GB, free: 46.28 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0006271/0.2972, allocations: 395.5 kB / 0.9173 GB, free: 45.89 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.2973, allocations: 0 / 0.9173 GB, free: 45.89 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001974/0.2975, allocations: 107.9 kB / 0.9174 GB, free: 45.79 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009341/0.2984, allocations: 191.2 kB / 0.9176 GB, free: 45.6 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002093/0.3005, allocations: 2.92 MB / 0.9204 GB, free: 42.58 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003814/0.3009, allocations: 0.9366 MB / 0.9214 GB, free: 41.61 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002548/0.3012, allocations: 104.8 kB / 0.9215 GB, free: 41.51 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000242/0.3014, allocations: 219.3 kB / 0.9217 GB, free: 41.3 MB / 0.6042 GB Notification: Performance of SimCode: time 6.51e-07/0.3014, allocations: 0 / 0.9217 GB, free: 41.3 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0257/0.3271, allocations: 12.73 MB / 0.9341 GB, free: 28.74 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001828/0.3274, allocations: 253.5 kB / 0.9343 GB, free: 28.4 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.48/2.807, allocations: 0 / 0.9343 GB, free: 28.4 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_TimeTable_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_TimeTable.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe 2>&1)