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.669/1.669, allocations: 292.6 MB / 307.5 MB, free: 5.199 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.00103/0.00103, allocations: 187.5 kB / 377.1 MB, free: 1.523 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.755/1.755, allocations: 205.4 MB / 0.6367 GB, free: 8.543 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.0009027/0.0009028, allocations: 88.78 kB / 0.751 GB, free: 63.08 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003694/0.0003696, allocations: 15.98 kB / 0.8748 GB, free: 11.18 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3282/0.3286, allocations: 116.3 MB / 0.9884 GB, free: 6.719 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8341/1.163, allocations: 138.9 MB / 1.124 GB, free: 35.71 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002809/1.163, allocations: 71.39 kB / 1.124 GB, free: 35.66 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.008771/1.172, allocations: 3.537 MB / 1.128 GB, free: 33.27 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.683e-06/1.172, allocations: 0 / 1.128 GB, free: 33.27 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 9.357e-06/1.172, allocations: 4 kB / 1.128 GB, free: 33.26 MB / 0.7292 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.0006817/1.173, allocations: 499.8 kB / 1.128 GB, free: 32.76 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/1.173, allocations: 16.02 kB / 1.128 GB, free: 32.75 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.244e-05/1.173, allocations: 18.94 kB / 1.128 GB, free: 32.73 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001656/1.173, allocations: 205 kB / 1.128 GB, free: 32.5 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.203e-05/1.173, allocations: 4 kB / 1.128 GB, free: 32.5 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.195e-05/1.173, allocations: 8 kB / 1.128 GB, free: 32.49 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000502/1.173, allocations: 203.1 kB / 1.128 GB, free: 32.33 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/1.173, allocations: 0 / 1.128 GB, free: 32.33 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.561e-05/1.174, allocations: 4 kB / 1.128 GB, free: 32.32 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/1.174, allocations: 4 kB / 1.128 GB, free: 32.32 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006522/1.174, allocations: 256 kB / 1.129 GB, free: 32.12 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007934/1.175, allocations: 0.5241 MB / 1.129 GB, free: 31.63 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003765/1.175, allocations: 164.6 kB / 1.129 GB, free: 31.49 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.163e-05/1.175, allocations: 3.953 kB / 1.129 GB, free: 31.48 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.031e-05/1.175, allocations: 35.44 kB / 1.129 GB, free: 31.44 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=15): time 1.402e-06/1.175, allocations: 4 kB / 1.129 GB, free: 31.44 MB / 0.7292 GB Notification: Performance of matching and sorting (n=15): time 0.001188/1.177, allocations: 0.6183 MB / 1.13 GB, free: 30.86 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.539e-05/1.177, allocations: 51.41 kB / 1.13 GB, free: 30.8 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.611e-05/1.177, allocations: 140.9 kB / 1.13 GB, free: 30.67 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.405e-05/1.177, allocations: 29.7 kB / 1.13 GB, free: 30.63 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.2e-05/1.177, allocations: 107.7 kB / 1.13 GB, free: 30.52 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.387e-05/1.177, allocations: 46.66 kB / 1.13 GB, free: 30.48 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.863e-06/1.177, allocations: 4 kB / 1.13 GB, free: 30.48 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 5.891e-05/1.177, allocations: 321.6 kB / 1.131 GB, free: 30.16 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003257/1.177, allocations: 139.1 kB / 1.131 GB, free: 30.05 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003095/1.178, allocations: 143.1 kB / 1.131 GB, free: 29.94 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003199/1.178, allocations: 140.6 kB / 1.131 GB, free: 29.83 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/1.178, allocations: 0 / 1.131 GB, free: 29.83 MB / 0.7292 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006742/1.179, allocations: 330.9 kB / 1.131 GB, free: 29.56 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/1.179, allocations: 13.23 kB / 1.131 GB, free: 29.55 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.395e-05/1.179, allocations: 0 / 1.131 GB, free: 29.55 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.087e-05/1.179, allocations: 4 kB / 1.131 GB, free: 29.54 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000219/1.179, allocations: 53.77 kB / 1.132 GB, free: 29.5 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/1.179, allocations: 0 / 1.132 GB, free: 29.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000173/1.179, allocations: 51.62 kB / 1.132 GB, free: 29.46 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.46e-05/1.179, allocations: 4 kB / 1.132 GB, free: 29.46 MB / 0.7292 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 8.015e-05/1.179, allocations: 130.2 kB / 1.132 GB, free: 29.33 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.04e-05/1.179, allocations: 8.469 kB / 1.132 GB, free: 29.32 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007857/1.18, allocations: 361.1 kB / 1.132 GB, free: 29.03 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.259e-06/1.18, allocations: 3.609 kB / 1.132 GB, free: 29.03 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/1.18, allocations: 7.938 kB / 1.132 GB, free: 29.02 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/1.18, allocations: 4.562 kB / 1.132 GB, free: 29.02 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001805/1.18, allocations: 246.5 kB / 1.132 GB, free: 28.76 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-06/1.18, allocations: 0 / 1.132 GB, free: 28.76 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002217/1.181, allocations: 54.67 kB / 1.132 GB, free: 28.72 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/1.181, allocations: 0 / 1.132 GB, free: 28.72 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.48e-05/1.181, allocations: 8.453 kB / 1.132 GB, free: 28.71 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/1.181, allocations: 0 / 1.132 GB, free: 28.71 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/1.181, allocations: 0 / 1.132 GB, free: 28.71 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007199/1.181, allocations: 429.7 kB / 1.133 GB, free: 28.34 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.103e-05/1.181, allocations: 97.98 kB / 1.133 GB, free: 28.22 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.852e-05/1.181, allocations: 0.75 kB / 1.133 GB, free: 28.22 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002055/1.182, allocations: 49.22 kB / 1.133 GB, free: 28.19 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.77e-05/1.182, allocations: 15.27 kB / 1.133 GB, free: 28.18 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.222e-05/1.182, allocations: 11.94 kB / 1.133 GB, free: 28.16 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.882e-05/1.182, allocations: 112.5 kB / 1.133 GB, free: 28.06 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.2e-07/1.182, allocations: 0 / 1.133 GB, free: 28.06 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000248/1.182, allocations: 43.47 kB / 1.133 GB, free: 28.02 MB / 0.7292 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.0001842/1.182, allocations: 111.2 kB / 1.133 GB, free: 27.91 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0007597/1.183, allocations: 378.3 kB / 1.134 GB, free: 27.58 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/1.183, allocations: 0 / 1.134 GB, free: 27.58 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0004097/1.183, allocations: 222.4 kB / 1.134 GB, free: 27.38 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001979/1.184, allocations: 16.22 kB / 1.134 GB, free: 27.37 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004274/1.184, allocations: 327.7 kB / 1.134 GB, free: 27.06 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001601/1.184, allocations: 0.7291 MB / 1.135 GB, free: 26.32 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 7.104e-05/1.184, allocations: 14.75 kB / 1.135 GB, free: 26.31 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.452e-05/1.184, allocations: 11.44 kB / 1.135 GB, free: 26.3 MB / 0.7292 GB Notification: Performance of SimCode: time 2.3e-07/1.184, allocations: 3.938 kB / 1.135 GB, free: 26.3 MB / 0.7292 GB Notification: Performance of Templates: time 0.004247/1.189, allocations: 1.593 MB / 1.136 GB, free: 25.43 MB / 0.7292 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)