Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Sort,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.651/2.651, allocations: 287.5 MB / 302.4 MB, free: 8.344 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.002127/0.002126, allocations: 177.9 kB / 371 MB, free: 10.87 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.205/2.205, allocations: 205.4 MB / 0.6297 GB, free: 10.58 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.0009625/0.0009622, allocations: 86.36 kB / 0.743 GB, free: 6.586 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005226/0.0005228, allocations: 18.23 kB / 0.8658 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2712/0.2717, allocations: 115.3 MB / 0.9784 GB, free: 28.34 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Sort): time 0.001114/0.2729, allocations: 0.522 MB / 0.9789 GB, free: 27.82 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001544/0.2745, allocations: 0.9967 MB / 0.9799 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.462e-05/0.2746, allocations: 4 kB / 0.9799 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001126/0.2747, allocations: 7.922 kB / 0.9799 GB, free: 26.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.613e-05/0.2748, allocations: 19.81 kB / 0.9799 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000404/0.2752, allocations: 63.91 kB / 0.9799 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001495/0.2753, allocations: 107.6 kB / 0.98 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000162/0.2755, allocations: 37.39 kB / 0.9801 GB, free: 26.57 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.363e-05/0.2756, allocations: 35.84 kB / 0.9801 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.438e-05/0.2757, allocations: 51.8 kB / 0.9802 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.552e-05/0.2757, allocations: 7.938 kB / 0.9802 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001318/0.2759, allocations: 51.91 kB / 0.9802 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.879e-05/0.2759, allocations: 27.91 kB / 0.9803 GB, free: 26.4 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.18e-05/0.276, allocations: 37.64 kB / 0.9803 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001969/0.2762, allocations: 128 kB / 0.9804 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.2762, allocations: 4 kB / 0.9804 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.988e-06/0.2762, allocations: 3.984 kB / 0.9804 GB, free: 26.22 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.761e-06/0.2762, allocations: 0 / 0.9804 GB, free: 26.22 MB / 0.6198 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.001024/0.2773, allocations: 486.8 kB / 0.9809 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/0.2773, allocations: 12.02 kB / 0.9809 GB, free: 25.69 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.028e-05/0.2774, allocations: 11.81 kB / 0.9809 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001986/0.2776, allocations: 206.7 kB / 0.9811 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.672e-05/0.2776, allocations: 4 kB / 0.9811 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.926e-05/0.2777, allocations: 12 kB / 0.9811 GB, free: 25.42 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008618/0.2785, allocations: 210.8 kB / 0.9813 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.2786, allocations: 3.938 kB / 0.9813 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.24e-05/0.2786, allocations: 4 kB / 0.9813 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-05/0.2787, allocations: 15.98 kB / 0.9813 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001238/0.2799, allocations: 255.8 kB / 0.9816 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001317/0.2812, allocations: 488.3 kB / 0.982 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006863/0.282, allocations: 166.5 kB / 0.9822 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007057/0.2827, allocations: 152.8 kB / 0.9824 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.085e-05/0.2827, allocations: 0 / 0.9824 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.956e-05/0.2828, allocations: 42.52 kB / 0.9824 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=15): time 2.264e-06/0.2828, allocations: 7.938 kB / 0.9824 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15): time 0.002131/0.2849, allocations: 477.2 kB / 0.9829 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.439e-05/0.285, allocations: 55.41 kB / 0.9829 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001384/0.2851, allocations: 142.1 kB / 0.983 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/0.2852, allocations: 29.7 kB / 0.9831 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.649e-05/0.2852, allocations: 104.4 kB / 0.9832 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.965e-05/0.2853, allocations: 59.34 kB / 0.9832 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.173e-05/0.2853, allocations: 0 / 0.9832 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.74e-05/0.2854, allocations: 322.8 kB / 0.9835 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006481/0.2861, allocations: 135.9 kB / 0.9837 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006771/0.2868, allocations: 148 kB / 0.9838 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006563/0.2874, allocations: 145.2 kB / 0.9839 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.768e-06/0.2874, allocations: 0 / 0.9839 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.001405/0.2889, allocations: 338.7 kB / 0.9843 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.043e-05/0.2889, allocations: 10.66 kB / 0.9843 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/0.2889, allocations: 3.953 kB / 0.9843 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.191e-05/0.2889, allocations: 8 kB / 0.9843 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004073/0.2894, allocations: 43.95 kB / 0.9843 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.2894, allocations: 0 / 0.9843 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003325/0.2897, allocations: 51.86 kB / 0.9844 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.439e-05/0.2898, allocations: 3.984 kB / 0.9844 GB, free: 21.94 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001241/0.2899, allocations: 129.8 kB / 0.9845 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.584e-05/0.29, allocations: 11.91 kB / 0.9845 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.219e-05/0.29, allocations: 12.83 kB / 0.9845 GB, free: 21.78 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.325e-05/0.2901, allocations: 11.95 kB / 0.9845 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.2901, allocations: 0 / 0.9845 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.2901, allocations: 3.984 kB / 0.9845 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003551/0.2905, allocations: 229.4 kB / 0.9848 GB, free: 21.49 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.2905, allocations: 4 kB / 0.9848 GB, free: 21.49 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003648/0.2909, allocations: 51.89 kB / 0.9848 GB, free: 21.44 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.042e-06/0.2909, allocations: 3.984 kB / 0.9848 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.909e-05/0.2909, allocations: 8 kB / 0.9848 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.305e-06/0.2909, allocations: 3.938 kB / 0.9848 GB, free: 21.42 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.2909, allocations: 3.953 kB / 0.9848 GB, free: 21.42 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001418/0.2924, allocations: 423.2 kB / 0.9852 GB, free: 20.99 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.087e-05/0.2924, allocations: 92.86 kB / 0.9853 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.056e-05/0.2925, allocations: 3.938 kB / 0.9853 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003509/0.2928, allocations: 43.95 kB / 0.9854 GB, free: 20.83 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.438e-05/0.2929, allocations: 15.94 kB / 0.9854 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.39e-05/0.293, allocations: 4 kB / 0.9854 GB, free: 20.81 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 8.824e-05/0.2931, allocations: 111.2 kB / 0.9855 GB, free: 20.7 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.1e-07/0.2931, allocations: 0 / 0.9855 GB, free: 20.7 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003711/0.2935, allocations: 43.98 kB / 0.9855 GB, free: 20.66 MB / 0.6198 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 (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.0002328/0.2937, allocations: 119.2 kB / 0.9857 GB, free: 20.53 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.00145/0.2952, allocations: 303.8 kB / 0.9859 GB, free: 20.23 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.2952, allocations: 0 / 0.9859 GB, free: 20.23 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0006884/0.2959, allocations: 159.9 kB / 0.9861 GB, free: 20.08 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004812/0.2964, allocations: 27.92 kB / 0.9861 GB, free: 20.05 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007572/0.2972, allocations: 363.9 kB / 0.9865 GB, free: 19.68 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000202/0.2974, allocations: 0.7201 MB / 0.9872 GB, free: 18.93 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001513/0.2975, allocations: 19.98 kB / 0.9872 GB, free: 18.91 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.816e-05/0.2976, allocations: 11.44 kB / 0.9872 GB, free: 18.89 MB / 0.6198 GB Notification: Performance of SimCode: time 9.81e-07/0.2976, allocations: 0 / 0.9872 GB, free: 18.89 MB / 0.6198 GB Notification: Performance of Templates: time 0.005564/0.3032, allocations: 1.514 MB / 0.9887 GB, free: 17.39 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe 2>&1)