Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Average") Notification: Performance of loadModel(Buildings): time 3.767/3.767, allocations: 432.7 MB / 445.3 MB, free: 15.66 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.529e-05/3.546e-05, allocations: 7.031 kB / 0.5383 GB, free: 10.26 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.209/0.209, allocations: 98.73 MB / 0.6347 GB, free: 1.895 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2137/0.4228, allocations: 124.2 MB / 0.756 GB, free: 5.559 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002354/0.4231, allocations: 75.89 kB / 0.7561 GB, free: 5.484 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002926/0.426, allocations: 0.8254 MB / 0.7569 GB, free: 4.652 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.702e-06/0.4261, allocations: 0 / 0.7569 GB, free: 4.652 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.533e-06/0.4261, allocations: 4 kB / 0.7569 GB, free: 4.648 MB / 0.6355 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.0004767/0.4266, allocations: 360.2 kB / 0.7572 GB, free: 4.254 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.4266, allocations: 16.03 kB / 0.7572 GB, free: 4.238 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.688e-05/0.4267, allocations: 3.906 kB / 0.7572 GB, free: 4.234 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001604/0.4268, allocations: 175 kB / 0.7574 GB, free: 4.023 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.207e-05/0.4269, allocations: 0 / 0.7574 GB, free: 4.023 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.372e-05/0.4269, allocations: 4 kB / 0.7574 GB, free: 4.02 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001331/0.427, allocations: 49.62 kB / 0.7575 GB, free: 3.965 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.28e-06/0.427, allocations: 0 / 0.7575 GB, free: 3.965 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.841e-06/0.4271, allocations: 0 / 0.7575 GB, free: 3.965 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.159e-06/0.4271, allocations: 0 / 0.7575 GB, free: 3.965 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.119e-05/0.4272, allocations: 20 kB / 0.7575 GB, free: 3.945 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006098/0.4278, allocations: 304.9 kB / 0.7578 GB, free: 3.598 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001007/0.4279, allocations: 42.48 kB / 0.7578 GB, free: 3.547 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.716e-05/0.428, allocations: 16.86 kB / 0.7578 GB, free: 3.527 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.312e-05/0.428, allocations: 0 / 0.7578 GB, free: 3.527 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.237e-05/0.428, allocations: 34.56 kB / 0.7579 GB, free: 3.484 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.815e-06/0.4281, allocations: 0 / 0.7579 GB, free: 3.484 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0001876/0.4283, allocations: 49.61 kB / 0.7579 GB, free: 3.43 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.975e-05/0.4283, allocations: 55.45 kB / 0.758 GB, free: 3.363 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001036/0.4284, allocations: 105 kB / 0.7581 GB, free: 3.254 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.325e-05/0.4285, allocations: 25.7 kB / 0.7581 GB, free: 3.223 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.224e-05/0.4285, allocations: 92.08 kB / 0.7582 GB, free: 3.129 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.091e-05/0.4286, allocations: 7.906 kB / 0.7582 GB, free: 3.121 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.106e-06/0.4286, allocations: 4 kB / 0.7582 GB, free: 3.117 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001601/0.4288, allocations: 318.8 kB / 0.7585 GB, free: 2.797 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.973e-05/0.4288, allocations: 8 kB / 0.7585 GB, free: 2.789 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.948e-05/0.4289, allocations: 12 kB / 0.7585 GB, free: 2.777 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.609e-05/0.4289, allocations: 4 kB / 0.7585 GB, free: 2.773 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.216e-06/0.4289, allocations: 0 / 0.7585 GB, free: 2.773 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001373/0.4291, allocations: 53.59 kB / 0.7586 GB, free: 2.715 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.4291, allocations: 12 kB / 0.7586 GB, free: 2.703 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.102e-06/0.4291, allocations: 0 / 0.7586 GB, free: 2.703 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.4291, allocations: 3.938 kB / 0.7586 GB, free: 2.699 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001669/0.4293, allocations: 19.98 kB / 0.7586 GB, free: 2.68 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.188e-06/0.4293, allocations: 0 / 0.7586 GB, free: 2.68 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001184/0.4295, allocations: 31.92 kB / 0.7586 GB, free: 2.648 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.33e-05/0.4295, allocations: 4 kB / 0.7586 GB, free: 2.645 MB / 0.6355 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 () * 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.246e-05/0.4296, allocations: 104.9 kB / 0.7587 GB, free: 2.535 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.822e-05/0.4296, allocations: 4 kB / 0.7587 GB, free: 2.531 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.88e-05/0.4297, allocations: 8.031 kB / 0.7587 GB, free: 2.523 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.277e-06/0.4297, allocations: 0 / 0.7587 GB, free: 2.523 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.73e-06/0.4297, allocations: 0 / 0.7587 GB, free: 2.523 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.4297, allocations: 4 kB / 0.7587 GB, free: 2.52 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002333/0.4299, allocations: 169.5 kB / 0.7589 GB, free: 2.305 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.989e-06/0.43, allocations: 8 kB / 0.7589 GB, free: 2.297 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001282/0.4301, allocations: 15.98 kB / 0.7589 GB, free: 2.281 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.165e-06/0.4301, allocations: 0 / 0.7589 GB, free: 2.281 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.099e-05/0.4301, allocations: 8 kB / 0.7589 GB, free: 2.273 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.151e-06/0.4301, allocations: 0 / 0.7589 GB, free: 2.273 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.716e-06/0.4302, allocations: 0 / 0.7589 GB, free: 2.273 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001908/0.4304, allocations: 155.4 kB / 0.7591 GB, free: 2.105 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.802e-05/0.4304, allocations: 77.11 kB / 0.7592 GB, free: 2.012 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.595e-05/0.4305, allocations: 3.938 kB / 0.7592 GB, free: 2.008 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000149/0.4306, allocations: 19.97 kB / 0.7592 GB, free: 1.988 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.189e-05/0.4307, allocations: 4 kB / 0.7592 GB, free: 1.984 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.842e-06/0.4307, allocations: 0 / 0.7592 GB, free: 1.984 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.783e-05/0.4308, allocations: 87.28 kB / 0.7593 GB, free: 1.898 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.71e-07/0.4308, allocations: 4 kB / 0.7593 GB, free: 1.895 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.00029/0.4311, allocations: 4 kB / 0.7593 GB, free: 1.891 MB / 0.6355 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 () * 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.0001634/0.4312, allocations: 111.2 kB / 0.7594 GB, free: 1.77 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001174/0.4314, allocations: 20.17 kB / 0.7594 GB, free: 1.75 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.47e-06/0.4314, allocations: 0 / 0.7594 GB, free: 1.75 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 6.415e-05/0.4315, allocations: 24.02 kB / 0.7594 GB, free: 1.727 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002413/0.4317, allocations: 7.953 kB / 0.7594 GB, free: 1.719 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002617/0.432, allocations: 80.81 kB / 0.7595 GB, free: 1.617 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003567/0.4324, allocations: 0.6809 MB / 0.7602 GB, free: 0.9102 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.199e-05/0.4324, allocations: 0 / 0.7602 GB, free: 0.9102 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.619e-05/0.4325, allocations: 11.44 kB / 0.7602 GB, free: 0.9023 MB / 0.6355 GB Notification: Performance of SimCode: time 1.843e-06/0.4325, allocations: 3.938 kB / 0.7602 GB, free: 0.8984 MB / 0.6355 GB Notification: Performance of Templates: time 0.002925/0.4354, allocations: 0.5251 MB / 0.7607 GB, free: 384 kB / 0.6355 GB