Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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.7.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.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.301/1.301, allocations: 252 MB / 267.9 MB, free: 10.93 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009372/0.0009372, allocations: 175.8 kB / 327.6 MB, free: 2.168 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.626/1.626, allocations: 205.4 MB / 0.5785 GB, free: 20.21 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008994/0.0008993, allocations: 78.44 kB / 0.6831 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003452/0.0003453, allocations: 17.69 kB / 0.7974 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1787/0.179, allocations: 106.3 MB / 0.9013 GB, free: 63.66 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1504/0.3294, allocations: 131.8 MB / 1.03 GB, free: 11.66 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002377/0.3297, allocations: 75.95 kB / 1.03 GB, free: 11.59 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.009812/0.3396, allocations: 3.61 MB / 1.034 GB, free: 7.973 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.384e-06/0.3396, allocations: 4 kB / 1.034 GB, free: 7.969 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.158e-05/0.3396, allocations: 0 / 1.034 GB, free: 7.969 MB / 0.6823 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.0007168/0.3403, allocations: 0.491 MB / 1.034 GB, free: 7.426 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.3404, allocations: 12.03 kB / 1.034 GB, free: 7.414 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.083e-05/0.3404, allocations: 12.75 kB / 1.034 GB, free: 7.402 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001949/0.3406, allocations: 213.7 kB / 1.034 GB, free: 7.156 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.128e-05/0.3406, allocations: 4.375 kB / 1.034 GB, free: 7.152 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.051e-05/0.3407, allocations: 12.38 kB / 1.034 GB, free: 7.141 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005148/0.3412, allocations: 206.7 kB / 1.035 GB, free: 6.934 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/0.3412, allocations: 192 / 1.035 GB, free: 6.934 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.707e-05/0.3412, allocations: 7.938 kB / 1.035 GB, free: 6.926 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.3413, allocations: 4 kB / 1.035 GB, free: 6.922 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006713/0.3419, allocations: 259.7 kB / 1.035 GB, free: 6.668 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008991/0.3428, allocations: 0.512 MB / 1.035 GB, free: 6.105 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003879/0.3432, allocations: 162.5 kB / 1.035 GB, free: 5.938 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003566/0.3436, allocations: 152.8 kB / 1.036 GB, free: 5.785 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.578e-05/0.3437, allocations: 7.984 kB / 1.036 GB, free: 5.777 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.271e-05/0.3437, allocations: 30.56 kB / 1.036 GB, free: 5.738 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=15): time 1.543e-06/0.3437, allocations: 4 kB / 1.036 GB, free: 5.734 MB / 0.6823 GB Notification: Performance of matching and sorting (n=15): time 0.00117/0.3449, allocations: 470.3 kB / 1.036 GB, free: 5.27 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.092e-05/0.3449, allocations: 55.34 kB / 1.036 GB, free: 5.203 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001164/0.345, allocations: 153.4 kB / 1.036 GB, free: 5.047 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.713e-05/0.3451, allocations: 29.7 kB / 1.036 GB, free: 5.012 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.389e-05/0.3451, allocations: 112.3 kB / 1.036 GB, free: 4.895 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.153e-05/0.3452, allocations: 43.34 kB / 1.036 GB, free: 4.852 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.205e-06/0.3452, allocations: 4 kB / 1.036 GB, free: 4.848 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001057/0.3453, allocations: 322.8 kB / 1.037 GB, free: 4.523 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003467/0.3456, allocations: 139.9 kB / 1.037 GB, free: 4.387 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003301/0.346, allocations: 141.7 kB / 1.037 GB, free: 4.25 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006746/0.3467, allocations: 296.6 kB / 1.037 GB, free: 3.957 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.3467, allocations: 0 / 1.037 GB, free: 3.957 MB / 0.6823 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0007463/0.3474, allocations: 331.9 kB / 1.038 GB, free: 3.629 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/0.3475, allocations: 14.48 kB / 1.038 GB, free: 3.617 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.674e-05/0.3475, allocations: 0 / 1.038 GB, free: 3.617 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.3475, allocations: 0 / 1.038 GB, free: 3.617 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002256/0.3477, allocations: 51.95 kB / 1.038 GB, free: 3.566 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.756e-06/0.3478, allocations: 3.938 kB / 1.038 GB, free: 3.562 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001743/0.3479, allocations: 47.89 kB / 1.038 GB, free: 3.516 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.46e-05/0.348, allocations: 4 kB / 1.038 GB, free: 3.512 MB / 0.6823 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.0001004/0.3481, allocations: 133.8 kB / 1.038 GB, free: 3.371 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.258e-05/0.3481, allocations: 11.81 kB / 1.038 GB, free: 3.359 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008029/0.3489, allocations: 358.2 kB / 1.038 GB, free: 3 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.3489, allocations: 0 / 1.038 GB, free: 3 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.3489, allocations: 7.938 kB / 1.038 GB, free: 2.992 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.349, allocations: 0 / 1.038 GB, free: 2.992 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002297/0.3492, allocations: 245.4 kB / 1.038 GB, free: 2.703 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.869e-06/0.3492, allocations: 7.984 kB / 1.038 GB, free: 2.695 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001962/0.3494, allocations: 47.95 kB / 1.039 GB, free: 2.648 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.3494, allocations: 0 / 1.039 GB, free: 2.648 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.364e-05/0.3494, allocations: 8 kB / 1.039 GB, free: 2.641 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.3494, allocations: 0 / 1.039 GB, free: 2.641 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.3495, allocations: 3.938 kB / 1.039 GB, free: 2.637 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007754/0.3502, allocations: 427.2 kB / 1.039 GB, free: 2.203 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.252e-05/0.3503, allocations: 92.86 kB / 1.039 GB, free: 2.094 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.968e-05/0.3503, allocations: 3.938 kB / 1.039 GB, free: 2.09 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002024/0.3505, allocations: 39.95 kB / 1.039 GB, free: 2.051 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.173e-05/0.3506, allocations: 19.92 kB / 1.039 GB, free: 2.031 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.239e-05/0.3506, allocations: 7.938 kB / 1.039 GB, free: 2.023 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 6.533e-05/0.3507, allocations: 111.2 kB / 1.039 GB, free: 1.914 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3507, allocations: 0 / 1.039 GB, free: 1.914 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002746/0.351, allocations: 40 kB / 1.039 GB, free: 1.875 MB / 0.6823 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.0001997/0.3512, allocations: 127.2 kB / 1.039 GB, free: 1.742 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0007914/0.352, allocations: 375.5 kB / 1.04 GB, free: 1.363 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.352, allocations: 0 / 1.04 GB, free: 1.363 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003953/0.3524, allocations: 219.4 kB / 1.04 GB, free: 1.137 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002949/0.3527, allocations: 17.86 kB / 1.04 GB, free: 1.121 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004983/0.3532, allocations: 337 kB / 1.04 GB, free: 0.7617 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002408/0.3535, allocations: 0.7278 MB / 1.041 GB, free: 8 kB / 0.6823 GB Notification: Performance of simCode: alias equations: time 9.042e-05/0.3536, allocations: 12.03 kB / 1.041 GB, free: 15.99 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.457e-05/0.3536, allocations: 11.44 kB / 1.041 GB, free: 15.98 MB / 0.698 GB Notification: Performance of SimCode: time 2.3e-07/0.3536, allocations: 3.938 kB / 1.041 GB, free: 15.98 MB / 0.698 GB Notification: Performance of Templates: time 0.003728/0.3573, allocations: 1.603 MB / 1.043 GB, free: 14.39 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe 2>&1)