Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Sort,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.656/1.656, allocations: 289.7 MB / 302.3 MB, free: 2.098 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.001245/0.001245, allocations: 181 kB / 371.6 MB, free: 3.391 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.931/1.931, allocations: 205.1 MB / 0.6309 GB, free: 11.77 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008776/0.0008777, allocations: 88.56 kB / 0.745 GB, free: 54.48 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.638e-05/3.641e-05, allocations: 4 kB / 0.8662 GB, free: 15.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.281/0.2811, allocations: 116.3 MB / 0.9798 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7357/1.017, allocations: 138.8 MB / 1.115 GB, free: 44.76 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002075/1.017, allocations: 66.28 kB / 1.115 GB, free: 44.74 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.009165/1.026, allocations: 3.533 MB / 1.119 GB, free: 42.74 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.523e-06/1.026, allocations: 0 / 1.119 GB, free: 42.74 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.249e-05/1.026, allocations: 4 kB / 1.119 GB, free: 42.74 MB / 0.7448 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.0007153/1.027, allocations: 476.8 kB / 1.119 GB, free: 42.28 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.723e-05/1.027, allocations: 12.97 kB / 1.119 GB, free: 42.27 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.463e-05/1.027, allocations: 20.94 kB / 1.119 GB, free: 42.25 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002004/1.027, allocations: 205.7 kB / 1.12 GB, free: 42.02 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.576e-05/1.027, allocations: 4 kB / 1.12 GB, free: 42.02 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.2e-05/1.027, allocations: 15.14 kB / 1.12 GB, free: 42.01 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000236/1.028, allocations: 114 kB / 1.12 GB, free: 41.93 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/1.028, allocations: 0 / 1.12 GB, free: 41.93 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.668e-05/1.028, allocations: 3.688 kB / 1.12 GB, free: 41.93 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.545e-06/1.028, allocations: 4.703 kB / 1.12 GB, free: 41.93 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001374/1.028, allocations: 81.69 kB / 1.12 GB, free: 41.88 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009792/1.029, allocations: 0.5132 MB / 1.12 GB, free: 41.45 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000138/1.029, allocations: 84.66 kB / 1.12 GB, free: 41.39 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001003/1.029, allocations: 67.19 kB / 1.12 GB, free: 41.35 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 4.559e-05/1.029, allocations: 7.234 kB / 1.12 GB, free: 41.34 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.269e-05/1.029, allocations: 38.5 kB / 1.12 GB, free: 41.3 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=15): time 3.125e-06/1.029, allocations: 1.734 kB / 1.12 GB, free: 41.3 MB / 0.7448 GB Notification: Performance of matching and sorting (n=15): time 0.0003121/1.03, allocations: 156.5 kB / 1.121 GB, free: 41.19 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.112e-05/1.03, allocations: 51.41 kB / 1.121 GB, free: 41.12 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.802e-05/1.03, allocations: 135.2 kB / 1.121 GB, free: 41.01 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.522e-05/1.03, allocations: 25.7 kB / 1.121 GB, free: 40.98 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.501e-05/1.03, allocations: 107.4 kB / 1.121 GB, free: 40.88 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.974e-05/1.03, allocations: 54.73 kB / 1.121 GB, free: 40.84 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.644e-06/1.03, allocations: 4 kB / 1.121 GB, free: 40.83 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.011e-05/1.03, allocations: 325.6 kB / 1.121 GB, free: 40.52 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.513e-05/1.03, allocations: 50.52 kB / 1.121 GB, free: 40.49 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.903e-05/1.03, allocations: 58.75 kB / 1.121 GB, free: 40.45 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.904e-05/1.03, allocations: 58.33 kB / 1.121 GB, free: 40.42 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/1.03, allocations: 0 / 1.121 GB, free: 40.42 MB / 0.7448 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000205/1.03, allocations: 162.5 kB / 1.122 GB, free: 40.3 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/1.03, allocations: 8 kB / 1.122 GB, free: 40.3 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.766e-05/1.03, allocations: 0.8438 kB / 1.122 GB, free: 40.3 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/1.03, allocations: 0 / 1.122 GB, free: 40.3 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002494/1.031, allocations: 55.03 kB / 1.122 GB, free: 40.26 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/1.031, allocations: 3.938 kB / 1.122 GB, free: 40.25 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001864/1.031, allocations: 50.16 kB / 1.122 GB, free: 40.21 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.787e-05/1.031, allocations: 8.5 kB / 1.122 GB, free: 40.21 MB / 0.7448 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 6.027e-05/1.031, allocations: 110.6 kB / 1.122 GB, free: 40.1 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.25e-05/1.031, allocations: 15.23 kB / 1.122 GB, free: 40.09 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000288/1.031, allocations: 189.9 kB / 1.122 GB, free: 39.96 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/1.031, allocations: 4.562 kB / 1.122 GB, free: 39.96 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/1.031, allocations: 0 / 1.122 GB, free: 39.96 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.786e-06/1.031, allocations: 0 / 1.122 GB, free: 39.96 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002069/1.032, allocations: 244.4 kB / 1.122 GB, free: 39.73 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.594e-06/1.032, allocations: 0.5 kB / 1.122 GB, free: 39.73 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002098/1.032, allocations: 53.36 kB / 1.122 GB, free: 39.69 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/1.032, allocations: 6.531 kB / 1.122 GB, free: 39.69 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.406e-05/1.032, allocations: 0 / 1.122 GB, free: 39.69 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/1.032, allocations: 0.5625 kB / 1.122 GB, free: 39.69 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/1.032, allocations: 3.938 kB / 1.122 GB, free: 39.68 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002632/1.032, allocations: 268 kB / 1.123 GB, free: 39.46 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.006e-05/1.032, allocations: 92.92 kB / 1.123 GB, free: 39.35 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.38e-05/1.032, allocations: 7.266 kB / 1.123 GB, free: 39.35 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002138/1.032, allocations: 41.83 kB / 1.123 GB, free: 39.32 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.172e-05/1.033, allocations: 10.64 kB / 1.123 GB, free: 39.32 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.447e-05/1.033, allocations: 11.33 kB / 1.123 GB, free: 39.31 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.246e-05/1.033, allocations: 114.3 kB / 1.123 GB, free: 39.21 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6.62e-07/1.033, allocations: 0 / 1.123 GB, free: 39.21 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003344/1.033, allocations: 47.12 kB / 1.123 GB, free: 39.17 MB / 0.7448 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.0002538/1.033, allocations: 123.1 kB / 1.123 GB, free: 39.04 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002777/1.034, allocations: 199.7 kB / 1.123 GB, free: 38.89 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/1.034, allocations: 0 / 1.123 GB, free: 38.89 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001349/1.034, allocations: 141.8 kB / 1.123 GB, free: 38.77 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000251/1.034, allocations: 15.08 kB / 1.123 GB, free: 38.77 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003974/1.034, allocations: 213 kB / 1.124 GB, free: 38.59 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001869/1.035, allocations: 0.7238 MB / 1.124 GB, free: 37.86 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 8.179e-05/1.035, allocations: 19.55 kB / 1.124 GB, free: 37.84 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.609e-05/1.035, allocations: 7.438 kB / 1.124 GB, free: 37.84 MB / 0.7448 GB Notification: Performance of SimCode: time 4.01e-07/1.035, allocations: 4 kB / 1.124 GB, free: 37.84 MB / 0.7448 GB Notification: Performance of Templates: time 0.004404/1.039, allocations: 1.615 MB / 1.126 GB, free: 36.97 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe 2>&1)