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.294/2.294, allocations: 251.1 MB / 266.1 MB, free: 11.57 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.002464/0.002464, allocations: 176.8 kB / 325.6 MB, free: 2.832 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.569/2.569, allocations: 205.4 MB / 0.5766 GB, free: 21.14 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.001115/0.001115, allocations: 96.36 kB / 0.6811 GB, free: 14.02 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006233/0.0006237, allocations: 12.84 kB / 0.7951 GB, free: 135.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.208/0.2086, allocations: 106.3 MB / 0.8989 GB, free: 65.93 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2578/0.4665, allocations: 131.6 MB / 1.027 GB, free: 14.14 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002843/0.4668, allocations: 79.95 kB / 1.028 GB, free: 14.06 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01632/0.4832, allocations: 3.611 MB / 1.031 GB, free: 10.44 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.174e-06/0.4832, allocations: 0 / 1.031 GB, free: 10.44 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.428e-05/0.4833, allocations: 4 kB / 1.031 GB, free: 10.43 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.00118/0.4844, allocations: 0.4908 MB / 1.032 GB, free: 9.895 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.4845, allocations: 11.97 kB / 1.032 GB, free: 9.883 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.346e-05/0.4846, allocations: 15.81 kB / 1.032 GB, free: 9.867 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002524/0.4848, allocations: 210.6 kB / 1.032 GB, free: 9.621 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.548e-05/0.4849, allocations: 4 kB / 1.032 GB, free: 9.617 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.247e-05/0.4849, allocations: 8 kB / 1.032 GB, free: 9.609 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009168/0.4858, allocations: 209.4 kB / 1.032 GB, free: 9.398 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.4859, allocations: 0 / 1.032 GB, free: 9.398 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.272e-05/0.4859, allocations: 4 kB / 1.032 GB, free: 9.395 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.966e-06/0.4859, allocations: 4 kB / 1.032 GB, free: 9.391 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001381/0.4873, allocations: 251.7 kB / 1.032 GB, free: 9.145 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001441/0.4888, allocations: 0.5159 MB / 1.033 GB, free: 8.578 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007637/0.4895, allocations: 171.4 kB / 1.033 GB, free: 8.402 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 4.859e-05/0.4896, allocations: 0 / 1.033 GB, free: 8.402 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.087e-05/0.4896, allocations: 34.56 kB / 1.033 GB, free: 8.359 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=15): time 1.893e-06/0.4896, allocations: 4 kB / 1.033 GB, free: 8.355 MB / 0.6823 GB Notification: Performance of matching and sorting (n=15): time 0.00243/0.4921, allocations: 0.6152 MB / 1.034 GB, free: 7.699 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.382e-05/0.4922, allocations: 55.34 kB / 1.034 GB, free: 7.633 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001439/0.4923, allocations: 131 kB / 1.034 GB, free: 7.5 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.501e-05/0.4923, allocations: 25.7 kB / 1.034 GB, free: 7.469 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 7.643e-05/0.4924, allocations: 116.3 kB / 1.034 GB, free: 7.348 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 6.698e-05/0.4925, allocations: 47.28 kB / 1.034 GB, free: 7.301 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.152e-05/0.4925, allocations: 4 kB / 1.034 GB, free: 7.297 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001184/0.4927, allocations: 322.8 kB / 1.034 GB, free: 6.973 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007158/0.4934, allocations: 139.9 kB / 1.034 GB, free: 6.836 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007093/0.4941, allocations: 135.9 kB / 1.034 GB, free: 6.703 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000713/0.4949, allocations: 143.9 kB / 1.035 GB, free: 6.562 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.4949, allocations: 0 / 1.035 GB, free: 6.562 MB / 0.6823 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.001544/0.4964, allocations: 341.2 kB / 1.035 GB, free: 6.223 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.1e-05/0.4965, allocations: 7.938 kB / 1.035 GB, free: 6.215 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.388e-05/0.4965, allocations: 0 / 1.035 GB, free: 6.215 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.666e-05/0.4965, allocations: 4 kB / 1.035 GB, free: 6.211 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004353/0.497, allocations: 55.88 kB / 1.035 GB, free: 6.156 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.673e-06/0.497, allocations: 0 / 1.035 GB, free: 6.156 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003688/0.4974, allocations: 51.95 kB / 1.035 GB, free: 6.105 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.296e-05/0.4974, allocations: 0 / 1.035 GB, free: 6.105 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 (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 0.0001454/0.4976, allocations: 129.8 kB / 1.035 GB, free: 5.969 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.104e-05/0.4976, allocations: 15.77 kB / 1.035 GB, free: 5.953 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001659/0.4993, allocations: 355.8 kB / 1.036 GB, free: 5.602 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.222e-06/0.4993, allocations: 0 / 1.036 GB, free: 5.602 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.4993, allocations: 0 / 1.036 GB, free: 5.602 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.4994, allocations: 4 kB / 1.036 GB, free: 5.598 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003507/0.4997, allocations: 241.4 kB / 1.036 GB, free: 5.312 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.506e-05/0.4997, allocations: 19.83 kB / 1.036 GB, free: 5.293 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004026/0.5002, allocations: 43.95 kB / 1.036 GB, free: 5.25 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.27e-06/0.5002, allocations: 4 kB / 1.036 GB, free: 5.246 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.196e-05/0.5002, allocations: 4 kB / 1.036 GB, free: 5.242 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/0.5002, allocations: 7.984 kB / 1.036 GB, free: 5.234 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.5002, allocations: 0 / 1.036 GB, free: 5.234 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001565/0.5018, allocations: 419.2 kB / 1.036 GB, free: 4.809 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.602e-05/0.5019, allocations: 104.8 kB / 1.036 GB, free: 4.688 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.148e-05/0.5019, allocations: 0 / 1.036 GB, free: 4.688 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003919/0.5023, allocations: 43.95 kB / 1.036 GB, free: 4.645 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.339e-05/0.5024, allocations: 15.98 kB / 1.036 GB, free: 4.629 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.956e-05/0.5025, allocations: 0 / 1.036 GB, free: 4.629 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001064/0.5026, allocations: 121.2 kB / 1.036 GB, free: 4.512 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.51e-07/0.5026, allocations: 0 / 1.036 GB, free: 4.512 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003896/0.503, allocations: 40 kB / 1.037 GB, free: 4.473 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 (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.0002798/0.5033, allocations: 123.2 kB / 1.037 GB, free: 4.34 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001579/0.5049, allocations: 372.2 kB / 1.037 GB, free: 3.965 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.5049, allocations: 4 kB / 1.037 GB, free: 3.961 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0008031/0.5057, allocations: 227.2 kB / 1.037 GB, free: 3.727 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003265/0.5061, allocations: 15.98 kB / 1.037 GB, free: 3.711 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007886/0.5069, allocations: 326 kB / 1.038 GB, free: 3.363 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005414/0.5074, allocations: 0.7318 MB / 1.038 GB, free: 2.602 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0001359/0.5076, allocations: 11.98 kB / 1.038 GB, free: 2.59 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.19e-05/0.5076, allocations: 11.44 kB / 1.038 GB, free: 2.582 MB / 0.6823 GB Notification: Performance of SimCode: time 7.91e-07/0.5077, allocations: 0 / 1.038 GB, free: 2.582 MB / 0.6823 GB Notification: Performance of Templates: time 0.005985/0.5137, allocations: 1.601 MB / 1.04 GB, free: 0.9922 MB / 0.6823 GB