Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.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.Max,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Max") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Max,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Max") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.883/2.883, allocations: 287.5 MB / 302.4 MB, free: 8.348 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.001493/0.001493, allocations: 192.5 kB / 371 MB, free: 10.86 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.233/2.233, allocations: 205.4 MB / 0.6297 GB, free: 10.6 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.001075/0.001075, allocations: 89.34 kB / 0.743 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005142/0.0005145, allocations: 17.38 kB / 0.8658 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2647/0.2652, allocations: 115.3 MB / 0.9784 GB, free: 28.35 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Max): time 0.001376/0.2667, allocations: 434.8 kB / 0.9788 GB, free: 27.92 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001628/0.2684, allocations: 0.7932 MB / 0.9796 GB, free: 27.11 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.438e-05/0.2685, allocations: 0 / 0.9796 GB, free: 27.11 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.5e-05/0.2686, allocations: 3.938 kB / 0.9796 GB, free: 27.11 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001166/0.2687, allocations: 11.92 kB / 0.9796 GB, free: 27.1 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001373/0.2689, allocations: 7.984 kB / 0.9796 GB, free: 27.09 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001178/0.269, allocations: 39.91 kB / 0.9796 GB, free: 27.05 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001199/0.2691, allocations: 4 kB / 0.9796 GB, free: 27.05 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.634e-05/0.2692, allocations: 27.86 kB / 0.9797 GB, free: 27.02 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.901e-05/0.2693, allocations: 15.92 kB / 0.9797 GB, free: 27 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.487e-05/0.2694, allocations: 0 / 0.9797 GB, free: 27 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 2.317e-05/0.2694, allocations: 4 kB / 0.9797 GB, free: 27 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.079e-05/0.2695, allocations: 3.984 kB / 0.9797 GB, free: 27 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.34e-05/0.2695, allocations: 37.64 kB / 0.9797 GB, free: 26.95 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 9.884e-05/0.2696, allocations: 23.92 kB / 0.9797 GB, free: 26.93 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.2697, allocations: 0 / 0.9797 GB, free: 26.93 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.595e-06/0.2697, allocations: 0 / 0.9797 GB, free: 26.93 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.621e-06/0.2697, allocations: 0 / 0.9797 GB, free: 26.93 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.0008205/0.2705, allocations: 371.5 kB / 0.9801 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.518e-05/0.2706, allocations: 12.02 kB / 0.9801 GB, free: 26.51 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.653e-05/0.2707, allocations: 7.906 kB / 0.9801 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001467/0.2709, allocations: 171 kB / 0.9803 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.062e-05/0.2709, allocations: 8 kB / 0.9803 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.895e-05/0.2709, allocations: 4 kB / 0.9803 GB, free: 26.28 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00053/0.2715, allocations: 77.66 kB / 0.9804 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.719e-05/0.2715, allocations: 7.875 kB / 0.9804 GB, free: 26.19 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.819e-05/0.2716, allocations: 0 / 0.9804 GB, free: 26.19 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.2716, allocations: 0 / 0.9804 GB, free: 26.19 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008033/0.2724, allocations: 87.92 kB / 0.9804 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005788/0.273, allocations: 264.9 kB / 0.9807 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004551/0.2735, allocations: 66.55 kB / 0.9808 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004021/0.2739, allocations: 52.91 kB / 0.9808 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.713e-05/0.274, allocations: 7.938 kB / 0.9808 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.979e-05/0.274, allocations: 30.56 kB / 0.9808 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 4.408e-06/0.2741, allocations: 4 kB / 0.9809 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.001374/0.2755, allocations: 165.5 kB / 0.981 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.087e-05/0.2755, allocations: 55.41 kB / 0.9811 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001264/0.2757, allocations: 109.8 kB / 0.9812 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.093e-05/0.2757, allocations: 25.7 kB / 0.9812 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.76e-05/0.2758, allocations: 88.14 kB / 0.9813 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.067e-05/0.2759, allocations: 7.906 kB / 0.9813 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.458e-06/0.2759, allocations: 0 / 0.9813 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.649e-05/0.276, allocations: 318.8 kB / 0.9816 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003961/0.2765, allocations: 47.91 kB / 0.9816 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003939/0.2769, allocations: 48.08 kB / 0.9817 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003719/0.2773, allocations: 44.05 kB / 0.9817 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.2773, allocations: 0 / 0.9817 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0008863/0.2782, allocations: 121.5 kB / 0.9818 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.697e-05/0.2782, allocations: 8 kB / 0.9818 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.2783, allocations: 0 / 0.9818 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.486e-05/0.2783, allocations: 0 / 0.9818 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002858/0.2786, allocations: 23.97 kB / 0.9819 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.588e-06/0.2786, allocations: 0 / 0.9819 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002138/0.2789, allocations: 19.98 kB / 0.9819 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.786e-05/0.2789, allocations: 3.953 kB / 0.9819 GB, free: 24.5 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.0001233/0.2791, allocations: 113.8 kB / 0.982 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.946e-05/0.2791, allocations: 0 / 0.982 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009811/0.2801, allocations: 129.5 kB / 0.9821 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.194e-06/0.2802, allocations: 0 / 0.9821 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.2802, allocations: 4 kB / 0.9821 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/0.2802, allocations: 0 / 0.9821 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002925/0.2805, allocations: 181.4 kB / 0.9823 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.2806, allocations: 0 / 0.9823 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002723/0.2808, allocations: 19.98 kB / 0.9823 GB, free: 24 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.017e-05/0.2809, allocations: 0 / 0.9823 GB, free: 24 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.641e-05/0.2809, allocations: 0 / 0.9823 GB, free: 24 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.629e-06/0.2809, allocations: 0 / 0.9823 GB, free: 24 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.281, allocations: 3.938 kB / 0.9823 GB, free: 24 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009607/0.2819, allocations: 227.4 kB / 0.9825 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.352e-05/0.282, allocations: 81.11 kB / 0.9826 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.975e-05/0.2821, allocations: 0 / 0.9826 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000285/0.2824, allocations: 15.98 kB / 0.9826 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.475e-05/0.2825, allocations: 7.984 kB / 0.9826 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.55e-05/0.2825, allocations: 4 kB / 0.9826 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.956e-05/0.2826, allocations: 87.27 kB / 0.9827 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7.91e-07/0.2826, allocations: 0 / 0.9827 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004966/0.2831, allocations: 15.91 kB / 0.9827 GB, free: 23.53 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.0001914/0.2833, allocations: 95.25 kB / 0.9828 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0009274/0.2843, allocations: 87.92 kB / 0.9829 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/0.2843, allocations: 7.938 kB / 0.9829 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0004285/0.2848, allocations: 47.91 kB / 0.983 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005954/0.2854, allocations: 14.17 kB / 0.983 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005493/0.286, allocations: 126 kB / 0.9831 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002004/0.2862, allocations: 0.6848 MB / 0.9838 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 8.135e-05/0.2863, allocations: 4 kB / 0.9838 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.473e-05/0.2864, allocations: 7.438 kB / 0.9838 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of SimCode: time 2.555e-06/0.2864, allocations: 0 / 0.9838 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of Templates: time 0.004935/0.2913, allocations: 0.5348 MB / 0.9843 GB, free: 21.88 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Max -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe 2>&1)