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 1.693/1.693, allocations: 288.4 MB / 304.3 MB, free: 8.004 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.001055/0.001055, allocations: 171.2 kB / 372.9 MB, free: 10.17 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.519/1.519, allocations: 205.4 MB / 0.6317 GB, free: 9.969 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.0008033/0.0008033, allocations: 92.14 kB / 0.745 GB, free: 5.867 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004246/0.0004246, allocations: 14.84 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.246/0.2464, allocations: 115.3 MB / 0.9807 GB, free: 27.4 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8058/1.052, allocations: 138 MB / 1.115 GB, free: 16.38 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002576/1.053, allocations: 71.17 kB / 1.116 GB, free: 16.38 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.009318/1.062, allocations: 3.545 MB / 1.119 GB, free: 31.9 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.495e-06/1.062, allocations: 0 / 1.119 GB, free: 31.9 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.112e-05/1.062, allocations: 3.875 kB / 1.119 GB, free: 31.9 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.000738/1.063, allocations: 496 kB / 1.119 GB, free: 31.5 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/1.063, allocations: 14.56 kB / 1.119 GB, free: 31.5 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.633e-05/1.063, allocations: 12.62 kB / 1.119 GB, free: 31.49 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002215/1.063, allocations: 207 kB / 1.12 GB, free: 31.28 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.489e-05/1.063, allocations: 6.938 kB / 1.12 GB, free: 31.28 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.548e-05/1.063, allocations: 11.28 kB / 1.12 GB, free: 31.27 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000512/1.064, allocations: 202.2 kB / 1.12 GB, free: 31.24 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.779e-06/1.064, allocations: 192 / 1.12 GB, free: 31.24 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.632e-05/1.064, allocations: 11.48 kB / 1.12 GB, free: 31.23 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/1.064, allocations: 3.812 kB / 1.12 GB, free: 31.23 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006501/1.064, allocations: 256.1 kB / 1.12 GB, free: 31.21 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000855/1.065, allocations: 0.5114 MB / 1.121 GB, free: 30.93 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003827/1.066, allocations: 167.3 kB / 1.121 GB, free: 30.9 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003662/1.066, allocations: 150.4 kB / 1.121 GB, free: 30.89 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.777e-05/1.066, allocations: 0 / 1.121 GB, free: 30.89 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.322e-05/1.066, allocations: 41.39 kB / 1.121 GB, free: 30.84 MB / 0.698 GB Notification: Performance of pre-optimization done (n=15): time 9.81e-07/1.066, allocations: 4 kB / 1.121 GB, free: 30.84 MB / 0.698 GB Notification: Performance of matching and sorting (n=15): time 0.001169/1.067, allocations: 475.9 kB / 1.121 GB, free: 30.78 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.39e-05/1.067, allocations: 63.12 kB / 1.122 GB, free: 30.71 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001153/1.067, allocations: 147.3 kB / 1.122 GB, free: 30.61 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.666e-05/1.068, allocations: 29.7 kB / 1.122 GB, free: 30.57 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.416e-05/1.068, allocations: 108.3 kB / 1.122 GB, free: 30.48 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.592e-05/1.068, allocations: 51.84 kB / 1.122 GB, free: 30.45 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.174e-06/1.068, allocations: 0 / 1.122 GB, free: 30.45 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001328/1.068, allocations: 324.2 kB / 1.122 GB, free: 30.14 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000341/1.068, allocations: 135.9 kB / 1.122 GB, free: 30.13 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003326/1.068, allocations: 140.6 kB / 1.122 GB, free: 30.12 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006801/1.069, allocations: 295.4 kB / 1.123 GB, free: 30.11 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/1.069, allocations: 0 / 1.123 GB, free: 30.11 MB / 0.698 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0007221/1.07, allocations: 328.1 kB / 1.123 GB, free: 30.05 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/1.07, allocations: 3.781 kB / 1.123 GB, free: 30.05 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.096e-05/1.07, allocations: 11.17 kB / 1.123 GB, free: 30.05 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/1.07, allocations: 0 / 1.123 GB, free: 30.05 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002278/1.07, allocations: 50.12 kB / 1.123 GB, free: 30.05 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.032e-05/1.07, allocations: 7.922 kB / 1.123 GB, free: 30.04 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001759/1.07, allocations: 50 kB / 1.123 GB, free: 30.04 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.852e-05/1.07, allocations: 3.875 kB / 1.123 GB, free: 30.04 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.0001032/1.071, allocations: 131.8 kB / 1.123 GB, free: 29.92 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.954e-05/1.071, allocations: 7.781 kB / 1.123 GB, free: 29.91 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008177/1.071, allocations: 360.1 kB / 1.124 GB, free: 29.86 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/1.071, allocations: 4 kB / 1.124 GB, free: 29.86 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/1.071, allocations: 3.938 kB / 1.124 GB, free: 29.86 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.399e-06/1.071, allocations: 0 / 1.124 GB, free: 29.86 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002286/1.072, allocations: 252.6 kB / 1.124 GB, free: 29.66 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/1.072, allocations: 0 / 1.124 GB, free: 29.66 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001931/1.072, allocations: 50.33 kB / 1.124 GB, free: 29.66 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/1.072, allocations: 0 / 1.124 GB, free: 29.66 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.36e-05/1.072, allocations: 5.875 kB / 1.124 GB, free: 29.66 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/1.072, allocations: 0 / 1.124 GB, free: 29.66 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/1.072, allocations: 3.938 kB / 1.124 GB, free: 29.65 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007661/1.073, allocations: 440.1 kB / 1.124 GB, free: 29.5 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.398e-05/1.073, allocations: 95.67 kB / 1.124 GB, free: 29.39 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.222e-05/1.073, allocations: 0 / 1.124 GB, free: 29.39 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002052/1.073, allocations: 41.95 kB / 1.124 GB, free: 29.39 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.732e-05/1.073, allocations: 17.44 kB / 1.124 GB, free: 29.38 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.313e-05/1.073, allocations: 7 kB / 1.124 GB, free: 29.38 MB / 0.698 GB Notification: Performance of sorting global known variables: time 7.83e-05/1.073, allocations: 109.8 kB / 1.125 GB, free: 29.31 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.01e-07/1.073, allocations: 0 / 1.125 GB, free: 29.31 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003005/1.074, allocations: 46.19 kB / 1.125 GB, free: 29.3 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.0002077/1.074, allocations: 116.8 kB / 1.125 GB, free: 29.21 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0009452/1.075, allocations: 377.8 kB / 1.125 GB, free: 29.12 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/1.075, allocations: 0 / 1.125 GB, free: 29.12 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004816/1.075, allocations: 224.1 kB / 1.125 GB, free: 29.06 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000302/1.075, allocations: 16.73 kB / 1.125 GB, free: 29.06 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004751/1.076, allocations: 335.3 kB / 1.126 GB, free: 28.86 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003138/1.076, allocations: 0.7192 MB / 1.126 GB, free: 28.16 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 7.528e-05/1.076, allocations: 17.97 kB / 1.126 GB, free: 28.16 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.236e-05/1.076, allocations: 11.22 kB / 1.126 GB, free: 28.15 MB / 0.698 GB Notification: Performance of SimCode: time 2.2e-07/1.076, allocations: 0 / 1.126 GB, free: 28.15 MB / 0.698 GB Notification: Performance of Templates: time 0.003742/1.08, allocations: 1.614 MB / 1.128 GB, free: 28.05 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)