Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.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.Validation.Average,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Average",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Average,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Average",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.51/1.51, allocations: 252 MB / 267 MB, free: 10.98 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.001116/0.001116, allocations: 174.5 kB / 326.6 MB, free: 2.227 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.904/1.904, allocations: 205.4 MB / 0.5777 GB, free: 20.28 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.0008979/0.0008979, allocations: 86.36 kB / 0.6823 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003149/0.000315, allocations: 11 kB / 0.7965 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.216/0.2163, allocations: 106.4 MB / 0.9003 GB, free: 63.78 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Average): time 0.001605/0.218, allocations: 1.126 MB / 0.9014 GB, free: 62.64 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002939/0.2183, allocations: 120.5 kB / 0.9016 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.199e-05/0.2184, allocations: 0 / 0.9016 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.685e-05/0.2184, allocations: 3.984 kB / 0.9016 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.277e-05/0.2185, allocations: 3.938 kB / 0.9016 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 5.89e-05/0.2186, allocations: 7.984 kB / 0.9016 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.585e-05/0.2186, allocations: 35.92 kB / 0.9016 GB, free: 62.47 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001001/0.2188, allocations: 11.98 kB / 0.9016 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.748e-05/0.2188, allocations: 19.92 kB / 0.9016 GB, free: 62.44 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.698e-05/0.2189, allocations: 23.91 kB / 0.9017 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.013e-05/0.2189, allocations: 0 / 0.9017 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 9.899e-06/0.2189, allocations: 4 kB / 0.9017 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.437e-05/0.219, allocations: 3.938 kB / 0.9017 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.238e-05/0.219, allocations: 33.64 kB / 0.9017 GB, free: 62.37 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 6.378e-05/0.2191, allocations: 23.94 kB / 0.9017 GB, free: 62.35 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.2191, allocations: 0 / 0.9017 GB, free: 62.35 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.134e-06/0.2191, allocations: 0 / 0.9017 GB, free: 62.35 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.6e-06/0.2191, allocations: 0 / 0.9017 GB, free: 62.35 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005498/0.2196, allocations: 371.5 kB / 0.9021 GB, free: 61.94 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.795e-05/0.2197, allocations: 8.031 kB / 0.9021 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.651e-05/0.2197, allocations: 34.56 kB / 0.9021 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.309e-05/0.2198, allocations: 0 / 0.9021 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001021/0.2199, allocations: 174.9 kB / 0.9023 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.243e-05/0.2199, allocations: 3.938 kB / 0.9023 GB, free: 61.67 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.781e-05/0.2199, allocations: 8 kB / 0.9023 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003055/0.2203, allocations: 77.64 kB / 0.9024 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.2203, allocations: 0 / 0.9024 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.2203, allocations: 0 / 0.9024 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.2203, allocations: 4 kB / 0.9024 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002886/0.2206, allocations: 83.92 kB / 0.9024 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003195/0.2209, allocations: 272.9 kB / 0.9027 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001941/0.2211, allocations: 70.47 kB / 0.9028 GB, free: 61.1 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001524/0.2213, allocations: 48.92 kB / 0.9028 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.355e-05/0.2213, allocations: 3.984 kB / 0.9028 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.77e-05/0.2213, allocations: 34.56 kB / 0.9029 GB, free: 61 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.2214, allocations: 4 kB / 0.9029 GB, free: 61 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0005558/0.2219, allocations: 165.7 kB / 0.903 GB, free: 60.83 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.84e-05/0.222, allocations: 55.34 kB / 0.9031 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.804e-05/0.222, allocations: 109.8 kB / 0.9032 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.002e-05/0.2221, allocations: 25.7 kB / 0.9032 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.149e-05/0.2221, allocations: 104 kB / 0.9033 GB, free: 60.51 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.781e-05/0.2221, allocations: 3.906 kB / 0.9033 GB, free: 60.51 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.458e-06/0.2221, allocations: 0 / 0.9033 GB, free: 60.51 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.584e-05/0.2222, allocations: 318.8 kB / 0.9036 GB, free: 60.19 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001535/0.2224, allocations: 43.95 kB / 0.9037 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001399/0.2225, allocations: 39.97 kB / 0.9037 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001473/0.2227, allocations: 43.97 kB / 0.9037 GB, free: 60.06 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.2227, allocations: 0 / 0.9037 GB, free: 60.06 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003472/0.223, allocations: 121.6 kB / 0.9038 GB, free: 59.94 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/0.2231, allocations: 7.938 kB / 0.9039 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.2231, allocations: 0 / 0.9039 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.2231, allocations: 0 / 0.9039 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001378/0.2232, allocations: 23.92 kB / 0.9039 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.2233, allocations: 0 / 0.9039 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.446e-05/0.2233, allocations: 23.94 kB / 0.9039 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.033e-06/0.2234, allocations: 0 / 0.9039 GB, free: 59.88 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 6.34e-05/0.2234, allocations: 117.8 kB / 0.904 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.457e-05/0.2235, allocations: 3.906 kB / 0.904 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.481e-05/0.2235, allocations: 7.906 kB / 0.904 GB, free: 59.74 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.2235, allocations: 0 / 0.904 GB, free: 59.74 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.2235, allocations: 4 kB / 0.904 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.2235, allocations: 0 / 0.904 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001396/0.2237, allocations: 173.6 kB / 0.9042 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.2237, allocations: 0 / 0.9042 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001113/0.2238, allocations: 23.97 kB / 0.9042 GB, free: 59.49 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.616e-06/0.2238, allocations: 0 / 0.9042 GB, free: 59.49 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-06/0.2238, allocations: 0 / 0.9042 GB, free: 59.49 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.2238, allocations: 0 / 0.9042 GB, free: 59.49 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.2238, allocations: 0 / 0.9042 GB, free: 59.49 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003367/0.2242, allocations: 223.4 kB / 0.9044 GB, free: 59.26 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.363e-05/0.2242, allocations: 89 kB / 0.9045 GB, free: 59.15 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.358e-05/0.2242, allocations: 0 / 0.9045 GB, free: 59.15 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001083/0.2243, allocations: 15.98 kB / 0.9045 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.07e-05/0.2244, allocations: 4 kB / 0.9045 GB, free: 59.13 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.697e-06/0.2244, allocations: 0 / 0.9045 GB, free: 59.13 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.972e-05/0.2244, allocations: 91.58 kB / 0.9046 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2244, allocations: 0 / 0.9046 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002194/0.2247, allocations: 8 kB / 0.9046 GB, free: 59.04 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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 Backend phase and start with SimCode phase: time 0.0005762/0.2252, allocations: 0.7514 MB / 0.9054 GB, free: 58.26 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003467/0.2256, allocations: 95.86 kB / 0.9055 GB, free: 58.16 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.2256, allocations: 4 kB / 0.9055 GB, free: 58.16 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000159/0.2258, allocations: 39.97 kB / 0.9055 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002948/0.2261, allocations: 10.56 kB / 0.9055 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004443/0.2265, allocations: 178.4 kB / 0.9057 GB, free: 57.9 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000108/0.2267, allocations: 0.6809 MB / 0.9063 GB, free: 57.2 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.63e-05/0.2267, allocations: 7.984 kB / 0.9063 GB, free: 57.19 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.093e-05/0.2267, allocations: 15.44 kB / 0.9064 GB, free: 57.17 MB / 0.6042 GB Notification: Performance of SimCode: time 1.242e-06/0.2268, allocations: 0 / 0.9064 GB, free: 57.17 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01146/0.2382, allocations: 1.296 MB / 0.9076 GB, free: 56.03 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001806/0.2385, allocations: 208.4 kB / 0.9078 GB, free: 55.79 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.564/1.802, allocations: 0 / 0.9078 GB, free: 55.79 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Average_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Average.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe 2>&1)