Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Average,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Average",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01146/0.01146, allocations: 107.6 kB / 15.06 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001287/0.001287, allocations: 180.7 kB / 15.95 MB, free: 5.52 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.154/2.154, allocations: 194.6 MB / 211.3 MB, free: 11.04 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.486/2.486, allocations: 236.1 MB / 492.6 MB, free: 11.36 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007636/0.0007637, allocations: 16 kB / 0.587 GB, free: 2.078 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6948/0.6956, allocations: 98.71 MB / 0.6834 GB, free: 16.76 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Average): time 0.001826/0.6975, allocations: 1.118 MB / 0.6845 GB, free: 15.92 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0003523/0.6979, allocations: 115.1 kB / 0.6846 GB, free: 15.84 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.752e-05/0.6979, allocations: 0 / 0.6846 GB, free: 15.84 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 1.915e-05/0.698, allocations: 5.391 kB / 0.6846 GB, free: 15.84 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 8.758e-05/0.6981, allocations: 5.844 kB / 0.6847 GB, free: 15.84 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 6.519e-05/0.6982, allocations: 9.016 kB / 0.6847 GB, free: 15.83 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 7.767e-05/0.6982, allocations: 26.89 kB / 0.6847 GB, free: 15.82 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001011/0.6984, allocations: 10.86 kB / 0.6847 GB, free: 15.81 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 7.498e-05/0.6984, allocations: 16.03 kB / 0.6847 GB, free: 15.8 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 5.769e-05/0.6985, allocations: 18.95 kB / 0.6847 GB, free: 15.8 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 2.041e-05/0.6985, allocations: 1.094 kB / 0.6847 GB, free: 15.8 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 1.162e-05/0.6986, allocations: 2.312 kB / 0.6847 GB, free: 15.8 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 1.637e-05/0.6986, allocations: 3.359 kB / 0.6847 GB, free: 15.8 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 2.706e-05/0.6986, allocations: 36.09 kB / 0.6848 GB, free: 15.76 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 8.458e-05/0.6987, allocations: 22.77 kB / 0.6848 GB, free: 15.76 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.6987, allocations: 0 / 0.6848 GB, free: 15.76 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.224e-06/0.6987, allocations: 0 / 0.6848 GB, free: 15.76 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.069e-06/0.6988, allocations: 0 / 0.6848 GB, free: 15.76 MB / 0.5261 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.0006155/0.6994, allocations: 369.3 kB / 0.6851 GB, free: 15.39 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.667e-05/0.6994, allocations: 9.469 kB / 0.6852 GB, free: 15.39 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.574e-05/0.6995, allocations: 36.39 kB / 0.6852 GB, free: 15.35 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.979e-05/0.6995, allocations: 2.156 kB / 0.6852 GB, free: 15.35 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001085/0.6996, allocations: 180 kB / 0.6854 GB, free: 15.14 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.563e-05/0.6997, allocations: 1.094 kB / 0.6854 GB, free: 15.14 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.734e-05/0.6997, allocations: 8.938 kB / 0.6854 GB, free: 15.13 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003798/0.7001, allocations: 78.47 kB / 0.6854 GB, free: 15.09 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.7001, allocations: 3.984 kB / 0.6855 GB, free: 15.09 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.252e-05/0.7001, allocations: 8 kB / 0.6855 GB, free: 15.08 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.216e-06/0.7001, allocations: 1.406 kB / 0.6855 GB, free: 15.08 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005244/0.7007, allocations: 91.05 kB / 0.6855 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004014/0.7011, allocations: 265.4 kB / 0.6858 GB, free: 14.79 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003282/0.7014, allocations: 68.77 kB / 0.6859 GB, free: 14.75 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.823e-05/0.7015, allocations: 1.719 kB / 0.6859 GB, free: 14.75 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.386e-05/0.7015, allocations: 35.16 kB / 0.6859 GB, free: 14.71 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=3): time 2.294e-06/0.7015, allocations: 0 / 0.6859 GB, free: 14.71 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3): time 0.0009393/0.7025, allocations: 161.2 kB / 0.6861 GB, free: 14.66 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.089e-05/0.7025, allocations: 56.7 kB / 0.6861 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.588e-05/0.7026, allocations: 106.2 kB / 0.6862 GB, free: 14.49 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.289e-05/0.7026, allocations: 27.38 kB / 0.6862 GB, free: 14.46 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.229e-05/0.7027, allocations: 90.5 kB / 0.6863 GB, free: 14.37 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.358e-05/0.7027, allocations: 9.953 kB / 0.6863 GB, free: 14.36 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.232e-06/0.7027, allocations: 1.219 kB / 0.6863 GB, free: 14.36 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.914e-05/0.7028, allocations: 321.6 kB / 0.6866 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002895/0.7031, allocations: 40.45 kB / 0.6867 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002651/0.7034, allocations: 44.66 kB / 0.6867 GB, free: 14.03 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000267/0.7037, allocations: 43.92 kB / 0.6868 GB, free: 14.02 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.7037, allocations: 0.6094 kB / 0.6868 GB, free: 14.02 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0006114/0.7043, allocations: 117.8 kB / 0.6869 GB, free: 13.98 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.128e-05/0.7043, allocations: 5.906 kB / 0.6869 GB, free: 13.98 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.7044, allocations: 4 kB / 0.6869 GB, free: 13.97 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.998e-05/0.7044, allocations: 1.125 kB / 0.6869 GB, free: 13.97 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002177/0.7046, allocations: 19.75 kB / 0.6869 GB, free: 13.97 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.937e-06/0.7046, allocations: 1.016 kB / 0.6869 GB, free: 13.97 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001539/0.7048, allocations: 24.27 kB / 0.6869 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.169e-05/0.7048, allocations: 5.062 kB / 0.6869 GB, free: 13.96 MB / 0.5261 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 8.659e-05/0.7049, allocations: 113.5 kB / 0.687 GB, free: 13.84 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.339e-05/0.705, allocations: 1.562 kB / 0.687 GB, free: 13.84 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.083e-05/0.705, allocations: 6.406 kB / 0.6871 GB, free: 13.83 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.097e-06/0.705, allocations: 0 / 0.6871 GB, free: 13.83 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.705, allocations: 1.312 kB / 0.6871 GB, free: 13.83 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.705, allocations: 4.594 kB / 0.6871 GB, free: 13.83 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001991/0.7052, allocations: 170.7 kB / 0.6872 GB, free: 13.63 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.7053, allocations: 0.7969 kB / 0.6872 GB, free: 13.63 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001748/0.7054, allocations: 27.62 kB / 0.6872 GB, free: 13.62 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.628e-06/0.7055, allocations: 1.562 kB / 0.6872 GB, free: 13.62 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.049e-05/0.7055, allocations: 0 / 0.6872 GB, free: 13.62 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.7055, allocations: 3.938 kB / 0.6873 GB, free: 13.62 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.7055, allocations: 2.172 kB / 0.6873 GB, free: 13.62 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006199/0.7061, allocations: 220.2 kB / 0.6875 GB, free: 13.46 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 2.9e-05/0.7062, allocations: 79.05 kB / 0.6875 GB, free: 13.37 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.115e-05/0.7062, allocations: 10 kB / 0.6875 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001793/0.7064, allocations: 16.16 kB / 0.6876 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.303e-05/0.7065, allocations: 8.219 kB / 0.6876 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.993e-06/0.7065, allocations: 0 / 0.6876 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.689e-05/0.7065, allocations: 88.12 kB / 0.6877 GB, free: 13.28 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.2e-07/0.7066, allocations: 0 / 0.6877 GB, free: 13.28 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.000284/0.7069, allocations: 10.34 kB / 0.6877 GB, free: 13.28 MB / 0.5261 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.0008637/0.7077, allocations: 0.7613 MB / 0.6884 GB, free: 12.59 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0005838/0.7083, allocations: 90.3 kB / 0.6885 GB, free: 12.58 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.736e-06/0.7083, allocations: 0 / 0.6885 GB, free: 12.58 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002755/0.7086, allocations: 54.66 kB / 0.6885 GB, free: 12.57 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002798/0.7089, allocations: 3.125 kB / 0.6886 GB, free: 12.57 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000538/0.7095, allocations: 159.8 kB / 0.6887 GB, free: 12.41 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001441/0.7096, allocations: 0.6867 MB / 0.6894 GB, free: 11.71 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 5.384e-05/0.7097, allocations: 1.734 kB / 0.6894 GB, free: 11.71 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.417e-05/0.7098, allocations: 18.11 kB / 0.6894 GB, free: 11.7 MB / 0.5261 GB Notification: Performance of SimCode: time 7.41e-07/0.7098, allocations: 0 / 0.6894 GB, free: 11.7 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02511/0.7349, allocations: 1.284 MB / 0.6906 GB, free: 11.5 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000302/0.7353, allocations: 190.3 kB / 0.6908 GB, free: 11.27 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.26/2.995, allocations: 0 / 0.6908 GB, free: 11.27 MB / 0.5261 GB