Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Sort,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Sort,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 2.087/2.087, allocations: 288.3 MB / 303.2 MB, free: 8.281 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001096/0.001096, allocations: 167.2 kB / 371.8 MB, free: 10.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.807/1.807, allocations: 205.4 MB / 0.6306 GB, free: 9.996 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001127/0.001127, allocations: 96.97 kB / 0.7439 GB, free: 5.91 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005529/0.0005531, allocations: 17.75 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3017/0.3023, allocations: 115.3 MB / 0.9794 GB, free: 27.67 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9046/1.207, allocations: 137.9 MB / 1.114 GB, free: 16.27 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002637/1.207, allocations: 67.98 kB / 1.114 GB, free: 16.27 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.009646/1.217, allocations: 3.534 MB / 1.118 GB, free: 31.8 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.426e-06/1.217, allocations: 0 / 1.118 GB, free: 31.8 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.357e-05/1.217, allocations: 0 / 1.118 GB, free: 31.8 MB / 0.698 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.0008073/1.218, allocations: 0.4953 MB / 1.118 GB, free: 31.39 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.671e-05/1.218, allocations: 7.719 kB / 1.118 GB, free: 31.39 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.453e-05/1.218, allocations: 15.5 kB / 1.118 GB, free: 31.38 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002625/1.218, allocations: 204.5 kB / 1.118 GB, free: 31.17 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.146e-05/1.218, allocations: 0 / 1.118 GB, free: 31.17 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.714e-05/1.218, allocations: 14.81 kB / 1.118 GB, free: 31.17 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005464/1.219, allocations: 210 kB / 1.119 GB, free: 31.13 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/1.219, allocations: 0 / 1.119 GB, free: 31.13 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.732e-05/1.219, allocations: 0 / 1.119 GB, free: 31.13 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.826e-06/1.219, allocations: 7.219 kB / 1.119 GB, free: 31.13 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006425/1.22, allocations: 244.9 kB / 1.119 GB, free: 31.12 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008917/1.22, allocations: 0.5168 MB / 1.119 GB, free: 30.83 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003838/1.221, allocations: 168.9 kB / 1.119 GB, free: 30.8 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.593e-05/1.221, allocations: 7.953 kB / 1.12 GB, free: 30.8 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.158e-05/1.221, allocations: 30.56 kB / 1.12 GB, free: 30.76 MB / 0.698 GB Notification: Performance of pre-optimization done (n=15): time 1.393e-06/1.221, allocations: 7.875 kB / 1.12 GB, free: 30.75 MB / 0.698 GB Notification: Performance of matching and sorting (n=15): time 0.001285/1.222, allocations: 0.6268 MB / 1.12 GB, free: 30.5 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.405e-05/1.222, allocations: 54.22 kB / 1.12 GB, free: 30.44 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001523/1.222, allocations: 132 kB / 1.12 GB, free: 30.35 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.811e-05/1.223, allocations: 25.7 kB / 1.12 GB, free: 30.32 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.164e-05/1.223, allocations: 111 kB / 1.12 GB, free: 30.22 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.107e-05/1.223, allocations: 49.3 kB / 1.121 GB, free: 30.19 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.955e-06/1.223, allocations: 0 / 1.121 GB, free: 30.19 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001406/1.223, allocations: 326.3 kB / 1.121 GB, free: 29.88 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003524/1.223, allocations: 136.7 kB / 1.121 GB, free: 29.87 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003288/1.223, allocations: 135.7 kB / 1.121 GB, free: 29.87 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003459/1.224, allocations: 149.6 kB / 1.121 GB, free: 29.86 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/1.224, allocations: 0 / 1.121 GB, free: 29.86 MB / 0.698 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0007491/1.225, allocations: 331.3 kB / 1.122 GB, free: 29.81 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/1.225, allocations: 13.42 kB / 1.122 GB, free: 29.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.303e-05/1.225, allocations: 3 kB / 1.122 GB, free: 29.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.118e-05/1.225, allocations: 0 / 1.122 GB, free: 29.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002447/1.225, allocations: 50.02 kB / 1.122 GB, free: 29.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/1.225, allocations: 3.938 kB / 1.122 GB, free: 29.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001875/1.225, allocations: 53.55 kB / 1.122 GB, free: 29.79 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.192e-05/1.225, allocations: 3.812 kB / 1.122 GB, free: 29.79 MB / 0.698 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.0001069/1.225, allocations: 125.9 kB / 1.122 GB, free: 29.68 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.234e-05/1.225, allocations: 11.69 kB / 1.122 GB, free: 29.67 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008571/1.226, allocations: 370.8 kB / 1.122 GB, free: 29.61 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/1.226, allocations: 0 / 1.122 GB, free: 29.61 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/1.226, allocations: 0 / 1.122 GB, free: 29.61 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/1.226, allocations: 2.766 kB / 1.122 GB, free: 29.61 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000248/1.226, allocations: 249.8 kB / 1.122 GB, free: 29.41 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.091e-06/1.227, allocations: 0 / 1.122 GB, free: 29.41 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002113/1.227, allocations: 50.31 kB / 1.122 GB, free: 29.41 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/1.227, allocations: 0 / 1.122 GB, free: 29.41 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.569e-05/1.227, allocations: 3.953 kB / 1.122 GB, free: 29.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/1.227, allocations: 3.719 kB / 1.122 GB, free: 29.4 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/1.227, allocations: 0 / 1.122 GB, free: 29.4 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008202/1.228, allocations: 435.9 kB / 1.123 GB, free: 29.25 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.215e-05/1.228, allocations: 96.45 kB / 1.123 GB, free: 29.14 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.685e-05/1.228, allocations: 7.75 kB / 1.123 GB, free: 29.14 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002125/1.228, allocations: 51.09 kB / 1.123 GB, free: 29.13 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.538e-05/1.228, allocations: 10.44 kB / 1.123 GB, free: 29.13 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.255e-05/1.228, allocations: 3.969 kB / 1.123 GB, free: 29.13 MB / 0.698 GB Notification: Performance of sorting global known variables: time 8.699e-05/1.228, allocations: 110.7 kB / 1.123 GB, free: 29.05 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/1.228, allocations: 0 / 1.123 GB, free: 29.05 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003166/1.228, allocations: 36.83 kB / 1.123 GB, free: 29.05 MB / 0.698 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.0002668/1.229, allocations: 121.4 kB / 1.123 GB, free: 28.96 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0008253/1.23, allocations: 380.9 kB / 1.124 GB, free: 28.88 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/1.23, allocations: 0 / 1.124 GB, free: 28.88 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004125/1.23, allocations: 222.8 kB / 1.124 GB, free: 28.81 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002549/1.23, allocations: 18.08 kB / 1.124 GB, free: 28.81 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006458/1.231, allocations: 323.1 kB / 1.124 GB, free: 28.62 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004215/1.231, allocations: 0.7312 MB / 1.125 GB, free: 27.91 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 7.748e-05/1.231, allocations: 17.39 kB / 1.125 GB, free: 27.91 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.8e-05/1.231, allocations: 15.22 kB / 1.125 GB, free: 27.89 MB / 0.698 GB Notification: Performance of SimCode: time 2.31e-07/1.231, allocations: 4 kB / 1.125 GB, free: 27.89 MB / 0.698 GB Notification: Performance of Templates: time 0.004382/1.236, allocations: 1.59 MB / 1.126 GB, free: 27.8 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe 2>&1)