Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.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.Product,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Product") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Product,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Product") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 3.316/3.316, allocations: 287.3 MB / 302.3 MB, free: 8.254 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.001583/0.001583, allocations: 190.4 kB / 370.8 MB, free: 10.84 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.542/2.542, 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.001152/0.001152, allocations: 88.03 kB / 0.7428 GB, free: 6.621 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007695/0.0007698, allocations: 13.31 kB / 0.8656 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2669/0.2677, allocations: 115.3 MB / 0.9782 GB, free: 28.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Product): time 0.0009139/0.2687, allocations: 425.2 kB / 0.9786 GB, free: 27.93 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0009421/0.2696, allocations: 0.791 MB / 0.9794 GB, free: 27.13 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.034e-05/0.2697, allocations: 4 kB / 0.9794 GB, free: 27.12 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.843e-05/0.2697, allocations: 3.938 kB / 0.9794 GB, free: 27.12 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.988e-05/0.2699, allocations: 11.97 kB / 0.9794 GB, free: 27.11 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 5.804e-05/0.2699, allocations: 7.938 kB / 0.9794 GB, free: 27.1 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.145e-05/0.27, allocations: 23.97 kB / 0.9794 GB, free: 27.08 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001065/0.2701, allocations: 7.984 kB / 0.9794 GB, free: 27.07 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.816e-05/0.2702, allocations: 23.91 kB / 0.9795 GB, free: 27.05 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.184e-05/0.2703, allocations: 19.92 kB / 0.9795 GB, free: 27.03 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.424e-05/0.2703, allocations: 0 / 0.9795 GB, free: 27.03 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.094e-05/0.2703, allocations: 4 kB / 0.9795 GB, free: 27.02 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.313e-05/0.2703, allocations: 0 / 0.9795 GB, free: 27.02 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.466e-05/0.2704, allocations: 37.64 kB / 0.9795 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 6.611e-05/0.2704, allocations: 23.92 kB / 0.9795 GB, free: 26.96 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.005e-06/0.2705, allocations: 0 / 0.9795 GB, free: 26.96 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.335e-06/0.2705, allocations: 0 / 0.9795 GB, free: 26.96 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.989e-06/0.2705, allocations: 0 / 0.9795 GB, free: 26.96 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.0005455/0.271, allocations: 369.2 kB / 0.9799 GB, free: 26.55 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.2711, allocations: 8.031 kB / 0.9799 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.741e-05/0.2711, allocations: 11.91 kB / 0.9799 GB, free: 26.53 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001102/0.2713, allocations: 171 kB / 0.9801 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.605e-05/0.2713, allocations: 4 kB / 0.9801 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.602e-05/0.2713, allocations: 0 / 0.9801 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003688/0.2717, allocations: 85.64 kB / 0.9802 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.639e-06/0.2717, allocations: 0 / 0.9802 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.265e-05/0.2717, allocations: 0 / 0.9802 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.85e-06/0.2717, allocations: 3.938 kB / 0.9802 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000494/0.2723, allocations: 91.86 kB / 0.9803 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003825/0.2726, allocations: 268.9 kB / 0.9805 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003142/0.273, allocations: 70.52 kB / 0.9806 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.796e-05/0.273, allocations: 4 kB / 0.9806 GB, free: 25.74 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.768e-05/0.273, allocations: 34.5 kB / 0.9806 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.884e-06/0.2731, allocations: 0 / 0.9806 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0008688/0.2739, allocations: 161.6 kB / 0.9808 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.99e-05/0.274, allocations: 59.41 kB / 0.9808 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.072e-05/0.2741, allocations: 109.8 kB / 0.9809 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.159e-05/0.2741, allocations: 25.7 kB / 0.981 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.818e-05/0.2741, allocations: 84.14 kB / 0.981 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.134e-05/0.2742, allocations: 7.906 kB / 0.981 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.512e-06/0.2742, allocations: 0 / 0.981 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.333e-05/0.2743, allocations: 322.7 kB / 0.9814 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002496/0.2745, allocations: 43.97 kB / 0.9814 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002473/0.2748, allocations: 43.95 kB / 0.9814 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000249/0.2751, allocations: 43.91 kB / 0.9815 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.2751, allocations: 4 kB / 0.9815 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0005999/0.2757, allocations: 117.5 kB / 0.9816 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.21e-05/0.2757, allocations: 10.19 kB / 0.9816 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.2757, allocations: 0 / 0.9816 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.907e-05/0.2758, allocations: 0 / 0.9816 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000251/0.276, allocations: 31.97 kB / 0.9816 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.295e-06/0.2761, allocations: 0 / 0.9816 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002127/0.2763, allocations: 15.98 kB / 0.9817 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.487e-05/0.2763, allocations: 0 / 0.9817 GB, free: 24.59 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.0001344/0.2765, allocations: 109.8 kB / 0.9818 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.52e-05/0.2766, allocations: 8 kB / 0.9818 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.651e-05/0.2766, allocations: 7.906 kB / 0.9818 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.123e-06/0.2767, allocations: 3.984 kB / 0.9818 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.939e-06/0.2767, allocations: 0 / 0.9818 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.139e-06/0.2767, allocations: 4 kB / 0.9818 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004312/0.2771, allocations: 173.5 kB / 0.9819 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.2772, allocations: 7.938 kB / 0.982 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002888/0.2775, allocations: 15.98 kB / 0.982 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.548e-06/0.2775, allocations: 4 kB / 0.982 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.709e-05/0.2775, allocations: 4 kB / 0.982 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.139e-06/0.2776, allocations: 0 / 0.982 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/0.2776, allocations: 3.984 kB / 0.982 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009819/0.2786, allocations: 215.4 kB / 0.9822 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.98e-05/0.2787, allocations: 77.11 kB / 0.9823 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.37e-05/0.2787, allocations: 4 kB / 0.9823 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002741/0.279, allocations: 23.92 kB / 0.9823 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.5e-05/0.2791, allocations: 7.984 kB / 0.9823 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.189e-05/0.2791, allocations: 0 / 0.9823 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 7.362e-05/0.2792, allocations: 87.27 kB / 0.9824 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.82e-07/0.2793, allocations: 4 kB / 0.9824 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005789/0.2798, allocations: 4 kB / 0.9824 GB, free: 23.75 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.0002315/0.2801, allocations: 99.19 kB / 0.9825 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001017/0.2811, allocations: 100.2 kB / 0.9826 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 8.797e-06/0.2812, allocations: 4 kB / 0.9826 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0005614/0.2818, allocations: 48.06 kB / 0.9826 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000516/0.2823, allocations: 7.938 kB / 0.9826 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005411/0.2829, allocations: 132.7 kB / 0.9828 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002037/0.2831, allocations: 0.6887 MB / 0.9834 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 8.17e-05/0.2832, allocations: 3.984 kB / 0.9834 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.811e-05/0.2833, allocations: 7.438 kB / 0.9834 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of SimCode: time 1.363e-06/0.2833, allocations: 4 kB / 0.9834 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of Templates: time 0.005092/0.2884, allocations: 0.5168 MB / 0.9839 GB, free: 22.09 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Product -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.pipe 2>&1)