Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.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.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Average") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.957/2.957, allocations: 287.3 MB / 302.3 MB, free: 8.375 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.00162/0.00162, allocations: 181.4 kB / 370.8 MB, free: 10.88 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.45/2.45, allocations: 205.4 MB / 0.6295 GB, free: 10.62 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.001137/0.001138, allocations: 94.91 kB / 0.7428 GB, free: 6.621 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006504/0.0006507, allocations: 22.28 kB / 0.8656 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2578/0.2585, allocations: 115.3 MB / 0.9782 GB, free: 28.38 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Average): time 0.0008932/0.2594, allocations: 425.2 kB / 0.9786 GB, free: 27.96 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0009606/0.2604, allocations: 0.7949 MB / 0.9794 GB, free: 27.15 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.729e-05/0.2605, allocations: 0 / 0.9794 GB, free: 27.15 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.479e-05/0.2605, allocations: 0 / 0.9794 GB, free: 27.15 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.33e-05/0.2606, allocations: 7.984 kB / 0.9794 GB, free: 27.14 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 6.017e-05/0.2607, allocations: 7.984 kB / 0.9794 GB, free: 27.13 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.928e-05/0.2608, allocations: 31.84 kB / 0.9794 GB, free: 27.1 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.769e-05/0.2609, allocations: 4 kB / 0.9794 GB, free: 27.1 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.545e-05/0.261, allocations: 23.91 kB / 0.9795 GB, free: 27.07 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.056e-05/0.261, allocations: 15.98 kB / 0.9795 GB, free: 27.06 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.473e-05/0.261, allocations: 3.938 kB / 0.9795 GB, free: 27.05 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.146e-05/0.2611, allocations: 4 kB / 0.9795 GB, free: 27.05 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.538e-05/0.2611, allocations: 7.984 kB / 0.9795 GB, free: 27.04 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.156e-05/0.2611, allocations: 25.7 kB / 0.9795 GB, free: 27.01 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 6.465e-05/0.2612, allocations: 27.94 kB / 0.9795 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.2612, allocations: 0 / 0.9795 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.794e-06/0.2612, allocations: 0 / 0.9795 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.2612, allocations: 0 / 0.9795 GB, free: 26.98 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.0005609/0.2618, allocations: 367.5 kB / 0.9799 GB, free: 26.58 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/0.2619, allocations: 8.031 kB / 0.9799 GB, free: 26.57 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.307e-05/0.2619, allocations: 15.89 kB / 0.9799 GB, free: 26.55 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.44e-05/0.262, allocations: 170.9 kB / 0.9801 GB, free: 26.35 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.525e-05/0.262, allocations: 4 kB / 0.9801 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.73e-05/0.2621, allocations: 4 kB / 0.9801 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003719/0.2625, allocations: 77.66 kB / 0.9802 GB, free: 26.26 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.2625, allocations: 0 / 0.9802 GB, free: 26.26 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.25e-05/0.2625, allocations: 0 / 0.9802 GB, free: 26.26 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.2625, allocations: 0 / 0.9802 GB, free: 26.26 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004924/0.263, allocations: 91.91 kB / 0.9803 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004067/0.2635, allocations: 276.8 kB / 0.9805 GB, free: 25.85 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003096/0.2638, allocations: 66.53 kB / 0.9806 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.89e-05/0.2638, allocations: 4 kB / 0.9806 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.105e-05/0.2639, allocations: 34.56 kB / 0.9806 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 2.475e-06/0.2639, allocations: 0 / 0.9806 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0008617/0.2647, allocations: 165.5 kB / 0.9808 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.815e-05/0.2648, allocations: 55.41 kB / 0.9808 GB, free: 25.49 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.31e-05/0.2649, allocations: 109.8 kB / 0.9809 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.158e-05/0.2649, allocations: 25.7 kB / 0.981 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.852e-05/0.2649, allocations: 88.12 kB / 0.981 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.178e-05/0.265, allocations: 3.906 kB / 0.981 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.6e-06/0.265, allocations: 4 kB / 0.981 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.1e-05/0.2651, allocations: 318.8 kB / 0.9814 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002494/0.2653, allocations: 51.89 kB / 0.9814 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002405/0.2656, allocations: 39.97 kB / 0.9814 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002451/0.2658, allocations: 43.95 kB / 0.9815 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.2659, allocations: 0 / 0.9815 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0005939/0.2665, allocations: 121.5 kB / 0.9816 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.187e-05/0.2665, allocations: 5.875 kB / 0.9816 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.2665, allocations: 3.938 kB / 0.9816 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/0.2665, allocations: 4 kB / 0.9816 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002006/0.2667, allocations: 19.98 kB / 0.9816 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.2668, allocations: 0 / 0.9816 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001414/0.2669, allocations: 19.97 kB / 0.9816 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.108e-05/0.2669, allocations: 4 kB / 0.9817 GB, free: 24.61 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 7.784e-05/0.267, allocations: 117.8 kB / 0.9818 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.331e-05/0.2671, allocations: 4 kB / 0.9818 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.789e-05/0.2671, allocations: 3.906 kB / 0.9818 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.2671, allocations: 0 / 0.9818 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.2671, allocations: 0 / 0.9818 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.2671, allocations: 0 / 0.9818 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001807/0.2673, allocations: 181.4 kB / 0.9819 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.2673, allocations: 0 / 0.9819 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001658/0.2675, allocations: 23.98 kB / 0.982 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/0.2675, allocations: 0 / 0.982 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.929e-06/0.2676, allocations: 0 / 0.982 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.2676, allocations: 0 / 0.982 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.2676, allocations: 0 / 0.982 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005746/0.2682, allocations: 219.4 kB / 0.9822 GB, free: 24 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.614e-05/0.2682, allocations: 85.09 kB / 0.9823 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.029e-05/0.2682, allocations: 4 kB / 0.9823 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001805/0.2684, allocations: 19.98 kB / 0.9823 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.962e-05/0.2685, allocations: 8.359 kB / 0.9823 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.536e-06/0.2685, allocations: 4 kB / 0.9823 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.105e-05/0.2686, allocations: 79.28 kB / 0.9824 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.71e-07/0.2686, allocations: 0 / 0.9824 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002824/0.2689, allocations: 12 kB / 0.9824 GB, free: 23.78 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.000125/0.269, allocations: 103.2 kB / 0.9825 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005683/0.2696, allocations: 95.91 kB / 0.9826 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.2696, allocations: 7.938 kB / 0.9826 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002602/0.2699, allocations: 47.89 kB / 0.9826 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000307/0.2702, allocations: 7.953 kB / 0.9826 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003667/0.2706, allocations: 136.6 kB / 0.9828 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001319/0.2707, allocations: 0.6848 MB / 0.9834 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.104e-05/0.2708, allocations: 0 / 0.9834 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.718e-05/0.2708, allocations: 11.44 kB / 0.9834 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of SimCode: time 7.41e-07/0.2708, allocations: 0 / 0.9834 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of Templates: time 0.003106/0.274, allocations: 0.5244 MB / 0.984 GB, free: 22.11 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Average -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe 2>&1)