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.738/2.738, allocations: 287.5 MB / 302.4 MB, free: 8.398 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.001414/0.001413, allocations: 192.8 kB / 371 MB, free: 10.85 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.199/2.199, allocations: 205.4 MB / 0.6297 GB, free: 10.59 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.0009702/0.0009703, allocations: 86.67 kB / 0.743 GB, free: 6.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000573/0.0005733, allocations: 15.27 kB / 0.8658 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2526/0.2532, allocations: 115.3 MB / 0.9784 GB, free: 28.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Average): time 0.001322/0.2545, allocations: 422.8 kB / 0.9788 GB, free: 27.94 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001614/0.2562, allocations: 0.7932 MB / 0.9796 GB, free: 27.13 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.982e-05/0.2564, allocations: 4 kB / 0.9796 GB, free: 27.12 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.14e-05/0.2565, allocations: 3.938 kB / 0.9796 GB, free: 27.12 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001059/0.2566, allocations: 3.938 kB / 0.9796 GB, free: 27.12 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 8.447e-05/0.2567, allocations: 15.92 kB / 0.9796 GB, free: 27.1 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001204/0.2568, allocations: 35.92 kB / 0.9796 GB, free: 27.07 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001257/0.257, allocations: 7.984 kB / 0.9796 GB, free: 27.06 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.919e-05/0.2571, allocations: 11.94 kB / 0.9796 GB, free: 27.05 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.029e-05/0.2572, allocations: 27.89 kB / 0.9797 GB, free: 27.02 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.115e-05/0.2572, allocations: 0 / 0.9797 GB, free: 27.02 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.553e-05/0.2573, allocations: 0 / 0.9797 GB, free: 27.02 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.805e-05/0.2573, allocations: 4 kB / 0.9797 GB, free: 27.02 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.135e-05/0.2574, allocations: 33.64 kB / 0.9797 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 9.33e-05/0.2575, allocations: 31.94 kB / 0.9797 GB, free: 26.95 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.2575, allocations: 0 / 0.9797 GB, free: 26.95 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.955e-06/0.2575, allocations: 0 / 0.9797 GB, free: 26.95 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.922e-06/0.2575, allocations: 0 / 0.9797 GB, free: 26.95 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.0008259/0.2584, allocations: 367.5 kB / 0.9801 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 6.046e-05/0.2585, allocations: 12.03 kB / 0.9801 GB, free: 26.53 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.565e-05/0.2585, allocations: 11.91 kB / 0.9801 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001281/0.2587, allocations: 170.9 kB / 0.9803 GB, free: 26.31 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.995e-05/0.2587, allocations: 4 kB / 0.9803 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.988e-05/0.2588, allocations: 0 / 0.9803 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005285/0.2593, allocations: 85.64 kB / 0.9804 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.445e-05/0.2593, allocations: 3.938 kB / 0.9804 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.799e-05/0.2594, allocations: 0 / 0.9804 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.2594, allocations: 0 / 0.9804 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007985/0.2602, allocations: 87.92 kB / 0.9804 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006073/0.2609, allocations: 260.9 kB / 0.9807 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000489/0.2614, allocations: 70.52 kB / 0.9808 GB, free: 25.74 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004144/0.2618, allocations: 48.92 kB / 0.9808 GB, free: 25.69 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.962e-05/0.2619, allocations: 15.92 kB / 0.9808 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.352e-05/0.2619, allocations: 30.56 kB / 0.9808 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 5.45e-06/0.2619, allocations: 0 / 0.9808 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.00131/0.2633, allocations: 157.5 kB / 0.981 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.41e-05/0.2634, allocations: 55.41 kB / 0.9811 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001275/0.2635, allocations: 113.8 kB / 0.9812 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.937e-05/0.2635, allocations: 25.7 kB / 0.9812 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.765e-05/0.2636, allocations: 88.12 kB / 0.9813 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.991e-05/0.2637, allocations: 11.89 kB / 0.9813 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.496e-06/0.2637, allocations: 3.938 kB / 0.9813 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.957e-05/0.2638, allocations: 314.8 kB / 0.9816 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004028/0.2642, allocations: 51.89 kB / 0.9816 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003798/0.2646, allocations: 39.97 kB / 0.9817 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000366/0.265, allocations: 39.97 kB / 0.9817 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.2651, allocations: 0 / 0.9817 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0009079/0.266, allocations: 125.5 kB / 0.9818 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.872e-05/0.266, allocations: 4 kB / 0.9818 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.191e-05/0.2661, allocations: 0 / 0.9818 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.78e-05/0.2661, allocations: 4 kB / 0.9818 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002944/0.2664, allocations: 23.98 kB / 0.9819 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.046e-05/0.2665, allocations: 0 / 0.9819 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001986/0.2667, allocations: 15.98 kB / 0.9819 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.979e-05/0.2667, allocations: 7.953 kB / 0.9819 GB, free: 24.52 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 0.0001214/0.2669, allocations: 117.8 kB / 0.982 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.974e-05/0.2669, allocations: 4 kB / 0.982 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.609e-05/0.267, allocations: 7.844 kB / 0.982 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.201e-06/0.267, allocations: 0 / 0.982 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/0.267, allocations: 0 / 0.982 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.601e-06/0.2671, allocations: 0 / 0.982 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002848/0.2674, allocations: 177.5 kB / 0.9822 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.2674, allocations: 0 / 0.9822 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000272/0.2677, allocations: 31.91 kB / 0.9822 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.452e-06/0.2677, allocations: 0 / 0.9822 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.48e-05/0.2677, allocations: 0 / 0.9822 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.881e-06/0.2678, allocations: 4 kB / 0.9822 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.2678, allocations: 0 / 0.9822 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009729/0.2688, allocations: 215.4 kB / 0.9824 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.767e-05/0.2688, allocations: 81.09 kB / 0.9825 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.769e-05/0.2689, allocations: 0 / 0.9825 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002723/0.2692, allocations: 19.98 kB / 0.9825 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.022e-05/0.2693, allocations: 8.375 kB / 0.9825 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.41e-05/0.2693, allocations: 0 / 0.9825 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.541e-05/0.2694, allocations: 87.2 kB / 0.9826 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7.01e-07/0.2694, allocations: 0 / 0.9826 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005039/0.2699, allocations: 12 kB / 0.9826 GB, free: 23.68 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.0001745/0.2701, allocations: 103.2 kB / 0.9827 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0008902/0.271, allocations: 91.92 kB / 0.9828 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.638e-06/0.2711, allocations: 0 / 0.9828 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0004057/0.2715, allocations: 48.03 kB / 0.9828 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00061/0.2721, allocations: 10.19 kB / 0.9829 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000574/0.2727, allocations: 140.5 kB / 0.983 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002068/0.273, allocations: 0.6809 MB / 0.9837 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 8.078e-05/0.2731, allocations: 8 kB / 0.9837 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.214e-05/0.2732, allocations: 11.44 kB / 0.9837 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of SimCode: time 1.824e-06/0.2732, allocations: 0 / 0.9837 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of Templates: time 0.004882/0.2781, allocations: 0.5224 MB / 0.9842 GB, free: 22.02 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)