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.Average.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.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Average") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Average") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.753/1.753, allocations: 288.3 MB / 303.2 MB, free: 8.133 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.001244/0.001244, allocations: 190.1 kB / 371.9 MB, free: 10.26 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.538/1.538, allocations: 205.4 MB / 0.6306 GB, free: 9.977 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.0008969/0.0008965, allocations: 111.1 kB / 0.7439 GB, free: 5.906 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004334/0.0004335, allocations: 13.03 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2619/0.2624, allocations: 115.3 MB / 0.9794 GB, free: 27.67 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Average): time 0.0009244/0.2634, allocations: 413.5 kB / 0.9798 GB, free: 27.26 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0008145/0.2642, allocations: 0.7987 MB / 0.9806 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.947e-05/0.2642, allocations: 3.938 kB / 0.9806 GB, free: 26.44 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.369e-05/0.2642, allocations: 0 / 0.9806 GB, free: 26.44 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.756e-05/0.2643, allocations: 15.94 kB / 0.9806 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 6.354e-05/0.2644, allocations: 7.984 kB / 0.9806 GB, free: 26.42 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.105e-05/0.2645, allocations: 27.91 kB / 0.9807 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001147/0.2646, allocations: 7.984 kB / 0.9807 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.14e-05/0.2647, allocations: 11.98 kB / 0.9807 GB, free: 26.37 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.807e-05/0.2648, allocations: 19.92 kB / 0.9807 GB, free: 26.35 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.876e-05/0.2648, allocations: 0 / 0.9807 GB, free: 26.35 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.09e-05/0.2648, allocations: 4 kB / 0.9807 GB, free: 26.35 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.21e-05/0.2648, allocations: 7.922 kB / 0.9807 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.215e-05/0.2648, allocations: 33.7 kB / 0.9808 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 6.13e-05/0.2649, allocations: 23.94 kB / 0.9808 GB, free: 26.28 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.2649, allocations: 4 kB / 0.9808 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.244e-06/0.2649, allocations: 0 / 0.9808 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.438e-06/0.2649, allocations: 0 / 0.9808 GB, free: 26.27 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004905/0.2654, allocations: 365.1 kB / 0.9811 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.2655, allocations: 12.02 kB / 0.9811 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.781e-05/0.2655, allocations: 7.906 kB / 0.9812 GB, free: 25.85 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001077/0.2656, allocations: 175 kB / 0.9813 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.62e-05/0.2657, allocations: 4 kB / 0.9813 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.528e-05/0.2657, allocations: 3.938 kB / 0.9813 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002587/0.266, allocations: 81.66 kB / 0.9814 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.266, allocations: 0 / 0.9814 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.301e-05/0.266, allocations: 0 / 0.9814 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.523e-06/0.266, allocations: 0 / 0.9814 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003108/0.2663, allocations: 87.92 kB / 0.9815 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003644/0.2667, allocations: 268.9 kB / 0.9817 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001996/0.2669, allocations: 70.47 kB / 0.9818 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.266e-05/0.2669, allocations: 0 / 0.9818 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.119e-05/0.267, allocations: 30.56 kB / 0.9818 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.453e-06/0.267, allocations: 4 kB / 0.9818 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0005191/0.2675, allocations: 157.6 kB / 0.982 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.599e-05/0.2675, allocations: 55.41 kB / 0.982 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.152e-05/0.2676, allocations: 113.8 kB / 0.9822 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.977e-06/0.2676, allocations: 25.7 kB / 0.9822 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.292e-05/0.2676, allocations: 96.06 kB / 0.9823 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.615e-05/0.2677, allocations: 7.906 kB / 0.9823 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.967e-06/0.2677, allocations: 0 / 0.9823 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.918e-05/0.2677, allocations: 318.8 kB / 0.9826 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001393/0.2679, allocations: 39.95 kB / 0.9826 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000127/0.268, allocations: 43.97 kB / 0.9827 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001314/0.2682, allocations: 43.95 kB / 0.9827 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.2682, allocations: 0 / 0.9827 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002873/0.2685, allocations: 129.5 kB / 0.9828 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.2685, allocations: 4 kB / 0.9828 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.2685, allocations: 4 kB / 0.9828 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.2685, allocations: 0 / 0.9828 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001239/0.2686, allocations: 15.98 kB / 0.9829 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.682e-06/0.2687, allocations: 7.938 kB / 0.9829 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.808e-05/0.2687, allocations: 23.97 kB / 0.9829 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.492e-06/0.2688, allocations: 0 / 0.9829 GB, free: 23.91 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 (3): * Single equations (assignments): 3 * Array equations: 0 * 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 5.979e-05/0.2688, allocations: 109.8 kB / 0.983 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.218e-05/0.2688, allocations: 4 kB / 0.983 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.36e-05/0.2689, allocations: 8.234 kB / 0.983 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.203e-06/0.2689, allocations: 0 / 0.983 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.2689, allocations: 0 / 0.983 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.389e-06/0.2689, allocations: 7.984 kB / 0.983 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001324/0.269, allocations: 185.4 kB / 0.9832 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.2691, allocations: 0 / 0.9832 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.922e-05/0.2691, allocations: 19.98 kB / 0.9832 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.2692, allocations: 0 / 0.9832 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.716e-06/0.2692, allocations: 4 kB / 0.9832 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/0.2692, allocations: 0 / 0.9832 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.2692, allocations: 0 / 0.9832 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003182/0.2695, allocations: 227.4 kB / 0.9834 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.035e-05/0.2695, allocations: 77.11 kB / 0.9835 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.408e-05/0.2696, allocations: 0 / 0.9835 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001002/0.2697, allocations: 15.98 kB / 0.9835 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.615e-05/0.2697, allocations: 7.984 kB / 0.9835 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.986e-06/0.2697, allocations: 0 / 0.9835 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.062e-05/0.2698, allocations: 87.59 kB / 0.9836 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2698, allocations: 3.938 kB / 0.9836 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001987/0.27, allocations: 8 kB / 0.9836 GB, free: 23.07 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 (3): * Single equations (assignments): 3 * Array equations: 0 * 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.0001195/0.2701, allocations: 99.25 kB / 0.9837 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003305/0.2704, allocations: 91.92 kB / 0.9838 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.2704, allocations: 4 kB / 0.9838 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001425/0.2706, allocations: 55.89 kB / 0.9839 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002241/0.2708, allocations: 7.953 kB / 0.9839 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002825/0.2711, allocations: 132.6 kB / 0.984 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001434/0.2713, allocations: 0.6848 MB / 0.9847 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.804e-05/0.2713, allocations: 0 / 0.9847 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.835e-05/0.2713, allocations: 15.38 kB / 0.9847 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of SimCode: time 2.1e-07/0.2713, allocations: 0 / 0.9847 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of Templates: time 0.002235/0.2736, allocations: 0.5168 MB / 0.9852 GB, free: 21.41 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Average -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe 2>&1)