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.395/2.395, allocations: 253.2 MB / 260.6 MB, free: 7.5 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.00223/0.00223, allocations: 184.8 kB / 319.9 MB, free: 3.035 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.151/2.151, allocations: 205.6 MB / 0.5708 GB, free: 15.24 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.001111/0.00111, allocations: 80.89 kB / 0.6751 GB, free: 4.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.549e-05/2.565e-05, allocations: 8 kB / 0.7849 GB, free: 102.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1968/0.1969, allocations: 106.3 MB / 0.8887 GB, free: 11.8 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9558/1.153, allocations: 131.8 MB / 1.017 GB, free: 5.5 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003375/1.153, allocations: 73.02 kB / 1.017 GB, free: 5.461 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02331/1.177, allocations: 3.594 MB / 1.021 GB, free: 2.297 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.054e-06/1.177, allocations: 0 / 1.021 GB, free: 2.297 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.51e-05/1.177, allocations: 4 kB / 1.021 GB, free: 2.293 MB / 0.6355 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.001597/1.178, allocations: 480.6 kB / 1.021 GB, free: 1.789 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.586e-05/1.178, allocations: 12.02 kB / 1.021 GB, free: 1.777 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.633e-05/1.178, allocations: 15.81 kB / 1.021 GB, free: 1.762 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003923/1.179, allocations: 214.1 kB / 1.022 GB, free: 1.516 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.933e-05/1.179, allocations: 4 kB / 1.022 GB, free: 1.512 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.135e-05/1.179, allocations: 8 kB / 1.022 GB, free: 1.504 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003848/1.179, allocations: 79.92 kB / 1.022 GB, free: 1.453 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000432/1.18, allocations: 113.3 kB / 1.022 GB, free: 1.359 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/1.18, allocations: 4 kB / 1.022 GB, free: 1.355 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.837e-05/1.18, allocations: 0 / 1.022 GB, free: 1.355 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.748e-06/1.18, allocations: 0 / 1.022 GB, free: 1.355 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002011/1.182, allocations: 491.5 kB / 1.022 GB, free: 0.8906 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002597/1.182, allocations: 80.55 kB / 1.022 GB, free: 0.8281 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002143/1.182, allocations: 67.34 kB / 1.022 GB, free: 0.7812 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 6.2e-05/1.183, allocations: 7.984 kB / 1.023 GB, free: 0.7773 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.991e-05/1.183, allocations: 34.56 kB / 1.023 GB, free: 0.7344 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=15): time 4.569e-06/1.183, allocations: 0 / 1.023 GB, free: 0.7344 MB / 0.6355 GB Notification: Performance of matching and sorting (n=15): time 0.0007239/1.183, allocations: 158.6 kB / 1.023 GB, free: 0.6094 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.698e-05/1.183, allocations: 51.41 kB / 1.023 GB, free: 0.5469 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002162/1.184, allocations: 131.8 kB / 1.023 GB, free: 428 kB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.567e-05/1.184, allocations: 25.7 kB / 1.023 GB, free: 396 kB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001008/1.184, allocations: 111.6 kB / 1.023 GB, free: 288 kB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 8.232e-05/1.184, allocations: 50.36 kB / 1.023 GB, free: 244 kB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.786e-05/1.184, allocations: 4 kB / 1.023 GB, free: 240 kB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002001/1.184, allocations: 322.6 kB / 1.023 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001896/1.184, allocations: 49.3 kB / 1.023 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001882/1.185, allocations: 54.73 kB / 1.023 GB, free: 15.85 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003072/1.185, allocations: 64.7 kB / 1.024 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/1.185, allocations: 0 / 1.024 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006288/1.186, allocations: 163.3 kB / 1.024 GB, free: 15.67 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.898e-05/1.186, allocations: 8 kB / 1.024 GB, free: 15.66 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.022e-05/1.186, allocations: 0 / 1.024 GB, free: 15.66 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.294e-05/1.186, allocations: 0 / 1.024 GB, free: 15.66 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006151/1.186, allocations: 55.27 kB / 1.024 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/1.186, allocations: 0 / 1.024 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005192/1.187, allocations: 47.89 kB / 1.024 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.313e-05/1.187, allocations: 11.92 kB / 1.024 GB, free: 15.55 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 0.0001286/1.187, allocations: 101 kB / 1.024 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.672e-05/1.187, allocations: 19.77 kB / 1.024 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008251/1.188, allocations: 189.1 kB / 1.024 GB, free: 15.28 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.015e-06/1.188, allocations: 0 / 1.024 GB, free: 15.28 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.163e-05/1.188, allocations: 4 kB / 1.024 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.111e-06/1.188, allocations: 3.938 kB / 1.024 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004677/1.189, allocations: 214 kB / 1.024 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-05/1.189, allocations: 4 kB / 1.024 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005717/1.189, allocations: 47.95 kB / 1.024 GB, free: 15 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.39e-05/1.189, allocations: 0 / 1.024 GB, free: 15 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.974e-05/1.189, allocations: 11.89 kB / 1.024 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/1.189, allocations: 0 / 1.024 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/1.189, allocations: 0 / 1.024 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007042/1.19, allocations: 263.1 kB / 1.025 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 7.894e-05/1.19, allocations: 89.02 kB / 1.025 GB, free: 14.64 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.36e-05/1.19, allocations: 0 / 1.025 GB, free: 14.64 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005746/1.191, allocations: 47.91 kB / 1.025 GB, free: 14.6 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000127/1.191, allocations: 19.28 kB / 1.025 GB, free: 14.58 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.837e-05/1.191, allocations: 8 kB / 1.025 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.00014/1.191, allocations: 106 kB / 1.025 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of sort global known variables: time 6.71e-07/1.191, allocations: 0 / 1.025 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0007266/1.192, allocations: 43.84 kB / 1.025 GB, free: 14.44 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.0003726/1.192, allocations: 117.1 kB / 1.025 GB, free: 14.32 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0006072/1.193, allocations: 198.2 kB / 1.025 GB, free: 14.15 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/1.193, allocations: 0 / 1.025 GB, free: 14.15 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0003364/1.193, allocations: 139.9 kB / 1.025 GB, free: 14.03 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005249/1.194, allocations: 21.27 kB / 1.025 GB, free: 14.01 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008156/1.195, allocations: 201.5 kB / 1.026 GB, free: 13.82 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004999/1.195, allocations: 0.7274 MB / 1.026 GB, free: 13.06 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002307/1.196, allocations: 27.92 kB / 1.026 GB, free: 13.04 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.183e-05/1.196, allocations: 7.438 kB / 1.026 GB, free: 13.03 MB / 0.6511 GB Notification: Performance of SimCode: time 1.202e-06/1.196, allocations: 0 / 1.026 GB, free: 13.03 MB / 0.6511 GB Notification: Performance of Templates: time 0.008488/1.204, allocations: 1.497 MB / 1.028 GB, free: 11.56 MB / 0.6511 GB