Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.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.Modulo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.7/2.7, allocations: 287.5 MB / 302.4 MB, free: 8.234 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.001545/0.001546, allocations: 180.4 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.339/2.339, allocations: 205.4 MB / 0.6297 GB, free: 10.58 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.001711/0.001711, allocations: 86.28 kB / 0.743 GB, free: 6.582 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007854/0.0007859, allocations: 21.88 kB / 0.8658 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2754/0.2762, allocations: 115.3 MB / 0.9784 GB, free: 28.34 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo): time 0.001039/0.2773, allocations: 422.8 kB / 0.9788 GB, free: 27.92 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001174/0.2785, allocations: 0.8595 MB / 0.9796 GB, free: 27.04 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.624e-05/0.2786, allocations: 0 / 0.9796 GB, free: 27.04 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.731e-05/0.2787, allocations: 3.938 kB / 0.9796 GB, free: 27.04 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.605e-05/0.2788, allocations: 7.875 kB / 0.9796 GB, free: 27.03 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001821/0.279, allocations: 19.97 kB / 0.9796 GB, free: 27.01 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.843e-05/0.2791, allocations: 35.92 kB / 0.9797 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.754e-05/0.2792, allocations: 7.984 kB / 0.9797 GB, free: 26.97 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.14e-05/0.2793, allocations: 19.92 kB / 0.9797 GB, free: 26.95 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.481e-05/0.2794, allocations: 19.92 kB / 0.9797 GB, free: 26.93 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.534e-05/0.2794, allocations: 0 / 0.9797 GB, free: 26.93 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.605e-05/0.2794, allocations: 4 kB / 0.9797 GB, free: 26.93 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.57e-05/0.2794, allocations: 3.938 kB / 0.9797 GB, free: 26.92 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.773e-05/0.2795, allocations: 29.7 kB / 0.9798 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 8.093e-05/0.2796, allocations: 35.91 kB / 0.9798 GB, free: 26.85 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.2796, allocations: 0 / 0.9798 GB, free: 26.85 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.046e-06/0.2796, allocations: 0 / 0.9798 GB, free: 26.85 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.2796, allocations: 0 / 0.9798 GB, free: 26.85 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.0006289/0.2802, allocations: 367.5 kB / 0.9801 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.63e-05/0.2803, allocations: 12.02 kB / 0.9802 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.502e-05/0.2804, allocations: 7.906 kB / 0.9802 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001032/0.2805, allocations: 167 kB / 0.9803 GB, free: 26.22 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.68e-05/0.2805, allocations: 4 kB / 0.9803 GB, free: 26.22 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.494e-05/0.2805, allocations: 8 kB / 0.9803 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003648/0.2809, allocations: 85.58 kB / 0.9804 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.2809, allocations: 0 / 0.9804 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.509e-05/0.281, allocations: 0 / 0.9804 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.281, allocations: 0 / 0.9804 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004997/0.2815, allocations: 87.92 kB / 0.9805 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004421/0.2819, allocations: 268.9 kB / 0.9808 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003164/0.2823, allocations: 70.48 kB / 0.9808 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002607/0.2825, allocations: 48.91 kB / 0.9809 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.441e-05/0.2826, allocations: 0 / 0.9809 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.617e-05/0.2826, allocations: 34.56 kB / 0.9809 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.563e-06/0.2826, allocations: 4 kB / 0.9809 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0009064/0.2836, allocations: 169.5 kB / 0.9811 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.543e-05/0.2836, allocations: 51.41 kB / 0.9811 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.664e-05/0.2837, allocations: 113.8 kB / 0.9812 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.554e-05/0.2837, allocations: 29.64 kB / 0.9813 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.458e-05/0.2838, allocations: 92.08 kB / 0.9813 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.77e-05/0.2838, allocations: 11.84 kB / 0.9814 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.691e-06/0.2839, allocations: 0 / 0.9814 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.375e-05/0.2839, allocations: 318.8 kB / 0.9817 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002771/0.2842, allocations: 43.97 kB / 0.9817 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002447/0.2845, allocations: 39.97 kB / 0.9817 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002516/0.2847, allocations: 39.95 kB / 0.9818 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.2848, allocations: 0 / 0.9818 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0005752/0.2854, allocations: 125.5 kB / 0.9819 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.32e-05/0.2854, allocations: 5.719 kB / 0.9819 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.2854, allocations: 4.312 kB / 0.9819 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.602e-05/0.2854, allocations: 0 / 0.9819 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002152/0.2857, allocations: 23.97 kB / 0.9819 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.864e-06/0.2857, allocations: 0 / 0.9819 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001428/0.2858, allocations: 19.98 kB / 0.9819 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.501e-05/0.2859, allocations: 7.938 kB / 0.982 GB, free: 24.42 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 8.477e-05/0.286, allocations: 113.8 kB / 0.9821 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.604e-05/0.286, allocations: 4 kB / 0.9821 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.593e-05/0.2861, allocations: 3.906 kB / 0.9821 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.2861, allocations: 0 / 0.9821 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.2861, allocations: 4 kB / 0.9821 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.2861, allocations: 4 kB / 0.9821 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001879/0.2863, allocations: 177.4 kB / 0.9822 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.2863, allocations: 4 kB / 0.9823 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000165/0.2865, allocations: 15.98 kB / 0.9823 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.322e-06/0.2865, allocations: 4 kB / 0.9823 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/0.2865, allocations: 0 / 0.9823 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.2865, allocations: 0 / 0.9823 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.2865, allocations: 4 kB / 0.9823 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006122/0.2872, allocations: 219.4 kB / 0.9825 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.041e-05/0.2872, allocations: 77.11 kB / 0.9826 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.994e-05/0.2872, allocations: 3.938 kB / 0.9826 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001707/0.2874, allocations: 15.98 kB / 0.9826 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.002e-05/0.2875, allocations: 7.984 kB / 0.9826 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.977e-06/0.2875, allocations: 4 kB / 0.9826 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.897e-05/0.2876, allocations: 91.27 kB / 0.9827 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.362e-06/0.2876, allocations: 0 / 0.9827 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003002/0.2879, allocations: 7.938 kB / 0.9827 GB, free: 23.59 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.0002013/0.2881, allocations: 103.2 kB / 0.9828 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005916/0.2887, allocations: 87.92 kB / 0.9829 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.2887, allocations: 0 / 0.9829 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002685/0.289, allocations: 55.84 kB / 0.9829 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003856/0.2894, allocations: 11.94 kB / 0.9829 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004047/0.2898, allocations: 133.7 kB / 0.9831 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001486/0.29, allocations: 0.6809 MB / 0.9837 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.982e-05/0.2901, allocations: 0.5625 kB / 0.9837 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.883e-05/0.2901, allocations: 11.44 kB / 0.9837 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of SimCode: time 1.252e-06/0.2901, allocations: 0 / 0.9837 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of Templates: time 0.00357/0.2937, allocations: 0.565 MB / 0.9843 GB, free: 21.89 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe 2>&1)