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.Add.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.Add,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Add") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.189/2.189, 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.002371/0.002371, allocations: 183.6 kB / 325.6 MB, free: 2.816 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.592/2.592, allocations: 205.4 MB / 0.5766 GB, free: 20.76 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.001188/0.001188, allocations: 97.92 kB / 0.6811 GB, free: 13.58 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004751/0.0004751, allocations: 15.03 kB / 0.7951 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2043/0.2048, allocations: 106.3 MB / 0.8989 GB, free: 65.42 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.228/0.4329, allocations: 131.2 MB / 1.027 GB, free: 14.05 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000355/0.4333, allocations: 75.94 kB / 1.027 GB, free: 13.97 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.004817/0.4381, allocations: 0.8643 MB / 1.028 GB, free: 13.11 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.325e-06/0.4382, allocations: 0 / 1.028 GB, free: 13.11 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.807e-06/0.4382, allocations: 4 kB / 1.028 GB, free: 13.1 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0008632/0.4391, allocations: 379.1 kB / 1.028 GB, free: 12.68 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.43e-05/0.4392, allocations: 8.031 kB / 1.028 GB, free: 12.68 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.723e-05/0.4392, allocations: 4 kB / 1.028 GB, free: 12.67 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001803/0.4394, allocations: 170.9 kB / 1.028 GB, free: 12.46 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.62e-05/0.4394, allocations: 0 / 1.028 GB, free: 12.46 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.458e-05/0.4395, allocations: 4 kB / 1.028 GB, free: 12.46 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005188/0.44, allocations: 81.59 kB / 1.029 GB, free: 12.38 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.44, allocations: 0 / 1.029 GB, free: 12.38 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.684e-05/0.4401, allocations: 0 / 1.029 GB, free: 12.38 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.161e-06/0.4401, allocations: 4 kB / 1.029 GB, free: 12.37 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007578/0.4409, allocations: 95.84 kB / 1.029 GB, free: 12.28 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009833/0.4419, allocations: 308.9 kB / 1.029 GB, free: 11.93 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000449/0.4423, allocations: 62.55 kB / 1.029 GB, free: 11.86 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.732e-05/0.4424, allocations: 4 kB / 1.029 GB, free: 11.85 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.996e-05/0.4425, allocations: 46.58 kB / 1.029 GB, free: 11.8 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=3): time 2.444e-06/0.4425, allocations: 0 / 1.029 GB, free: 11.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3): time 0.001258/0.4437, allocations: 161.4 kB / 1.029 GB, free: 11.63 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.922e-05/0.4438, allocations: 55.41 kB / 1.029 GB, free: 11.57 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001331/0.444, allocations: 109.1 kB / 1.029 GB, free: 11.45 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.823e-05/0.444, allocations: 29.7 kB / 1.029 GB, free: 11.41 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 8.088e-05/0.4441, allocations: 92.08 kB / 1.029 GB, free: 11.32 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.049e-05/0.4441, allocations: 7.891 kB / 1.03 GB, free: 11.31 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.667e-06/0.4442, allocations: 0 / 1.03 GB, free: 11.31 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001693/0.4444, allocations: 314.8 kB / 1.03 GB, free: 11 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003735/0.4447, allocations: 47.95 kB / 1.03 GB, free: 10.95 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003652/0.4451, allocations: 39.97 kB / 1.03 GB, free: 10.91 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000383/0.4455, allocations: 47.91 kB / 1.03 GB, free: 10.86 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.4455, allocations: 0 / 1.03 GB, free: 10.86 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0008354/0.4464, allocations: 125.5 kB / 1.03 GB, free: 10.73 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.488e-05/0.4464, allocations: 5.25 kB / 1.03 GB, free: 10.73 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.4465, allocations: 0 / 1.03 GB, free: 10.73 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.4465, allocations: 0 / 1.03 GB, free: 10.73 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002878/0.4468, allocations: 23.98 kB / 1.03 GB, free: 10.71 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.4468, allocations: 0 / 1.03 GB, free: 10.71 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002282/0.4471, allocations: 15.98 kB / 1.03 GB, free: 10.69 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.51e-05/0.4471, allocations: 3.953 kB / 1.03 GB, free: 10.69 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 (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 0.0001662/0.4473, allocations: 117.8 kB / 1.03 GB, free: 10.56 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.958e-05/0.4473, allocations: 8 kB / 1.03 GB, free: 10.55 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.026e-05/0.4474, allocations: 7.906 kB / 1.03 GB, free: 10.54 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.4474, allocations: 0 / 1.03 GB, free: 10.54 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.087e-06/0.4474, allocations: 0 / 1.03 GB, free: 10.54 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.4475, allocations: 3.938 kB / 1.03 GB, free: 10.54 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000409/0.4479, allocations: 177.6 kB / 1.03 GB, free: 10.32 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.4479, allocations: 3.938 kB / 1.03 GB, free: 10.31 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002504/0.4482, allocations: 19.98 kB / 1.03 GB, free: 10.29 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.4482, allocations: 4 kB / 1.03 GB, free: 10.29 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.652e-05/0.4482, allocations: 4 kB / 1.03 GB, free: 10.29 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.4482, allocations: 0 / 1.03 GB, free: 10.29 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.4482, allocations: 384 / 1.03 GB, free: 10.29 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009209/0.4492, allocations: 223.3 kB / 1.031 GB, free: 10.05 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.878e-05/0.4493, allocations: 77.11 kB / 1.031 GB, free: 9.957 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.862e-05/0.4493, allocations: 4 kB / 1.031 GB, free: 9.953 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003026/0.4496, allocations: 20.3 kB / 1.031 GB, free: 9.934 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.978e-05/0.4497, allocations: 7.984 kB / 1.031 GB, free: 9.926 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.566e-06/0.4497, allocations: 0 / 1.031 GB, free: 9.926 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 9.783e-05/0.4498, allocations: 87.28 kB / 1.031 GB, free: 9.84 MB / 0.6823 GB Notification: Performance of sort global known variables: time 5.11e-07/0.4499, allocations: 3.938 kB / 1.031 GB, free: 9.836 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0005388/0.4504, allocations: 11.91 kB / 1.031 GB, free: 9.824 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 (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.0001883/0.4506, allocations: 103.2 kB / 1.031 GB, free: 9.715 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.000847/0.4515, allocations: 99.91 kB / 1.031 GB, free: 9.617 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.4515, allocations: 0 / 1.031 GB, free: 9.617 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0004047/0.4519, allocations: 39.97 kB / 1.031 GB, free: 9.578 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004005/0.4523, allocations: 11.95 kB / 1.031 GB, free: 9.566 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000519/0.4529, allocations: 144.6 kB / 1.031 GB, free: 9.395 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004028/0.4533, allocations: 0.6848 MB / 1.032 GB, free: 8.684 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 7.61e-05/0.4534, allocations: 7.859 kB / 1.032 GB, free: 8.676 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.255e-05/0.4534, allocations: 11.38 kB / 1.032 GB, free: 8.664 MB / 0.6823 GB Notification: Performance of SimCode: time 8.92e-07/0.4535, allocations: 4 kB / 1.032 GB, free: 8.66 MB / 0.6823 GB Notification: Performance of Templates: time 0.004335/0.4578, allocations: 0.5356 MB / 1.032 GB, free: 8.133 MB / 0.6823 GB