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.482/1.482, allocations: 252 MB / 267.3 MB, free: 10.85 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.001074/0.001075, allocations: 169.4 kB / 327 MB, free: 2.086 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.814/1.814, allocations: 205.4 MB / 0.578 GB, free: 20.08 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.00082/0.0008199, allocations: 82.31 kB / 0.6826 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003237/0.0003238, allocations: 13.17 kB / 0.7971 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.207/0.2073, allocations: 106.3 MB / 0.9009 GB, free: 63.36 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable): time 0.002787/0.2102, allocations: 2.166 MB / 0.9031 GB, free: 61.17 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00203/0.2122, allocations: 1.268 MB / 0.9043 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003432/0.2126, allocations: 7.938 kB / 0.9043 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0006137/0.2132, allocations: 299.2 kB / 0.9046 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0006476/0.2139, allocations: 303 kB / 0.9049 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008489/0.2148, allocations: 338.3 kB / 0.9052 GB, free: 58.97 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0007847/0.2156, allocations: 0.6153 MB / 0.9058 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002257/0.2158, allocations: 73.05 kB / 0.9059 GB, free: 58.28 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005023/0.2163, allocations: 262.7 kB / 0.9061 GB, free: 58.02 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000329/0.2166, allocations: 286.7 kB / 0.9064 GB, free: 57.74 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.454e-05/0.2167, allocations: 8 kB / 0.9064 GB, free: 57.73 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001813/0.2169, allocations: 55.97 kB / 0.9065 GB, free: 57.68 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001519/0.217, allocations: 175.3 kB / 0.9066 GB, free: 57.51 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0002057/0.2173, allocations: 260 kB / 0.9069 GB, free: 57.25 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0004672/0.2177, allocations: 0.6578 MB / 0.9075 GB, free: 56.59 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.2177, allocations: 0 / 0.9075 GB, free: 56.59 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.793e-06/0.2178, allocations: 0 / 0.9075 GB, free: 56.59 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.866e-06/0.2178, allocations: 0 / 0.9075 GB, free: 56.59 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.001068/0.2188, allocations: 0.8594 MB / 0.9084 GB, free: 55.68 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.595e-05/0.2189, allocations: 8.031 kB / 0.9084 GB, free: 55.67 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.649e-05/0.219, allocations: 42.73 kB / 0.9084 GB, free: 55.62 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.169e-05/0.219, allocations: 76 kB / 0.9085 GB, free: 55.54 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006098/0.2197, allocations: 0.5859 MB / 0.909 GB, free: 54.92 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.994e-05/0.2197, allocations: 8.375 kB / 0.9091 GB, free: 54.91 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.64e-05/0.2197, allocations: 11.94 kB / 0.9091 GB, free: 54.9 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003395/0.2201, allocations: 212.6 kB / 0.9093 GB, free: 54.67 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.308e-06/0.2201, allocations: 0 / 0.9093 GB, free: 54.67 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.021e-05/0.2201, allocations: 4 kB / 0.9093 GB, free: 54.67 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.2201, allocations: 0 / 0.9093 GB, free: 54.67 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002206/0.2203, allocations: 103.9 kB / 0.9094 GB, free: 54.57 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008877/0.2212, allocations: 1.028 MB / 0.9104 GB, free: 53.47 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000492/0.2217, allocations: 281 kB / 0.9106 GB, free: 53.15 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001773/0.2219, allocations: 100.2 kB / 0.9107 GB, free: 53.04 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.387e-05/0.222, allocations: 7.984 kB / 0.9107 GB, free: 53.03 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003657/0.2224, allocations: 223.5 kB / 0.911 GB, free: 52.79 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=25): time 2.224e-06/0.2224, allocations: 3.938 kB / 0.911 GB, free: 52.78 MB / 0.6042 GB Notification: Performance of matching and sorting (n=25): time 0.0007917/0.2232, allocations: 429.5 kB / 0.9114 GB, free: 52.36 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.258e-05/0.2232, allocations: 166.1 kB / 0.9115 GB, free: 52.16 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008827/0.2241, allocations: 0.9927 MB / 0.9125 GB, free: 51.15 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.271e-05/0.2241, allocations: 33.7 kB / 0.9125 GB, free: 51.11 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.000156/0.2243, allocations: 276.9 kB / 0.9128 GB, free: 50.84 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.222e-05/0.2244, allocations: 83.08 kB / 0.9129 GB, free: 50.75 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.458e-05/0.2244, allocations: 12 kB / 0.9129 GB, free: 50.74 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.245e-05/0.2245, allocations: 386.8 kB / 0.9133 GB, free: 50.36 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003064/0.2248, allocations: 213.2 kB / 0.9135 GB, free: 50.15 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003626/0.2252, allocations: 307 kB / 0.9137 GB, free: 49.82 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005183/0.2257, allocations: 410.1 kB / 0.9141 GB, free: 49.39 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.2257, allocations: 0 / 0.9141 GB, free: 49.39 MB / 0.6042 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0008617/0.2266, allocations: 0.6578 MB / 0.9148 GB, free: 48.73 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.067e-05/0.2266, allocations: 4 kB / 0.9148 GB, free: 48.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.258e-06/0.2266, allocations: 4 kB / 0.9148 GB, free: 48.72 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/0.2267, allocations: 8.156 kB / 0.9148 GB, free: 48.71 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003723/0.227, allocations: 115.8 kB / 0.9149 GB, free: 48.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.057e-05/0.2271, allocations: 7.938 kB / 0.9149 GB, free: 48.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002884/0.2274, allocations: 43.67 kB / 0.915 GB, free: 48.55 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.973e-05/0.2274, allocations: 24 kB / 0.915 GB, free: 48.53 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002884/0.2277, allocations: 269.6 kB / 0.9152 GB, free: 48.25 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.686e-05/0.2278, allocations: 75.05 kB / 0.9153 GB, free: 48.18 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000107/0.2279, allocations: 81.52 kB / 0.9154 GB, free: 48.1 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.2279, allocations: 4 kB / 0.9154 GB, free: 48.09 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.468e-06/0.2279, allocations: 3.938 kB / 0.9154 GB, free: 48.09 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.2279, allocations: 0 / 0.9154 GB, free: 48.09 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003605/0.2283, allocations: 453.2 kB / 0.9158 GB, free: 47.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.2283, allocations: 4 kB / 0.9158 GB, free: 47.59 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.772e-05/0.2284, allocations: 19.98 kB / 0.9159 GB, free: 47.57 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.2284, allocations: 0 / 0.9159 GB, free: 47.57 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.328e-05/0.2284, allocations: 11.98 kB / 0.9159 GB, free: 47.56 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.305e-06/0.2284, allocations: 0 / 0.9159 GB, free: 47.56 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.057e-06/0.2284, allocations: 8.062 kB / 0.9159 GB, free: 47.55 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005498/0.229, allocations: 395.4 kB / 0.9162 GB, free: 47.14 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000167/0.2292, allocations: 156.2 kB / 0.9164 GB, free: 46.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.936e-05/0.2293, allocations: 15.94 kB / 0.9164 GB, free: 46.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001688/0.2294, allocations: 19.98 kB / 0.9164 GB, free: 46.93 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.87e-05/0.2295, allocations: 23.91 kB / 0.9165 GB, free: 46.91 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.258e-05/0.2295, allocations: 12 kB / 0.9165 GB, free: 46.89 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0005432/0.2301, allocations: 0.577 MB / 0.917 GB, free: 46.32 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2301, allocations: 0 / 0.917 GB, free: 46.32 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003563/0.2305, allocations: 119.8 kB / 0.9171 GB, free: 46.21 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 (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.001612/0.2321, allocations: 1.29 MB / 0.9184 GB, free: 45.05 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0006282/0.2327, allocations: 411.6 kB / 0.9188 GB, free: 44.64 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.2327, allocations: 0 / 0.9188 GB, free: 44.64 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002009/0.2329, allocations: 108.3 kB / 0.9189 GB, free: 44.54 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008932/0.2338, allocations: 202.6 kB / 0.9191 GB, free: 44.34 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006264/0.2401, allocations: 5.92 MB / 0.9249 GB, free: 38.25 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003072/0.2405, allocations: 0.9131 MB / 0.9258 GB, free: 37.3 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0003004/0.2408, allocations: 104.8 kB / 0.9259 GB, free: 37.2 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002436/0.241, allocations: 223.3 kB / 0.9261 GB, free: 36.98 MB / 0.6042 GB Notification: Performance of SimCode: time 9.82e-07/0.241, allocations: 0 / 0.9261 GB, free: 36.98 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02097/0.262, allocations: 12.09 MB / 0.9379 GB, free: 25.07 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001504/0.2622, allocations: 276.3 kB / 0.9381 GB, free: 24.71 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.44/2.702, allocations: 0 / 0.9381 GB, free: 24.71 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)