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.Cos.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: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Cos,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.009236/0.009239, allocations: 110.2 kB / 15.05 MB, free: 6.031 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.001114/0.001114, allocations: 188.2 kB / 15.95 MB, free: 5.965 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 1.903/1.903, allocations: 194.6 MB / 211.3 MB, free: 11.27 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.26/2.26, allocations: 236.1 MB / 492.6 MB, free: 11.29 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004864/0.0004866, allocations: 20 kB / 0.587 GB, free: 2.16 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6493/0.6499, allocations: 98.71 MB / 0.6834 GB, free: 16.82 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1953/0.8452, allocations: 124.3 MB / 0.8048 GB, free: 1.977 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002444/0.8455, allocations: 75.95 kB / 0.8048 GB, free: 1.902 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.0021/0.8476, allocations: 0.6697 MB / 0.8055 GB, free: 1.23 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.461e-06/0.8477, allocations: 0 / 0.8055 GB, free: 1.23 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.476e-06/0.8477, allocations: 0 / 0.8055 GB, free: 1.23 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004038/0.8481, allocations: 335.4 kB / 0.8058 GB, free: 0.8555 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/0.8481, allocations: 8.031 kB / 0.8058 GB, free: 0.8477 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.956e-05/0.8482, allocations: 4 kB / 0.8058 GB, free: 0.8438 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001391/0.8483, allocations: 170.9 kB / 0.806 GB, free: 0.6367 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.124e-05/0.8484, allocations: 0 / 0.806 GB, free: 0.6367 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.235e-05/0.8484, allocations: 0 / 0.806 GB, free: 0.6367 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001916/0.8486, allocations: 61.61 kB / 0.8061 GB, free: 0.5703 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.8486, allocations: 4 kB / 0.8061 GB, free: 0.5664 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.673e-06/0.8486, allocations: 0 / 0.8061 GB, free: 0.5664 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.043e-06/0.8486, allocations: 0 / 0.8061 GB, free: 0.5664 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001998/0.8488, allocations: 47.95 kB / 0.8061 GB, free: 0.5195 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004369/0.8493, allocations: 264.9 kB / 0.8064 GB, free: 216 kB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001479/0.8495, allocations: 46.5 kB / 0.8064 GB, free: 160 kB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.226e-05/0.8495, allocations: 3.984 kB / 0.8064 GB, free: 156 kB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.635e-05/0.8495, allocations: 38.44 kB / 0.8064 GB, free: 108 kB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 2.012e-06/0.8495, allocations: 4.062 kB / 0.8064 GB, free: 104 kB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0004154/0.85, allocations: 97.64 kB / 0.8065 GB, free: 0 / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.936e-05/0.85, allocations: 51.41 kB / 0.8066 GB, free: 15.94 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.799e-05/0.8501, allocations: 89 kB / 0.8067 GB, free: 15.84 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.215e-05/0.8502, allocations: 29.7 kB / 0.8067 GB, free: 15.81 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.067e-05/0.8502, allocations: 80.14 kB / 0.8068 GB, free: 15.73 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.935e-05/0.8503, allocations: 12.03 kB / 0.8068 GB, free: 15.71 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.18e-06/0.8503, allocations: 0 / 0.8068 GB, free: 15.71 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001454/0.8504, allocations: 322.7 kB / 0.8071 GB, free: 15.39 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001037/0.8505, allocations: 23.98 kB / 0.8071 GB, free: 15.37 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.192e-05/0.8506, allocations: 15.98 kB / 0.8071 GB, free: 15.35 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.872e-05/0.8508, allocations: 28.05 kB / 0.8072 GB, free: 15.32 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.298e-06/0.8508, allocations: 0 / 0.8072 GB, free: 15.32 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002578/0.851, allocations: 77.66 kB / 0.8072 GB, free: 15.24 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.8511, allocations: 4 kB / 0.8072 GB, free: 15.24 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.8511, allocations: 0 / 0.8072 GB, free: 15.24 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.8511, allocations: 0 / 0.8072 GB, free: 15.24 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001061/0.8512, allocations: 12.17 kB / 0.8073 GB, free: 15.23 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.918e-06/0.8512, allocations: 4 kB / 0.8073 GB, free: 15.22 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.537e-05/0.8513, allocations: 7.984 kB / 0.8073 GB, free: 15.21 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.094e-06/0.8513, allocations: 0 / 0.8073 GB, free: 15.21 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 9.813e-05/0.8514, allocations: 121.8 kB / 0.8074 GB, free: 15.09 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.799e-05/0.8515, allocations: 11.83 kB / 0.8074 GB, free: 15.07 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000278/0.8518, allocations: 76.78 kB / 0.8075 GB, free: 14.99 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.811e-06/0.8518, allocations: 4.031 kB / 0.8075 GB, free: 14.99 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.779e-06/0.8518, allocations: 0 / 0.8075 GB, free: 14.99 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.389e-06/0.8518, allocations: 0 / 0.8075 GB, free: 14.99 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002123/0.8521, allocations: 161.6 kB / 0.8076 GB, free: 14.78 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.37e-06/0.8521, allocations: 0 / 0.8076 GB, free: 14.78 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.209e-05/0.8522, allocations: 12 kB / 0.8076 GB, free: 14.77 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.895e-06/0.8522, allocations: 4 kB / 0.8076 GB, free: 14.77 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.002e-05/0.8522, allocations: 3.984 kB / 0.8076 GB, free: 14.76 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/0.8522, allocations: 4 kB / 0.8076 GB, free: 14.76 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.674e-06/0.8522, allocations: 0 / 0.8076 GB, free: 14.76 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003055/0.8525, allocations: 175.4 kB / 0.8078 GB, free: 14.57 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.798e-05/0.8526, allocations: 81.05 kB / 0.8079 GB, free: 14.47 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.604e-05/0.8526, allocations: 8.031 kB / 0.8079 GB, free: 14.46 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001096/0.8528, allocations: 8 kB / 0.8079 GB, free: 14.46 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.259e-05/0.8528, allocations: 7.984 kB / 0.8079 GB, free: 14.45 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.52e-06/0.8528, allocations: 0 / 0.8079 GB, free: 14.45 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.126e-05/0.8529, allocations: 79.28 kB / 0.808 GB, free: 14.37 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.79e-07/0.8529, allocations: 3.938 kB / 0.808 GB, free: 14.37 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002853/0.8532, allocations: 0 / 0.808 GB, free: 14.37 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0001437/0.8534, allocations: 107.2 kB / 0.8081 GB, free: 14.25 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002436/0.8536, allocations: 43.95 kB / 0.8081 GB, free: 14.21 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.8536, allocations: 0 / 0.8081 GB, free: 14.21 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001177/0.8538, allocations: 35.98 kB / 0.8082 GB, free: 14.18 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002259/0.854, allocations: 5.203 kB / 0.8082 GB, free: 14.17 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003123/0.8543, allocations: 112.6 kB / 0.8083 GB, free: 14.03 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003268/0.8547, allocations: 0.677 MB / 0.8089 GB, free: 13.33 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.809e-05/0.8547, allocations: 0 / 0.8089 GB, free: 13.33 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.885e-05/0.8548, allocations: 11.5 kB / 0.809 GB, free: 13.32 MB / 0.6355 GB Notification: Performance of SimCode: time 2.041e-06/0.8548, allocations: 4 kB / 0.809 GB, free: 13.31 MB / 0.6355 GB Notification: Performance of Templates: time 0.002497/0.8573, allocations: 350.1 kB / 0.8093 GB, free: 12.98 MB / 0.6355 GB