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.Sort.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.Sort,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.478/2.478, allocations: 252.6 MB / 265.2 MB, free: 5.668 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.002086/0.002086, allocations: 179.8 kB / 324.5 MB, free: 14.44 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.352/2.352, allocations: 205.4 MB / 0.5754 GB, free: 10.54 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.001579/0.001579, allocations: 95.41 kB / 0.6797 GB, free: 15.76 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.584e-05/3.6e-05, allocations: 8 kB / 0.7912 GB, free: 96.63 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2004/0.2004, allocations: 106.2 MB / 0.8949 GB, free: 6.293 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.849/1.05, allocations: 131.5 MB / 1.023 GB, free: 3.012 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002727/1.05, allocations: 68.53 kB / 1.023 GB, free: 2.977 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01684/1.067, allocations: 3.618 MB / 1.027 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.783e-06/1.067, allocations: 0 / 1.027 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.225e-05/1.067, allocations: 0 / 1.027 GB, free: 15.75 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.001124/1.068, allocations: 481.6 kB / 1.027 GB, free: 15.24 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/1.068, allocations: 12.03 kB / 1.027 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.663e-05/1.068, allocations: 15.81 kB / 1.027 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000291/1.068, allocations: 213.2 kB / 1.028 GB, free: 14.97 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.473e-05/1.068, allocations: 3.562 kB / 1.028 GB, free: 14.97 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.27e-05/1.068, allocations: 8 kB / 1.028 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003421/1.069, allocations: 130 kB / 1.028 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/1.069, allocations: 0 / 1.028 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.066e-05/1.069, allocations: 0 / 1.028 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/1.069, allocations: 0 / 1.028 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000257/1.069, allocations: 80.17 kB / 1.028 GB, free: 14.81 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001474/1.071, allocations: 0.5215 MB / 1.028 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001888/1.071, allocations: 81.81 kB / 1.028 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001628/1.071, allocations: 69.78 kB / 1.029 GB, free: 14.19 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 4.788e-05/1.071, allocations: 4 kB / 1.029 GB, free: 14.18 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.834e-05/1.071, allocations: 30.56 kB / 1.029 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=15): time 2.465e-06/1.071, allocations: 0 / 1.029 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of matching and sorting (n=15): time 0.0004607/1.072, allocations: 157.7 kB / 1.029 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.116e-05/1.072, allocations: 59.34 kB / 1.029 GB, free: 13.95 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001494/1.072, allocations: 125.7 kB / 1.029 GB, free: 13.83 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.886e-05/1.072, allocations: 33.7 kB / 1.029 GB, free: 13.79 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 7.381e-05/1.072, allocations: 107.9 kB / 1.029 GB, free: 13.69 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 6.506e-05/1.072, allocations: 45.42 kB / 1.029 GB, free: 13.65 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.28e-05/1.072, allocations: 0 / 1.029 GB, free: 13.65 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001339/1.072, allocations: 325 kB / 1.029 GB, free: 13.33 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001449/1.072, allocations: 52.8 kB / 1.029 GB, free: 13.29 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001423/1.072, allocations: 55.55 kB / 1.029 GB, free: 13.26 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001531/1.073, allocations: 65.44 kB / 1.03 GB, free: 13.21 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/1.073, allocations: 3.953 kB / 1.03 GB, free: 13.21 MB / 0.6511 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003823/1.073, allocations: 168.9 kB / 1.03 GB, free: 13.07 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/1.073, allocations: 4 kB / 1.03 GB, free: 13.07 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.581e-05/1.073, allocations: 7.984 kB / 1.03 GB, free: 13.06 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.973e-05/1.073, allocations: 3.984 kB / 1.03 GB, free: 13.06 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004399/1.074, allocations: 43.95 kB / 1.03 GB, free: 13.02 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/1.074, allocations: 4 kB / 1.03 GB, free: 13.01 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003556/1.074, allocations: 55.11 kB / 1.03 GB, free: 12.96 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.712e-05/1.074, allocations: 4 kB / 1.03 GB, free: 12.96 MB / 0.6511 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 (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 9.561e-05/1.074, allocations: 111.1 kB / 1.03 GB, free: 12.85 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.864e-05/1.074, allocations: 11.86 kB / 1.03 GB, free: 12.84 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005127/1.075, allocations: 185.9 kB / 1.03 GB, free: 12.69 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.62e-06/1.075, allocations: 0 / 1.03 GB, free: 12.69 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/1.075, allocations: 0 / 1.03 GB, free: 12.69 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/1.075, allocations: 3.938 kB / 1.03 GB, free: 12.68 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000363/1.075, allocations: 249.1 kB / 1.03 GB, free: 12.42 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.288e-05/1.075, allocations: 4 kB / 1.03 GB, free: 12.41 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003989/1.076, allocations: 51.89 kB / 1.03 GB, free: 12.37 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/1.076, allocations: 0 / 1.03 GB, free: 12.37 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.332e-05/1.076, allocations: 7.984 kB / 1.03 GB, free: 12.36 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/1.076, allocations: 0 / 1.03 GB, free: 12.36 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/1.076, allocations: 0 / 1.03 GB, free: 12.36 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004343/1.076, allocations: 265.3 kB / 1.031 GB, free: 12.12 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.023e-05/1.076, allocations: 88.97 kB / 1.031 GB, free: 12.02 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.313e-05/1.076, allocations: 4 kB / 1.031 GB, free: 12.01 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003892/1.077, allocations: 50.77 kB / 1.031 GB, free: 11.96 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.453e-05/1.077, allocations: 15.59 kB / 1.031 GB, free: 11.95 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.314e-05/1.077, allocations: 4 kB / 1.031 GB, free: 11.95 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001027/1.077, allocations: 114.6 kB / 1.031 GB, free: 11.85 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5.41e-07/1.077, allocations: 0 / 1.031 GB, free: 11.85 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003915/1.077, allocations: 43.84 kB / 1.031 GB, free: 11.8 MB / 0.6511 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 (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0002765/1.078, allocations: 128.5 kB / 1.031 GB, free: 11.68 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0004435/1.078, allocations: 205.9 kB / 1.031 GB, free: 11.5 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/1.078, allocations: 0 / 1.031 GB, free: 11.5 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002366/1.078, allocations: 134.6 kB / 1.031 GB, free: 11.38 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000365/1.079, allocations: 22.55 kB / 1.031 GB, free: 11.37 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006062/1.079, allocations: 211.3 kB / 1.032 GB, free: 11.17 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000352/1.08, allocations: 0.7279 MB / 1.032 GB, free: 10.41 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001318/1.08, allocations: 15.94 kB / 1.032 GB, free: 10.39 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.454e-05/1.08, allocations: 11.44 kB / 1.032 GB, free: 10.38 MB / 0.6511 GB Notification: Performance of SimCode: time 8.81e-07/1.08, allocations: 0 / 1.032 GB, free: 10.38 MB / 0.6511 GB Notification: Performance of Templates: time 0.006692/1.087, allocations: 1.624 MB / 1.034 GB, free: 8.789 MB / 0.6511 GB