Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Cos,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.526/2.526, allocations: 253.1 MB / 260.6 MB, free: 7.414 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001407/0.001407, allocations: 183.1 kB / 319.9 MB, free: 3.086 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.218/2.218, allocations: 205.6 MB / 0.5708 GB, free: 15.27 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001102/0.001102, allocations: 85.39 kB / 0.6751 GB, free: 4.617 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.805e-05/2.816e-05, allocations: 8 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2207/0.2208, allocations: 106.3 MB / 0.8887 GB, free: 11.81 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9214/1.142, allocations: 131.4 MB / 1.017 GB, free: 5.82 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002535/1.143, allocations: 69.02 kB / 1.017 GB, free: 5.781 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002388/1.145, allocations: 0.6713 MB / 1.018 GB, free: 5.16 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.523e-06/1.145, allocations: 0 / 1.018 GB, free: 5.16 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.071e-06/1.145, allocations: 0 / 1.018 GB, free: 5.16 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004995/1.145, allocations: 338.7 kB / 1.018 GB, free: 4.789 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.888e-05/1.146, allocations: 12.02 kB / 1.018 GB, free: 4.777 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.22e-05/1.146, allocations: 4 kB / 1.018 GB, free: 4.773 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001611/1.146, allocations: 167 kB / 1.018 GB, free: 4.57 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.689e-05/1.146, allocations: 0 / 1.018 GB, free: 4.57 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.066e-05/1.146, allocations: 3.938 kB / 1.018 GB, free: 4.566 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.184e-05/1.146, allocations: 11.5 kB / 1.018 GB, free: 4.559 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.436e-05/1.146, allocations: 33.69 kB / 1.018 GB, free: 4.52 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/1.146, allocations: 0 / 1.018 GB, free: 4.52 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/1.146, allocations: 4 kB / 1.018 GB, free: 4.516 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/1.146, allocations: 0 / 1.018 GB, free: 4.516 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004717/1.147, allocations: 247.2 kB / 1.019 GB, free: 4.246 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.741e-05/1.147, allocations: 30.08 kB / 1.019 GB, free: 4.211 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.132e-05/1.147, allocations: 8.859 kB / 1.019 GB, free: 4.199 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.011e-05/1.147, allocations: 4.062 kB / 1.019 GB, free: 4.195 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.718e-05/1.147, allocations: 38.72 kB / 1.019 GB, free: 4.152 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 2.004e-06/1.147, allocations: 2.625 kB / 1.019 GB, free: 4.152 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001687/1.147, allocations: 37.61 kB / 1.019 GB, free: 4.109 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.718e-05/1.147, allocations: 54.78 kB / 1.019 GB, free: 4.047 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.674e-05/1.147, allocations: 89 kB / 1.019 GB, free: 3.953 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.726e-05/1.147, allocations: 29.73 kB / 1.019 GB, free: 3.918 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.829e-05/1.147, allocations: 84.08 kB / 1.019 GB, free: 3.836 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.941e-05/1.147, allocations: 11.89 kB / 1.019 GB, free: 3.824 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.409e-06/1.147, allocations: 3.938 kB / 1.019 GB, free: 3.82 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001204/1.147, allocations: 314.8 kB / 1.019 GB, free: 3.504 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.446e-05/1.147, allocations: 7.688 kB / 1.019 GB, free: 3.5 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.153e-05/1.147, allocations: 0 / 1.019 GB, free: 3.5 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.555e-05/1.147, allocations: 7.938 kB / 1.019 GB, free: 3.492 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/1.147, allocations: 64 / 1.019 GB, free: 3.492 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.6e-05/1.148, allocations: 52.19 kB / 1.019 GB, free: 3.441 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.976e-05/1.148, allocations: 5.406 kB / 1.019 GB, free: 3.438 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/1.148, allocations: 0 / 1.019 GB, free: 3.438 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/1.148, allocations: 0 / 1.019 GB, free: 3.438 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001403/1.148, allocations: 8 kB / 1.019 GB, free: 3.43 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/1.148, allocations: 0 / 1.019 GB, free: 3.43 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.928e-05/1.148, allocations: 11.98 kB / 1.019 GB, free: 3.418 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.345e-06/1.148, allocations: 4.531 kB / 1.019 GB, free: 3.414 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 (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 8.419e-05/1.148, allocations: 104.9 kB / 1.019 GB, free: 3.305 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.051e-05/1.148, allocations: 4 kB / 1.019 GB, free: 3.301 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001349/1.148, allocations: 52.39 kB / 1.019 GB, free: 3.242 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/1.148, allocations: 3.938 kB / 1.019 GB, free: 3.238 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.343e-06/1.148, allocations: 3.984 kB / 1.019 GB, free: 3.234 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.566e-06/1.148, allocations: 0 / 1.019 GB, free: 3.234 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001671/1.148, allocations: 143.8 kB / 1.02 GB, free: 3.062 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/1.148, allocations: 0 / 1.02 GB, free: 3.062 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001027/1.149, allocations: 12.03 kB / 1.02 GB, free: 3.051 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/1.149, allocations: 0 / 1.02 GB, free: 3.051 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.319e-05/1.149, allocations: 3.984 kB / 1.02 GB, free: 3.047 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.724e-06/1.149, allocations: 4 kB / 1.02 GB, free: 3.043 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/1.149, allocations: 0 / 1.02 GB, free: 3.043 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001376/1.149, allocations: 134.2 kB / 1.02 GB, free: 2.902 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.089e-05/1.149, allocations: 89.09 kB / 1.02 GB, free: 2.797 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.896e-05/1.149, allocations: 3.984 kB / 1.02 GB, free: 2.793 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001226/1.149, allocations: 4 kB / 1.02 GB, free: 2.789 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.636e-05/1.149, allocations: 11.92 kB / 1.02 GB, free: 2.777 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.009e-06/1.149, allocations: 0 / 1.02 GB, free: 2.777 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.361e-05/1.149, allocations: 78.66 kB / 1.02 GB, free: 2.703 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.51e-07/1.149, allocations: 4 kB / 1.02 GB, free: 2.699 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002791/1.149, allocations: 0 / 1.02 GB, free: 2.699 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 (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.0001497/1.15, allocations: 105.1 kB / 1.02 GB, free: 2.59 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 9.189e-05/1.15, allocations: 10.94 kB / 1.02 GB, free: 2.582 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/1.15, allocations: 0 / 1.02 GB, free: 2.582 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.275e-05/1.15, allocations: 7.625 kB / 1.02 GB, free: 2.578 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002264/1.15, allocations: 7.938 kB / 1.02 GB, free: 2.57 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002248/1.15, allocations: 67.36 kB / 1.02 GB, free: 2.484 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002778/1.151, allocations: 0.6808 MB / 1.021 GB, free: 1.777 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.344e-05/1.151, allocations: 0 / 1.021 GB, free: 1.777 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.23e-05/1.151, allocations: 15.38 kB / 1.021 GB, free: 1.762 MB / 0.6355 GB Notification: Performance of SimCode: time 7.21e-07/1.151, allocations: 3.938 kB / 1.021 GB, free: 1.758 MB / 0.6355 GB Notification: Performance of Templates: time 0.002661/1.153, allocations: 323.3 kB / 1.021 GB, free: 1.449 MB / 0.6355 GB