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.444/1.444, allocations: 251.9 MB / 266.9 MB, free: 10.96 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.00173/0.00173, allocations: 184.9 kB / 326.5 MB, free: 2.203 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.959/1.959, allocations: 205.4 MB / 0.5775 GB, free: 20.52 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.0009981/0.0009981, allocations: 102.5 kB / 0.6821 GB, free: 13.3 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000557/0.0005571, allocations: 14.91 kB / 0.7963 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2816/0.2822, allocations: 106.3 MB / 0.9002 GB, free: 64.14 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Average): time 0.00148/0.2838, allocations: 1.116 MB / 0.9013 GB, free: 63.01 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.000273/0.2841, allocations: 125.8 kB / 0.9014 GB, free: 62.89 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.097e-05/0.2841, allocations: 0 / 0.9014 GB, free: 62.89 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.732e-05/0.2841, allocations: 0 / 0.9014 GB, free: 62.89 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.176e-05/0.2842, allocations: 7.984 kB / 0.9014 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 5.838e-05/0.2843, allocations: 11.98 kB / 0.9014 GB, free: 62.87 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.266e-05/0.2843, allocations: 27.91 kB / 0.9014 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001036/0.2844, allocations: 4 kB / 0.9014 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.758e-05/0.2845, allocations: 15.97 kB / 0.9014 GB, free: 62.82 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.378e-05/0.2846, allocations: 23.86 kB / 0.9015 GB, free: 62.8 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.515e-05/0.2846, allocations: 4 kB / 0.9015 GB, free: 62.79 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.044e-05/0.2846, allocations: 3.938 kB / 0.9015 GB, free: 62.79 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.468e-05/0.2846, allocations: 11.92 kB / 0.9015 GB, free: 62.78 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.215e-05/0.2847, allocations: 29.7 kB / 0.9015 GB, free: 62.74 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 5.667e-05/0.2847, allocations: 23.94 kB / 0.9015 GB, free: 62.72 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.2847, allocations: 0 / 0.9015 GB, free: 62.72 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.044e-06/0.2847, allocations: 0 / 0.9015 GB, free: 62.72 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.358e-06/0.2847, allocations: 0 / 0.9015 GB, free: 62.72 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.0004778/0.2852, allocations: 373 kB / 0.9019 GB, free: 62.31 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.75e-05/0.2853, allocations: 8.031 kB / 0.9019 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.107e-05/0.2853, allocations: 34.56 kB / 0.9019 GB, free: 62.26 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.676e-05/0.2853, allocations: 4 kB / 0.9019 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.91e-05/0.2854, allocations: 166.9 kB / 0.9021 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.227e-05/0.2855, allocations: 7.938 kB / 0.9021 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.638e-06/0.2855, allocations: 4 kB / 0.9021 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002549/0.2857, allocations: 81.64 kB / 0.9022 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.2858, allocations: 0 / 0.9022 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.2858, allocations: 0 / 0.9022 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.2858, allocations: 0 / 0.9022 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002855/0.2861, allocations: 83.94 kB / 0.9023 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003941/0.2865, allocations: 268.9 kB / 0.9025 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001989/0.2867, allocations: 66.47 kB / 0.9026 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.356e-05/0.2867, allocations: 8 kB / 0.9026 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.755e-05/0.2867, allocations: 34.56 kB / 0.9026 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 1.202e-06/0.2867, allocations: 0 / 0.9026 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.000524/0.2873, allocations: 157.9 kB / 0.9028 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.276e-05/0.2873, allocations: 59.34 kB / 0.9028 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.507e-05/0.2874, allocations: 117.8 kB / 0.9029 GB, free: 61.08 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.211e-05/0.2874, allocations: 25.7 kB / 0.903 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.578e-05/0.2874, allocations: 91.98 kB / 0.9031 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.655e-05/0.2875, allocations: 7.906 kB / 0.9031 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.198e-06/0.2875, allocations: 0 / 0.9031 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.223e-05/0.2875, allocations: 318.8 kB / 0.9034 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001366/0.2877, allocations: 43.97 kB / 0.9034 GB, free: 60.58 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001313/0.2878, allocations: 43.95 kB / 0.9035 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001389/0.288, allocations: 43.95 kB / 0.9035 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.288, allocations: 0 / 0.9035 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002974/0.2883, allocations: 121.6 kB / 0.9036 GB, free: 60.37 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.2883, allocations: 4 kB / 0.9036 GB, free: 60.37 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.2883, allocations: 0 / 0.9036 GB, free: 60.37 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.2883, allocations: 4 kB / 0.9036 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001377/0.2885, allocations: 31.84 kB / 0.9037 GB, free: 60.33 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.2885, allocations: 0 / 0.9037 GB, free: 60.33 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.732e-05/0.2886, allocations: 15.98 kB / 0.9037 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.808e-06/0.2886, allocations: 7.953 kB / 0.9037 GB, free: 60.31 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 7.32e-05/0.2887, allocations: 113.8 kB / 0.9038 GB, free: 60.19 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.363e-05/0.2887, allocations: 7.906 kB / 0.9038 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.057e-05/0.2887, allocations: 3.906 kB / 0.9038 GB, free: 60.17 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.2887, allocations: 0 / 0.9038 GB, free: 60.17 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.2888, allocations: 0 / 0.9038 GB, free: 60.17 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.2888, allocations: 0 / 0.9038 GB, free: 60.17 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001463/0.2889, allocations: 177.6 kB / 0.904 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.2889, allocations: 0 / 0.904 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.911e-05/0.289, allocations: 19.98 kB / 0.904 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.512e-06/0.289, allocations: 4 kB / 0.904 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.394e-06/0.289, allocations: 0 / 0.904 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.289, allocations: 0 / 0.904 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.289, allocations: 4 kB / 0.904 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003294/0.2894, allocations: 223.4 kB / 0.9042 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.146e-05/0.2894, allocations: 81.02 kB / 0.9043 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.651e-05/0.2894, allocations: 0 / 0.9043 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.861e-05/0.2895, allocations: 19.98 kB / 0.9043 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.543e-05/0.2896, allocations: 7.984 kB / 0.9043 GB, free: 59.56 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.906e-06/0.2896, allocations: 4 kB / 0.9043 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.404e-05/0.2896, allocations: 79.28 kB / 0.9044 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2896, allocations: 0 / 0.9044 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002005/0.2898, allocations: 12 kB / 0.9044 GB, free: 59.46 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.0005459/0.2904, allocations: 0.7554 MB / 0.9051 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003113/0.2907, allocations: 91.86 kB / 0.9052 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.2907, allocations: 0 / 0.9052 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001373/0.2909, allocations: 47.95 kB / 0.9053 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000239/0.2911, allocations: 11.94 kB / 0.9053 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005094/0.2916, allocations: 178 kB / 0.9055 GB, free: 58.32 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001859/0.2918, allocations: 0.6809 MB / 0.9061 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 4.02e-05/0.2919, allocations: 4.422 kB / 0.9061 GB, free: 57.61 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.37e-05/0.2919, allocations: 15.42 kB / 0.9061 GB, free: 57.6 MB / 0.6042 GB Notification: Performance of SimCode: time 2.01e-07/0.2919, allocations: 0 / 0.9061 GB, free: 57.6 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01134/0.3033, allocations: 1.287 MB / 0.9074 GB, free: 56.47 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001444/0.3035, allocations: 198.7 kB / 0.9076 GB, free: 56.23 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.573/1.876, allocations: 3.125 kB / 0.9076 GB, free: 56.23 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)