Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Add,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Continuous.Validation.Add") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.93/4.93, allocations: 0.5623 GB / 0.5775 GB, free: 3.355 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.003525/0.003525, allocations: 352.5 kB / 0.6446 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.135/4.135, allocations: 410.7 MB / 1.113 GB, free: 6.023 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00183/0.001829, allocations: 197.6 kB / 1.226 GB, free: 6.188 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.000497/0.0004974, allocations: 12 kB / 1.349 GB, free: 8.305 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7369/0.7375, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2014/0.939, allocations: 137.4 MB / 1.595 GB, free: 146.9 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002495/0.9393, allocations: 84.67 kB / 1.596 GB, free: 146.8 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.0031/0.9424, allocations: 0.8353 MB / 1.596 GB, free: 146 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.174e-06/0.9425, allocations: 0 / 1.596 GB, free: 146 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 7.273e-06/0.9425, allocations: 0 / 1.596 GB, free: 146 MB / 0.8542 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.0005169/0.943, allocations: 369.6 kB / 1.597 GB, free: 145.6 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.9431, allocations: 16.69 kB / 1.597 GB, free: 145.6 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.057e-05/0.9431, allocations: 11.84 kB / 1.597 GB, free: 145.6 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001016/0.9432, allocations: 171 kB / 1.597 GB, free: 145.4 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.425e-05/0.9432, allocations: 0.6562 kB / 1.597 GB, free: 145.4 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.438e-05/0.9433, allocations: 4 kB / 1.597 GB, free: 145.4 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003583/0.9436, allocations: 81.95 kB / 1.597 GB, free: 145.3 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.9437, allocations: 0.875 kB / 1.597 GB, free: 145.3 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.266e-05/0.9437, allocations: 0 / 1.597 GB, free: 145.3 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.9437, allocations: 1.969 kB / 1.597 GB, free: 145.3 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005095/0.9442, allocations: 86.8 kB / 1.597 GB, free: 145.2 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000602/0.9448, allocations: 312.3 kB / 1.597 GB, free: 144.9 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003318/0.9452, allocations: 64.97 kB / 1.597 GB, free: 144.8 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002768/0.9455, allocations: 55.45 kB / 1.598 GB, free: 144.7 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.822e-05/0.9455, allocations: 0 / 1.598 GB, free: 144.7 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.449e-05/0.9455, allocations: 36.67 kB / 1.598 GB, free: 144.7 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=3): time 1.473e-06/0.9455, allocations: 0 / 1.598 GB, free: 144.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3): time 0.0008931/0.9464, allocations: 165.1 kB / 1.598 GB, free: 144.5 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.754e-05/0.9465, allocations: 51.41 kB / 1.598 GB, free: 144.5 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.896e-05/0.9466, allocations: 122.7 kB / 1.598 GB, free: 144.3 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.243e-05/0.9466, allocations: 25.7 kB / 1.598 GB, free: 144.3 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.172e-05/0.9467, allocations: 93.72 kB / 1.598 GB, free: 144.2 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.303e-05/0.9467, allocations: 11.81 kB / 1.598 GB, free: 144.2 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.801e-06/0.9467, allocations: 0 / 1.598 GB, free: 144.2 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 5.913e-05/0.9468, allocations: 315.8 kB / 1.598 GB, free: 143.9 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002604/0.947, allocations: 45.7 kB / 1.598 GB, free: 143.8 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002521/0.9473, allocations: 42.22 kB / 1.598 GB, free: 143.8 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002554/0.9476, allocations: 48.86 kB / 1.598 GB, free: 143.8 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.9476, allocations: 0 / 1.598 GB, free: 143.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0005621/0.9482, allocations: 119.7 kB / 1.599 GB, free: 143.6 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/0.9482, allocations: 6.969 kB / 1.599 GB, free: 143.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.9482, allocations: 5.406 kB / 1.599 GB, free: 143.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.9482, allocations: 0 / 1.599 GB, free: 143.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002125/0.9485, allocations: 20.58 kB / 1.599 GB, free: 143.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.583e-06/0.9485, allocations: 0.7812 kB / 1.599 GB, free: 143.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001534/0.9486, allocations: 26.06 kB / 1.599 GB, free: 143.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.095e-05/0.9487, allocations: 3.953 kB / 1.599 GB, free: 143.6 MB / 0.8542 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 7.663e-05/0.9488, allocations: 111 kB / 1.599 GB, free: 143.5 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.28e-05/0.9488, allocations: 3.906 kB / 1.599 GB, free: 143.5 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.123e-05/0.9488, allocations: 11.91 kB / 1.599 GB, free: 143.5 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.9489, allocations: 0.5312 kB / 1.599 GB, free: 143.5 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.9489, allocations: 1.438 kB / 1.599 GB, free: 143.5 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.9489, allocations: 0.5156 kB / 1.599 GB, free: 143.5 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001782/0.9491, allocations: 173.6 kB / 1.599 GB, free: 143.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.9491, allocations: 0 / 1.599 GB, free: 143.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001971/0.9493, allocations: 21.42 kB / 1.599 GB, free: 143.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.27e-06/0.9493, allocations: 0 / 1.599 GB, free: 143.2 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.142e-05/0.9493, allocations: 5.312 kB / 1.599 GB, free: 143.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.9493, allocations: 0 / 1.599 GB, free: 143.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/0.9494, allocations: 4 kB / 1.599 GB, free: 143.2 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005931/0.95, allocations: 224.1 kB / 1.599 GB, free: 143 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.792e-05/0.95, allocations: 81.02 kB / 1.599 GB, free: 142.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.94e-05/0.95, allocations: 4 kB / 1.599 GB, free: 142.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001836/0.9502, allocations: 15.98 kB / 1.599 GB, free: 142.9 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.433e-05/0.9503, allocations: 14.45 kB / 1.599 GB, free: 142.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.793e-06/0.9503, allocations: 0 / 1.599 GB, free: 142.9 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.528e-05/0.9504, allocations: 95.58 kB / 1.599 GB, free: 142.8 MB / 0.8542 GB Notification: Performance of sort global known variables: time 3.71e-07/0.9504, allocations: 0 / 1.599 GB, free: 142.8 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002647/0.9506, allocations: 8 kB / 1.599 GB, free: 142.8 MB / 0.8542 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.0001226/0.9508, allocations: 96.41 kB / 1.599 GB, free: 142.6 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0005792/0.9514, allocations: 95.7 kB / 1.6 GB, free: 142.6 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.9514, allocations: 4.047 kB / 1.6 GB, free: 142.6 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0002772/0.9517, allocations: 45.44 kB / 1.6 GB, free: 142.5 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003651/0.9521, allocations: 12.81 kB / 1.6 GB, free: 142.5 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003727/0.9524, allocations: 145.1 kB / 1.6 GB, free: 142.3 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001336/0.9526, allocations: 0.686 MB / 1.6 GB, free: 141.6 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.818e-05/0.9526, allocations: 4.656 kB / 1.6 GB, free: 141.6 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.99e-05/0.9527, allocations: 8.094 kB / 1.6 GB, free: 141.6 MB / 0.8542 GB Notification: Performance of SimCode: time 1.613e-06/0.9527, allocations: 0 / 1.6 GB, free: 141.6 MB / 0.8542 GB Notification: Performance of Templates: time 0.003128/0.9558, allocations: 0.5371 MB / 1.601 GB, free: 141.1 MB / 0.8542 GB