Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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.8.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.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.693/1.693, allocations: 288.3 MB / 303.2 MB, free: 8.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.001184/0.001184, allocations: 175.7 kB / 371.8 MB, free: 10.29 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.775/1.775, allocations: 205.4 MB / 0.6306 GB, free: 9.953 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.001126/0.001126, allocations: 101.8 kB / 0.7439 GB, free: 5.863 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004565/0.0004566, allocations: 14.44 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2733/0.2738, allocations: 115.3 MB / 0.9794 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Sort): time 0.001198/0.2751, allocations: 0.53 MB / 0.98 GB, free: 27.14 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001563/0.2767, allocations: 0.9929 MB / 0.9809 GB, free: 26.13 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.728e-05/0.2768, allocations: 7.938 kB / 0.9809 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001335/0.277, allocations: 15.92 kB / 0.981 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.613e-05/0.2771, allocations: 19.91 kB / 0.981 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000451/0.2775, allocations: 63.91 kB / 0.981 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001451/0.2777, allocations: 67.84 kB / 0.9811 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001987/0.2779, allocations: 37.39 kB / 0.9811 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001078/0.278, allocations: 35.84 kB / 0.9812 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.018e-05/0.2781, allocations: 47.81 kB / 0.9812 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.16e-05/0.2781, allocations: 4 kB / 0.9812 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001354/0.2783, allocations: 51.89 kB / 0.9813 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.034e-05/0.2783, allocations: 23.92 kB / 0.9813 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.336e-05/0.2784, allocations: 41.64 kB / 0.9813 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002127/0.2786, allocations: 131.9 kB / 0.9815 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.065e-06/0.2786, allocations: 0 / 0.9815 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.464e-06/0.2786, allocations: 0 / 0.9815 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.185e-06/0.2786, allocations: 0 / 0.9815 GB, free: 25.59 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.0009477/0.2796, allocations: 491.2 kB / 0.9819 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.2e-05/0.2797, allocations: 8.031 kB / 0.9819 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.31e-05/0.2797, allocations: 19.81 kB / 0.9819 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002218/0.28, allocations: 206.7 kB / 0.9821 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.34e-05/0.28, allocations: 4 kB / 0.9821 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.868e-05/0.28, allocations: 8 kB / 0.9822 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006522/0.2807, allocations: 201.5 kB / 0.9823 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.2807, allocations: 4 kB / 0.9824 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.616e-05/0.2808, allocations: 4 kB / 0.9824 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.446e-05/0.2808, allocations: 11.98 kB / 0.9824 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007002/0.2815, allocations: 259.7 kB / 0.9826 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009122/0.2824, allocations: 492.3 kB / 0.9831 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004025/0.2828, allocations: 162.5 kB / 0.9832 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.758e-05/0.2829, allocations: 4 kB / 0.9832 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.926e-05/0.2829, allocations: 30.56 kB / 0.9833 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=15): time 1.994e-06/0.2829, allocations: 4 kB / 0.9833 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15): time 0.001265/0.2842, allocations: 0.6303 MB / 0.9839 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.713e-05/0.2842, allocations: 55.41 kB / 0.9839 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001141/0.2843, allocations: 145.3 kB / 0.9841 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.345e-05/0.2844, allocations: 29.7 kB / 0.9841 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.812e-05/0.2844, allocations: 108.3 kB / 0.9842 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.639e-05/0.2845, allocations: 59.3 kB / 0.9843 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.164e-06/0.2845, allocations: 0 / 0.9843 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.202e-05/0.2845, allocations: 322.8 kB / 0.9846 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003479/0.2849, allocations: 139.9 kB / 0.9847 GB, free: 22 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003359/0.2852, allocations: 139.9 kB / 0.9848 GB, free: 21.87 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003384/0.2856, allocations: 143.9 kB / 0.985 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.2856, allocations: 0 / 0.985 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0007443/0.2864, allocations: 335.5 kB / 0.9853 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/0.2864, allocations: 7.938 kB / 0.9853 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.2864, allocations: 4 kB / 0.9853 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/0.2864, allocations: 4 kB / 0.9853 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002292/0.2867, allocations: 51.84 kB / 0.9854 GB, free: 21.33 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.2867, allocations: 0 / 0.9854 GB, free: 21.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001739/0.2868, allocations: 51.86 kB / 0.9854 GB, free: 21.28 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.351e-05/0.2869, allocations: 0 / 0.9854 GB, free: 21.28 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 7.971e-05/0.287, allocations: 125.8 kB / 0.9855 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.188e-05/0.287, allocations: 15.91 kB / 0.9856 GB, free: 21.13 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.174e-05/0.287, allocations: 8.844 kB / 0.9856 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.888e-05/0.2871, allocations: 11.98 kB / 0.9856 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.2871, allocations: 3.953 kB / 0.9856 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.2871, allocations: 0 / 0.9856 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002023/0.2873, allocations: 233.4 kB / 0.9858 GB, free: 20.83 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.2873, allocations: 4 kB / 0.9858 GB, free: 20.83 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002381/0.2875, allocations: 51.95 kB / 0.9859 GB, free: 20.78 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.2876, allocations: 0 / 0.9859 GB, free: 20.78 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.572e-05/0.2876, allocations: 8 kB / 0.9859 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.2876, allocations: 0 / 0.9859 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.2876, allocations: 0 / 0.9859 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007933/0.2884, allocations: 435.1 kB / 0.9863 GB, free: 20.33 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.378e-05/0.2884, allocations: 92.86 kB / 0.9864 GB, free: 20.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.269e-05/0.2885, allocations: 0 / 0.9864 GB, free: 20.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001994/0.2887, allocations: 47.95 kB / 0.9864 GB, free: 20.17 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.832e-05/0.2887, allocations: 15.95 kB / 0.9864 GB, free: 20.16 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.068e-05/0.2888, allocations: 4 kB / 0.9864 GB, free: 20.15 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.392e-05/0.2888, allocations: 111.2 kB / 0.9865 GB, free: 20.04 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2888, allocations: 0 / 0.9865 GB, free: 20.04 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002911/0.2891, allocations: 43.95 kB / 0.9866 GB, free: 20 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.0002224/0.2894, allocations: 115.2 kB / 0.9867 GB, free: 19.88 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0007809/0.2901, allocations: 303.7 kB / 0.987 GB, free: 19.58 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.2902, allocations: 0 / 0.987 GB, free: 19.58 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003714/0.2905, allocations: 163.9 kB / 0.9871 GB, free: 19.42 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002837/0.2908, allocations: 28.77 kB / 0.9872 GB, free: 19.39 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005103/0.2913, allocations: 365.8 kB / 0.9875 GB, free: 19.01 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002492/0.2916, allocations: 0.7279 MB / 0.9882 GB, free: 18.25 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 9.763e-05/0.2917, allocations: 15.97 kB / 0.9882 GB, free: 18.24 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.137e-05/0.2918, allocations: 15.44 kB / 0.9882 GB, free: 18.22 MB / 0.6198 GB Notification: Performance of SimCode: time 3.91e-07/0.2918, allocations: 0 / 0.9882 GB, free: 18.22 MB / 0.6198 GB Notification: Performance of Templates: time 0.004068/0.2958, allocations: 1.513 MB / 0.9897 GB, free: 16.73 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe 2>&1)