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.943/1.943, allocations: 288.4 MB / 303.7 MB, free: 8.848 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.001335/0.001335, allocations: 172.5 kB / 372.3 MB, free: 6.422 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.873/1.873, allocations: 205.4 MB / 0.631 GB, free: 13.42 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.001087/0.001087, allocations: 86.17 kB / 0.7444 GB, free: 64.64 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000556/0.0005562, allocations: 16 kB / 0.8675 GB, free: 0.543 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2972/0.2978, allocations: 115.3 MB / 0.9802 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Average): time 0.00094/0.2988, allocations: 426.7 kB / 0.9806 GB, free: 12.62 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001054/0.2999, allocations: 0.7932 MB / 0.9813 GB, free: 11.82 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.668e-05/0.3, allocations: 0 / 0.9813 GB, free: 11.82 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.055e-05/0.3, allocations: 0 / 0.9813 GB, free: 11.82 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 8.09e-05/0.3001, allocations: 11.94 kB / 0.9813 GB, free: 11.8 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 6.382e-05/0.3002, allocations: 7.984 kB / 0.9814 GB, free: 11.8 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 8.555e-05/0.3003, allocations: 39.86 kB / 0.9814 GB, free: 11.76 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001256/0.3004, allocations: 11.98 kB / 0.9814 GB, free: 11.75 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 7.242e-05/0.3005, allocations: 15.92 kB / 0.9814 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 4.67e-05/0.3005, allocations: 11.98 kB / 0.9814 GB, free: 11.72 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.632e-05/0.3006, allocations: 7.938 kB / 0.9814 GB, free: 11.71 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 7.263e-06/0.3006, allocations: 3.938 kB / 0.9814 GB, free: 11.71 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.643e-05/0.3006, allocations: 11.98 kB / 0.9815 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 4.294e-05/0.3006, allocations: 37.62 kB / 0.9815 GB, free: 11.65 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 7.014e-05/0.3007, allocations: 31.94 kB / 0.9815 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.954e-06/0.3007, allocations: 0 / 0.9815 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.344e-06/0.3007, allocations: 0 / 0.9815 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.3008, allocations: 0 / 0.9815 GB, free: 11.62 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005909/0.3013, allocations: 371.7 kB / 0.9819 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.157e-05/0.3014, allocations: 12.02 kB / 0.9819 GB, free: 11.2 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.787e-05/0.3015, allocations: 8.844 kB / 0.9819 GB, free: 11.19 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001528/0.3016, allocations: 172.2 kB / 0.9821 GB, free: 10.98 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.595e-05/0.3016, allocations: 8.312 kB / 0.9821 GB, free: 10.97 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.446e-05/0.3017, allocations: 384 / 0.9821 GB, free: 10.97 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000292/0.302, allocations: 86.2 kB / 0.9821 GB, free: 10.88 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.684e-06/0.302, allocations: 192 / 0.9821 GB, free: 10.88 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/0.302, allocations: 3.938 kB / 0.9821 GB, free: 10.88 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.302, allocations: 0 / 0.9821 GB, free: 10.88 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000298/0.3023, allocations: 87.92 kB / 0.9822 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003996/0.3027, allocations: 265 kB / 0.9825 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002064/0.3029, allocations: 74.41 kB / 0.9826 GB, free: 10.4 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001568/0.3031, allocations: 52.92 kB / 0.9826 GB, free: 10.35 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.464e-05/0.3031, allocations: 0 / 0.9826 GB, free: 10.35 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.115e-05/0.3032, allocations: 30.56 kB / 0.9826 GB, free: 10.31 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 9.42e-07/0.3032, allocations: 0 / 0.9826 GB, free: 10.31 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0005516/0.3037, allocations: 165.5 kB / 0.9828 GB, free: 10.14 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.341e-05/0.3038, allocations: 51.41 kB / 0.9828 GB, free: 10.08 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.421e-05/0.3039, allocations: 109.8 kB / 0.9829 GB, free: 9.961 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.568e-05/0.3039, allocations: 25.7 kB / 0.983 GB, free: 9.93 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.8e-05/0.304, allocations: 88.05 kB / 0.9831 GB, free: 9.84 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.178e-05/0.304, allocations: 11.89 kB / 0.9831 GB, free: 9.828 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.4e-06/0.304, allocations: 4 kB / 0.9831 GB, free: 9.824 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001241/0.3041, allocations: 318.8 kB / 0.9834 GB, free: 9.504 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001427/0.3043, allocations: 39.97 kB / 0.9834 GB, free: 9.465 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001347/0.3044, allocations: 47.95 kB / 0.9835 GB, free: 9.418 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002808/0.3047, allocations: 84.8 kB / 0.9835 GB, free: 9.332 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.3047, allocations: 3.938 kB / 0.9835 GB, free: 9.328 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003194/0.3051, allocations: 125.5 kB / 0.9837 GB, free: 9.199 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.3051, allocations: 4 kB / 0.9837 GB, free: 9.195 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.3051, allocations: 0 / 0.9837 GB, free: 9.195 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.3051, allocations: 0 / 0.9837 GB, free: 9.195 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001359/0.3053, allocations: 19.98 kB / 0.9837 GB, free: 9.176 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.211e-06/0.3053, allocations: 4 kB / 0.9837 GB, free: 9.172 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.583e-05/0.3054, allocations: 19.92 kB / 0.9837 GB, free: 9.152 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.298e-06/0.3054, allocations: 4 kB / 0.9837 GB, free: 9.148 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 (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 9.488e-05/0.3055, allocations: 117.8 kB / 0.9838 GB, free: 9.023 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.673e-05/0.3055, allocations: 7.906 kB / 0.9838 GB, free: 9.016 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.965e-05/0.3055, allocations: 7.906 kB / 0.9838 GB, free: 9.008 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.3055, allocations: 7.938 kB / 0.9838 GB, free: 9 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.3056, allocations: 0 / 0.9838 GB, free: 9 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.3056, allocations: 0 / 0.9838 GB, free: 9 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002091/0.3058, allocations: 173.5 kB / 0.984 GB, free: 8.781 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.3058, allocations: 0 / 0.984 GB, free: 8.781 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001027/0.3059, allocations: 27.97 kB / 0.984 GB, free: 8.754 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.3059, allocations: 0 / 0.984 GB, free: 8.754 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.847e-06/0.3059, allocations: 336 / 0.984 GB, free: 8.754 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.3059, allocations: 4 kB / 0.984 GB, free: 8.75 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.3059, allocations: 4 kB / 0.984 GB, free: 8.746 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003913/0.3063, allocations: 219.3 kB / 0.9843 GB, free: 8.516 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.76e-05/0.3064, allocations: 85 kB / 0.9843 GB, free: 8.414 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.464e-05/0.3064, allocations: 0 / 0.9843 GB, free: 8.414 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001068/0.3065, allocations: 19.98 kB / 0.9844 GB, free: 8.395 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.842e-05/0.3066, allocations: 4 kB / 0.9844 GB, free: 8.391 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.907e-06/0.3066, allocations: 4 kB / 0.9844 GB, free: 8.387 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.729e-05/0.3067, allocations: 87.58 kB / 0.9844 GB, free: 8.301 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1e-07/0.3067, allocations: 0 / 0.9844 GB, free: 8.301 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001971/0.3069, allocations: 8 kB / 0.9845 GB, free: 8.293 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 (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.0001465/0.307, allocations: 95.25 kB / 0.9845 GB, free: 8.191 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003578/0.3074, allocations: 95.86 kB / 0.9846 GB, free: 8.098 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.3074, allocations: 0 / 0.9846 GB, free: 8.098 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001571/0.3075, allocations: 51.95 kB / 0.9847 GB, free: 8.047 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000291/0.3078, allocations: 9.828 kB / 0.9847 GB, free: 8.039 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003735/0.3082, allocations: 130.7 kB / 0.9848 GB, free: 7.891 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003233/0.3086, allocations: 0.6886 MB / 0.9855 GB, free: 7.176 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.846e-05/0.3086, allocations: 3.984 kB / 0.9855 GB, free: 7.172 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.852e-05/0.3086, allocations: 7.438 kB / 0.9855 GB, free: 7.164 MB / 0.7136 GB Notification: Performance of SimCode: time 2.3e-07/0.3087, allocations: 0 / 0.9855 GB, free: 7.164 MB / 0.7136 GB Notification: Performance of Templates: time 0.002685/0.3113, allocations: 0.5284 MB / 0.986 GB, free: 6.641 MB / 0.7136 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)