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.3/2.3, allocations: 251.1 MB / 266.1 MB, free: 11.61 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001549/0.001549, allocations: 194.2 kB / 325.6 MB, free: 2.805 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.497/2.497, allocations: 205.4 MB / 0.5766 GB, free: 20.73 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.001079/0.001079, allocations: 88.77 kB / 0.6811 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004674/0.0004675, allocations: 14.91 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2142/0.2147, allocations: 106.3 MB / 0.8989 GB, free: 65.43 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2221/0.4369, allocations: 131.3 MB / 1.027 GB, free: 13.99 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002747/0.4372, allocations: 67.97 kB / 1.027 GB, free: 13.93 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002454/0.4397, allocations: 0.6765 MB / 1.028 GB, free: 13.25 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.785e-06/0.4397, allocations: 0 / 1.028 GB, free: 13.25 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.592e-06/0.4398, allocations: 0 / 1.028 GB, free: 13.25 MB / 0.6823 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.0004582/0.4402, allocations: 343.3 kB / 1.028 GB, free: 12.86 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/0.4403, allocations: 8.031 kB / 1.028 GB, free: 12.86 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.325e-05/0.4403, allocations: 0 / 1.028 GB, free: 12.86 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001318/0.4405, allocations: 174.9 kB / 1.028 GB, free: 12.64 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.57e-05/0.4405, allocations: 4 kB / 1.028 GB, free: 12.64 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.488e-05/0.4405, allocations: 3.938 kB / 1.028 GB, free: 12.64 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002391/0.4408, allocations: 53.67 kB / 1.028 GB, free: 12.58 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.288e-06/0.4408, allocations: 0 / 1.028 GB, free: 12.58 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.289e-05/0.4408, allocations: 4 kB / 1.028 GB, free: 12.57 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.87e-06/0.4408, allocations: 0 / 1.028 GB, free: 12.57 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002936/0.4411, allocations: 47.95 kB / 1.028 GB, free: 12.53 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005017/0.4417, allocations: 260.9 kB / 1.029 GB, free: 12.22 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002228/0.4419, allocations: 54.53 kB / 1.029 GB, free: 12.16 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.141e-05/0.4419, allocations: 0 / 1.029 GB, free: 12.16 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.398e-05/0.442, allocations: 30.56 kB / 1.029 GB, free: 12.12 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 1.203e-06/0.442, allocations: 0 / 1.029 GB, free: 12.12 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.0005575/0.4425, allocations: 105.6 kB / 1.029 GB, free: 12.01 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.274e-05/0.4426, allocations: 55.34 kB / 1.029 GB, free: 11.95 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.68e-05/0.4427, allocations: 93 kB / 1.029 GB, free: 11.85 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.776e-05/0.4427, allocations: 25.83 kB / 1.029 GB, free: 11.82 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.865e-05/0.4428, allocations: 88.12 kB / 1.029 GB, free: 11.73 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.936e-05/0.4428, allocations: 3.906 kB / 1.029 GB, free: 11.72 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.829e-06/0.4428, allocations: 0 / 1.029 GB, free: 11.72 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001167/0.4429, allocations: 322.8 kB / 1.029 GB, free: 11.4 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001399/0.4431, allocations: 15.98 kB / 1.029 GB, free: 11.38 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001435/0.4433, allocations: 27.98 kB / 1.029 GB, free: 11.36 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001476/0.4434, allocations: 19.97 kB / 1.029 GB, free: 11.34 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.4434, allocations: 0 / 1.029 GB, free: 11.34 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000334/0.4438, allocations: 73.73 kB / 1.03 GB, free: 11.26 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.4438, allocations: 8 kB / 1.03 GB, free: 11.25 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.4438, allocations: 0 / 1.03 GB, free: 11.25 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.756e-05/0.4438, allocations: 3.984 kB / 1.03 GB, free: 11.25 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001396/0.444, allocations: 11.94 kB / 1.03 GB, free: 11.23 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.902e-06/0.444, allocations: 0 / 1.03 GB, free: 11.23 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.5e-05/0.4441, allocations: 23.95 kB / 1.03 GB, free: 11.21 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.344e-06/0.4441, allocations: 0 / 1.03 GB, free: 11.21 MB / 0.6823 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 8.637e-05/0.4442, allocations: 109.8 kB / 1.03 GB, free: 11.09 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.132e-05/0.4443, allocations: 4 kB / 1.03 GB, free: 11.09 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000366/0.4447, allocations: 80.78 kB / 1.03 GB, free: 11 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.4447, allocations: 4 kB / 1.03 GB, free: 11 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.107e-06/0.4447, allocations: 3.984 kB / 1.03 GB, free: 11 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.4447, allocations: 3.938 kB / 1.03 GB, free: 10.99 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001928/0.4449, allocations: 157.6 kB / 1.03 GB, free: 10.79 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.4449, allocations: 0 / 1.03 GB, free: 10.79 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001064/0.445, allocations: 11.98 kB / 1.03 GB, free: 10.78 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.58e-06/0.4451, allocations: 0 / 1.03 GB, free: 10.78 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.255e-06/0.4451, allocations: 7.969 kB / 1.03 GB, free: 10.77 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.586e-06/0.4451, allocations: 4 kB / 1.03 GB, free: 10.77 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.4451, allocations: 192 / 1.03 GB, free: 10.77 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003919/0.4455, allocations: 179.4 kB / 1.03 GB, free: 10.57 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.266e-05/0.4456, allocations: 81.09 kB / 1.03 GB, free: 10.48 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.513e-05/0.4456, allocations: 0 / 1.03 GB, free: 10.48 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000144/0.4457, allocations: 11.98 kB / 1.03 GB, free: 10.46 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.192e-05/0.4458, allocations: 0 / 1.03 GB, free: 10.46 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.329e-06/0.4458, allocations: 0 / 1.03 GB, free: 10.46 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 4.956e-05/0.4459, allocations: 83.27 kB / 1.03 GB, free: 10.38 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.71e-07/0.4459, allocations: 0 / 1.03 GB, free: 10.38 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002751/0.4462, allocations: 4 kB / 1.03 GB, free: 10.38 MB / 0.6823 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.0001453/0.4463, allocations: 107.3 kB / 1.03 GB, free: 10.27 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003396/0.4467, allocations: 43.91 kB / 1.03 GB, free: 10.22 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.4467, allocations: 64 / 1.03 GB, free: 10.22 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001535/0.4469, allocations: 27.97 kB / 1.03 GB, free: 10.2 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002545/0.4471, allocations: 9.5 kB / 1.031 GB, free: 10.19 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003218/0.4475, allocations: 108.6 kB / 1.031 GB, free: 10.05 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002516/0.4477, allocations: 0.681 MB / 1.031 GB, free: 9.348 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.592e-05/0.4478, allocations: 4 kB / 1.031 GB, free: 9.344 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.067e-05/0.4478, allocations: 7.438 kB / 1.031 GB, free: 9.336 MB / 0.6823 GB Notification: Performance of SimCode: time 9.41e-07/0.4478, allocations: 3.938 kB / 1.031 GB, free: 9.332 MB / 0.6823 GB Notification: Performance of Templates: time 0.002793/0.4506, allocations: 360.6 kB / 1.032 GB, free: 8.984 MB / 0.6823 GB