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.754/1.754, allocations: 292.3 MB / 308.1 MB, free: 4.293 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.002248/0.002248, allocations: 179.5 kB / 376.9 MB, free: 1.789 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.861/1.861, allocations: 205 MB / 0.6354 GB, free: 9.758 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.001355/0.001355, allocations: 100.4 kB / 0.748 GB, free: 61.22 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 51.92 kB / 0.8704 GB, free: 13.06 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3436/0.3449, allocations: 114.5 MB / 0.9822 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Sort): time 0.003265/0.3482, allocations: 0.8859 MB / 0.9831 GB, free: 9.465 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001825/0.35, allocations: 1.023 MB / 0.9841 GB, free: 8.426 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.216e-05/0.3501, allocations: 3.938 kB / 0.9841 GB, free: 8.422 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0001695/0.3503, allocations: 11.92 kB / 0.9841 GB, free: 8.41 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 6.189e-05/0.3504, allocations: 15.8 kB / 0.9841 GB, free: 8.395 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004115/0.3508, allocations: 71.86 kB / 0.9842 GB, free: 8.324 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001965/0.351, allocations: 119.7 kB / 0.9843 GB, free: 8.207 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002141/0.3512, allocations: 45.39 kB / 0.9844 GB, free: 8.164 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 9.938e-05/0.3514, allocations: 55.77 kB / 0.9844 GB, free: 8.109 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001094/0.3515, allocations: 51.77 kB / 0.9845 GB, free: 8.059 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.918e-05/0.3515, allocations: 4 kB / 0.9845 GB, free: 8.055 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001582/0.3517, allocations: 59.95 kB / 0.9845 GB, free: 7.996 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 7.501e-05/0.3518, allocations: 31.91 kB / 0.9845 GB, free: 7.965 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 8.196e-05/0.3518, allocations: 55.59 kB / 0.9846 GB, free: 7.91 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0003057/0.3522, allocations: 187.6 kB / 0.9848 GB, free: 7.727 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 7.124e-06/0.3522, allocations: 0 / 0.9848 GB, free: 7.727 MB / 0.7136 GB Notification: Performance of FrontEnd: time 5.721e-06/0.3522, allocations: 3.984 kB / 0.9848 GB, free: 7.723 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.68e-06/0.3522, allocations: 0 / 0.9848 GB, free: 7.723 MB / 0.7136 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.001099/0.3533, allocations: 470.9 kB / 0.9852 GB, free: 7.211 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.271e-05/0.3534, allocations: 12.03 kB / 0.9852 GB, free: 7.199 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.16e-05/0.3534, allocations: 12.75 kB / 0.9853 GB, free: 7.188 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002603/0.3537, allocations: 212.6 kB / 0.9855 GB, free: 6.941 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.74e-05/0.3537, allocations: 8.375 kB / 0.9855 GB, free: 6.934 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.184e-05/0.3538, allocations: 8.375 kB / 0.9855 GB, free: 6.926 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006958/0.3545, allocations: 182 kB / 0.9856 GB, free: 6.742 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.537e-05/0.3545, allocations: 4.172 kB / 0.9857 GB, free: 6.738 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.672e-05/0.3545, allocations: 7.938 kB / 0.9857 GB, free: 6.73 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.196e-05/0.3546, allocations: 12 kB / 0.9857 GB, free: 6.719 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008981/0.3555, allocations: 199.8 kB / 0.9859 GB, free: 6.523 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001226/0.3567, allocations: 464.3 kB / 0.9863 GB, free: 6.02 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005558/0.3573, allocations: 138.5 kB / 0.9864 GB, free: 5.875 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004992/0.3578, allocations: 128.7 kB / 0.9866 GB, free: 5.746 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.544e-05/0.3579, allocations: 4 kB / 0.9866 GB, free: 5.742 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.68e-05/0.3579, allocations: 38.55 kB / 0.9866 GB, free: 5.695 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=15): time 1.523e-06/0.3579, allocations: 0 / 0.9866 GB, free: 5.695 MB / 0.7136 GB Notification: Performance of matching and sorting (n=15): time 0.001619/0.3595, allocations: 397.3 kB / 0.987 GB, free: 5.301 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.02e-05/0.3596, allocations: 51.41 kB / 0.987 GB, free: 5.238 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001889/0.3598, allocations: 161 kB / 0.9872 GB, free: 5.074 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.256e-05/0.3598, allocations: 29.7 kB / 0.9872 GB, free: 5.039 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 9.843e-05/0.3599, allocations: 108.4 kB / 0.9873 GB, free: 4.93 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 7.182e-05/0.36, allocations: 55.27 kB / 0.9874 GB, free: 4.875 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.94e-05/0.3601, allocations: 21.72 kB / 0.9874 GB, free: 4.848 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001709/0.3603, allocations: 322.8 kB / 0.9877 GB, free: 4.523 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004788/0.3608, allocations: 119.8 kB / 0.9878 GB, free: 4.406 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004748/0.3612, allocations: 110.4 kB / 0.9879 GB, free: 4.301 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000917/0.3622, allocations: 244.6 kB / 0.9881 GB, free: 4.059 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.3622, allocations: 0 / 0.9881 GB, free: 4.059 MB / 0.7136 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.001002/0.3632, allocations: 277.3 kB / 0.9884 GB, free: 3.781 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.369e-05/0.3632, allocations: 6.188 kB / 0.9884 GB, free: 3.777 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/0.3633, allocations: 0 / 0.9884 GB, free: 3.777 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.091e-05/0.3633, allocations: 4 kB / 0.9884 GB, free: 3.773 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002996/0.3636, allocations: 39.89 kB / 0.9885 GB, free: 3.734 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.849e-06/0.3636, allocations: 0 / 0.9885 GB, free: 3.734 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002155/0.3638, allocations: 43.8 kB / 0.9885 GB, free: 3.691 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.062e-05/0.3639, allocations: 0 / 0.9885 GB, free: 3.691 MB / 0.7136 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: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001485/0.364, allocations: 133.8 kB / 0.9886 GB, free: 3.551 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.36e-05/0.3641, allocations: 11.91 kB / 0.9886 GB, free: 3.539 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.89e-05/0.3641, allocations: 12.83 kB / 0.9887 GB, free: 3.523 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.659e-05/0.3642, allocations: 12 kB / 0.9887 GB, free: 3.512 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.603e-06/0.3642, allocations: 0 / 0.9887 GB, free: 3.512 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.025e-06/0.3642, allocations: 3.938 kB / 0.9887 GB, free: 3.508 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000369/0.3646, allocations: 229.4 kB / 0.9889 GB, free: 3.234 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.3646, allocations: 0 / 0.9889 GB, free: 3.234 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002362/0.3648, allocations: 35.95 kB / 0.9889 GB, free: 3.199 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.3649, allocations: 0 / 0.9889 GB, free: 3.199 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.85e-05/0.3649, allocations: 4 kB / 0.9889 GB, free: 3.195 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.3649, allocations: 4 kB / 0.9889 GB, free: 3.191 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3649, allocations: 4 kB / 0.9889 GB, free: 3.188 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001972/0.3669, allocations: 1.073 MB / 0.99 GB, free: 2.059 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.631e-05/0.367, allocations: 96.8 kB / 0.9901 GB, free: 1.945 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.575e-05/0.367, allocations: 0 / 0.9901 GB, free: 1.945 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002563/0.3673, allocations: 31.95 kB / 0.9901 GB, free: 1.914 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.527e-05/0.3674, allocations: 15.97 kB / 0.9901 GB, free: 1.898 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.693e-05/0.3674, allocations: 7.938 kB / 0.9901 GB, free: 1.891 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 8.455e-05/0.3675, allocations: 109.2 kB / 0.9902 GB, free: 1.785 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3675, allocations: 0 / 0.9902 GB, free: 1.785 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0005683/0.3681, allocations: 43.98 kB / 0.9903 GB, free: 1.742 MB / 0.7136 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: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002868/0.3684, allocations: 119.2 kB / 0.9904 GB, free: 1.617 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001075/0.3695, allocations: 251.7 kB / 0.9906 GB, free: 1.371 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3695, allocations: 4 kB / 0.9906 GB, free: 1.367 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0005132/0.37, allocations: 135.8 kB / 0.9908 GB, free: 1.234 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005623/0.3706, allocations: 23.86 kB / 0.9908 GB, free: 1.211 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009231/0.3715, allocations: 0.5189 MB / 0.9913 GB, free: 0.6562 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004228/0.3719, allocations: 0.7238 MB / 0.992 GB, free: 15.91 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001295/0.3721, allocations: 23.95 kB / 0.992 GB, free: 15.88 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.323e-05/0.3721, allocations: 7.438 kB / 0.992 GB, free: 15.88 MB / 0.7292 GB Notification: Performance of SimCode: time 2.4e-07/0.3721, allocations: 0 / 0.992 GB, free: 15.88 MB / 0.7292 GB Notification: Performance of Templates: time 0.005647/0.3778, allocations: 1.603 MB / 0.9936 GB, free: 14.29 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)