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 5.214/5.214, allocations: 0.5623 GB / 0.5769 GB, free: 3.328 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.004401/0.0044, allocations: 358.9 kB / 0.644 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.349/4.349, allocations: 410.7 MB / 1.112 GB, free: 5.98 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.001751/0.00175, allocations: 182.7 kB / 1.225 GB, free: 6.074 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004877/0.0004879, allocations: 12 kB / 1.348 GB, free: 8.188 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6622/0.6627, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Add): time 0.0007298/0.6635, allocations: 441.8 kB / 1.461 GB, free: 283.9 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.000804/0.6643, allocations: 0.7925 MB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.537e-05/0.6644, allocations: 4 kB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 1.465e-05/0.6644, allocations: 4.531 kB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 6.6e-05/0.6645, allocations: 8.719 kB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 4.581e-05/0.6645, allocations: 7.984 kB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 6.539e-05/0.6646, allocations: 41.66 kB / 1.462 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 8.54e-05/0.6647, allocations: 4 kB / 1.462 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 5.372e-05/0.6648, allocations: 19.92 kB / 1.462 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 4.278e-05/0.6648, allocations: 20.77 kB / 1.462 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.561e-05/0.6648, allocations: 7.938 kB / 1.462 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 8.711e-06/0.6649, allocations: 0.9688 kB / 1.462 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.233e-05/0.6649, allocations: 7.984 kB / 1.462 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 1.79e-05/0.6649, allocations: 29.7 kB / 1.462 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 5.544e-05/0.665, allocations: 30.39 kB / 1.462 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.232e-06/0.665, allocations: 4 kB / 1.462 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.601e-06/0.665, allocations: 0 / 1.462 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.174e-06/0.665, allocations: 0 / 1.462 GB, free: 282.9 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.0004263/0.6655, allocations: 372.4 kB / 1.462 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.6655, allocations: 11.62 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.042e-05/0.6656, allocations: 7.906 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.627e-05/0.6656, allocations: 171 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.36e-05/0.6657, allocations: 6.75 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.151e-05/0.6657, allocations: 0 / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002586/0.666, allocations: 82.33 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.45e-06/0.666, allocations: 1.641 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.714e-06/0.666, allocations: 0.6875 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.577e-06/0.666, allocations: 4.562 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003315/0.6664, allocations: 84.36 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003338/0.6667, allocations: 286.4 kB / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002283/0.6669, allocations: 65.52 kB / 1.463 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001788/0.6671, allocations: 50.41 kB / 1.463 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.468e-05/0.6672, allocations: 0.5625 kB / 1.463 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.866e-05/0.6672, allocations: 36.69 kB / 1.463 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=3): time 2.09e-06/0.6672, allocations: 0 / 1.463 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3): time 0.0006085/0.6678, allocations: 167.5 kB / 1.463 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.024e-05/0.6679, allocations: 56.28 kB / 1.463 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.331e-05/0.6679, allocations: 118 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.051e-05/0.668, allocations: 27.02 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 3.149e-05/0.668, allocations: 88.14 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.811e-05/0.668, allocations: 7.812 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.997e-06/0.6681, allocations: 1.219 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 5.226e-05/0.6681, allocations: 318.8 kB / 1.464 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001713/0.6683, allocations: 44.59 kB / 1.464 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001566/0.6685, allocations: 47.89 kB / 1.464 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001647/0.6686, allocations: 43.34 kB / 1.464 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.201e-06/0.6687, allocations: 0 / 1.464 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003951/0.6691, allocations: 124.4 kB / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.557e-05/0.6691, allocations: 7.438 kB / 1.464 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.6691, allocations: 0 / 1.464 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.6691, allocations: 0 / 1.464 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000149/0.6693, allocations: 25.69 kB / 1.464 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.677e-06/0.6693, allocations: 0 / 1.464 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.562e-05/0.6694, allocations: 17.73 kB / 1.464 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.791e-06/0.6694, allocations: 3.953 kB / 1.464 GB, free: 280.5 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 6.045e-05/0.6695, allocations: 117 kB / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.715e-05/0.6696, allocations: 3.906 kB / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.478e-05/0.6696, allocations: 15.89 kB / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.626e-06/0.6696, allocations: 0 / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.6696, allocations: 0 / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.124e-06/0.6696, allocations: 0 / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001623/0.6698, allocations: 169.6 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.155e-06/0.6698, allocations: 0.9062 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001236/0.6699, allocations: 25.09 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.931e-06/0.67, allocations: 0 / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/0.67, allocations: 1 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.613e-06/0.67, allocations: 7.938 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.659e-06/0.67, allocations: 0.5625 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007478/0.6708, allocations: 216.7 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.689e-05/0.6709, allocations: 83.23 kB / 1.465 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.972e-05/0.6709, allocations: 3.984 kB / 1.465 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002516/0.6712, allocations: 19.98 kB / 1.465 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.179e-05/0.6713, allocations: 8.875 kB / 1.465 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.673e-06/0.6713, allocations: 0 / 1.465 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.945e-05/0.6714, allocations: 92.42 kB / 1.465 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of sort global known variables: time 9.8e-07/0.6714, allocations: 0 / 1.465 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0005956/0.672, allocations: 8 kB / 1.465 GB, free: 279.7 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.0001687/0.6722, allocations: 100.9 kB / 1.465 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0007206/0.6729, allocations: 99.42 kB / 1.465 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 6.736e-06/0.6729, allocations: 0.7188 kB / 1.465 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0003526/0.6733, allocations: 51.86 kB / 1.465 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006695/0.674, allocations: 9.812 kB / 1.465 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00045/0.6745, allocations: 142.4 kB / 1.465 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001555/0.6747, allocations: 0.6828 MB / 1.466 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 5.918e-05/0.6747, allocations: 8 kB / 1.466 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.524e-05/0.6748, allocations: 7.438 kB / 1.466 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of SimCode: time 2.142e-06/0.6748, allocations: 1.719 kB / 1.466 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of Templates: time 0.004294/0.6791, allocations: 0.5364 MB / 1.467 GB, free: 278 MB / 0.8542 GB