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.734/1.734, allocations: 288.4 MB / 303.6 MB, free: 8.141 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.0009303/0.0009303, allocations: 183 kB / 372.3 MB, free: 10.12 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.744/1.744, allocations: 205.4 MB / 0.631 GB, free: 9.879 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.0008475/0.0008476, allocations: 98.23 kB / 0.7444 GB, free: 5.789 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004778/0.0004778, allocations: 14.97 kB / 0.8675 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3252/0.3257, allocations: 115.3 MB / 0.9802 GB, free: 27.33 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Sort): time 0.001252/0.327, allocations: 0.5222 MB / 0.9807 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001274/0.3283, allocations: 0.9967 MB / 0.9816 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.205e-05/0.3284, allocations: 0 / 0.9816 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001271/0.3285, allocations: 11.94 kB / 0.9816 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.808e-05/0.3286, allocations: 11.86 kB / 0.9817 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003366/0.3289, allocations: 71.86 kB / 0.9817 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001195/0.3291, allocations: 103.7 kB / 0.9818 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001753/0.3292, allocations: 49.31 kB / 0.9819 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.671e-05/0.3293, allocations: 39.84 kB / 0.9819 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.918e-05/0.3294, allocations: 51.75 kB / 0.982 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.616e-05/0.3294, allocations: 4 kB / 0.982 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 9.952e-05/0.3295, allocations: 55.91 kB / 0.982 GB, free: 25.4 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.713e-05/0.3296, allocations: 23.91 kB / 0.982 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.527e-05/0.3296, allocations: 65.44 kB / 0.9821 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001725/0.3298, allocations: 135.9 kB / 0.9822 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.3298, allocations: 7.875 kB / 0.9822 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.084e-06/0.3298, allocations: 0 / 0.9822 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.471e-06/0.3299, allocations: 0 / 0.9822 GB, free: 25.17 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.0008295/0.3307, allocations: 483 kB / 0.9827 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.781e-05/0.3307, allocations: 12.02 kB / 0.9827 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.466e-05/0.3308, allocations: 12.75 kB / 0.9827 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001649/0.331, allocations: 204 kB / 0.9829 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.334e-05/0.331, allocations: 4.375 kB / 0.9829 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.745e-05/0.331, allocations: 8.375 kB / 0.9829 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005172/0.3315, allocations: 213.5 kB / 0.9831 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.3316, allocations: 4.188 kB / 0.9831 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.791e-05/0.3316, allocations: 7.922 kB / 0.9831 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.469e-05/0.3316, allocations: 16 kB / 0.9832 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006471/0.3323, allocations: 255.8 kB / 0.9834 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008282/0.3331, allocations: 480.3 kB / 0.9839 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003662/0.3335, allocations: 166.5 kB / 0.984 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003356/0.3338, allocations: 160.7 kB / 0.9842 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.085e-05/0.3339, allocations: 3.938 kB / 0.9842 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.205e-05/0.3339, allocations: 34.56 kB / 0.9842 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=15): time 1.543e-06/0.3339, allocations: 3.938 kB / 0.9842 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15): time 0.001167/0.3351, allocations: 481.3 kB / 0.9847 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.272e-05/0.3351, allocations: 55.41 kB / 0.9847 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001056/0.3352, allocations: 153.2 kB / 0.9849 GB, free: 22.28 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.318e-05/0.3353, allocations: 25.7 kB / 0.9849 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.991e-05/0.3353, allocations: 104.4 kB / 0.985 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.193e-05/0.3354, allocations: 47.3 kB / 0.985 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.382e-06/0.3354, allocations: 4 kB / 0.985 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.533e-05/0.3355, allocations: 326.8 kB / 0.9854 GB, free: 21.76 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003405/0.3358, allocations: 135.9 kB / 0.9855 GB, free: 21.63 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000325/0.3361, allocations: 142.7 kB / 0.9856 GB, free: 21.49 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006409/0.3368, allocations: 296.6 kB / 0.9859 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.3368, allocations: 0 / 0.9859 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006972/0.3375, allocations: 337.2 kB / 0.9862 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/0.3375, allocations: 4 kB / 0.9862 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.794e-06/0.3376, allocations: 0 / 0.9862 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.03e-05/0.3376, allocations: 4 kB / 0.9862 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002222/0.3378, allocations: 47.95 kB / 0.9863 GB, free: 20.81 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.3378, allocations: 240 / 0.9863 GB, free: 20.81 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001597/0.338, allocations: 59.78 kB / 0.9863 GB, free: 20.75 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.507e-05/0.338, allocations: 7.984 kB / 0.9863 GB, free: 20.74 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 8.997e-05/0.3381, allocations: 125.8 kB / 0.9865 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.838e-05/0.3381, allocations: 7.906 kB / 0.9865 GB, free: 20.6 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.996e-05/0.3382, allocations: 24.78 kB / 0.9865 GB, free: 20.58 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.058e-05/0.3382, allocations: 11.98 kB / 0.9865 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.3382, allocations: 0 / 0.9865 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.3382, allocations: 3.938 kB / 0.9865 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002369/0.3385, allocations: 229.4 kB / 0.9867 GB, free: 20.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.3385, allocations: 0 / 0.9867 GB, free: 20.29 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001934/0.3387, allocations: 51.95 kB / 0.9868 GB, free: 20.24 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.3387, allocations: 0 / 0.9868 GB, free: 20.24 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.236e-05/0.3387, allocations: 0 / 0.9868 GB, free: 20.24 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.3387, allocations: 0 / 0.9868 GB, free: 20.24 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.3387, allocations: 4 kB / 0.9868 GB, free: 20.24 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007521/0.3395, allocations: 448.2 kB / 0.9872 GB, free: 19.79 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.979e-05/0.3395, allocations: 92.86 kB / 0.9873 GB, free: 19.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.077e-05/0.3396, allocations: 3.938 kB / 0.9873 GB, free: 19.67 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001812/0.3397, allocations: 43.95 kB / 0.9873 GB, free: 19.63 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.279e-05/0.3398, allocations: 15.92 kB / 0.9874 GB, free: 19.61 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.988e-06/0.3398, allocations: 7.984 kB / 0.9874 GB, free: 19.61 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.337e-05/0.3399, allocations: 103.3 kB / 0.9875 GB, free: 19.5 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3399, allocations: 0 / 0.9875 GB, free: 19.5 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002762/0.3402, allocations: 36 kB / 0.9875 GB, free: 19.47 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.0002667/0.3405, allocations: 119.2 kB / 0.9876 GB, free: 19.34 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0007516/0.3412, allocations: 315.7 kB / 0.9879 GB, free: 19.03 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.3412, allocations: 0 / 0.9879 GB, free: 19.03 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003676/0.3416, allocations: 159.8 kB / 0.9881 GB, free: 18.88 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003957/0.342, allocations: 19.98 kB / 0.9881 GB, free: 18.86 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006034/0.3426, allocations: 370.6 kB / 0.9884 GB, free: 18.47 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001841/0.3428, allocations: 0.7121 MB / 0.9891 GB, free: 17.73 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 8.156e-05/0.3429, allocations: 15.98 kB / 0.9892 GB, free: 17.72 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.752e-05/0.3429, allocations: 11.44 kB / 0.9892 GB, free: 17.71 MB / 0.6198 GB Notification: Performance of SimCode: time 5.81e-07/0.343, allocations: 4 kB / 0.9892 GB, free: 17.7 MB / 0.6198 GB Notification: Performance of Templates: time 0.004014/0.347, allocations: 1.531 MB / 0.9907 GB, free: 16.19 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)