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.783/2.783, allocations: 287.3 MB / 302.3 MB, free: 8.23 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.001591/0.001591, allocations: 182.8 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.302/2.302, allocations: 205.4 MB / 0.6295 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.001173/0.001173, allocations: 101.8 kB / 0.7428 GB, free: 6.582 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007436/0.0007438, allocations: 22.31 kB / 0.8656 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2345/0.2353, 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.Modulo): time 0.0009238/0.2363, allocations: 425.2 kB / 0.9786 GB, free: 27.94 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001042/0.2374, allocations: 0.865 MB / 0.9795 GB, free: 27.06 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.508e-05/0.2374, allocations: 0 / 0.9795 GB, free: 27.06 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.491e-05/0.2375, allocations: 0 / 0.9795 GB, free: 27.06 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.908e-05/0.2376, allocations: 4 kB / 0.9795 GB, free: 27.05 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001517/0.2377, allocations: 19.91 kB / 0.9795 GB, free: 27.04 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.466e-05/0.2378, allocations: 19.97 kB / 0.9795 GB, free: 27.02 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.419e-05/0.2379, allocations: 8 kB / 0.9795 GB, free: 27.01 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.353e-05/0.238, allocations: 23.92 kB / 0.9795 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.534e-05/0.2381, allocations: 15.92 kB / 0.9795 GB, free: 26.97 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.709e-05/0.2381, allocations: 4 kB / 0.9796 GB, free: 26.96 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.282e-05/0.2381, allocations: 0 / 0.9796 GB, free: 26.96 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.441e-05/0.2381, allocations: 3.984 kB / 0.9796 GB, free: 26.96 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.377e-05/0.2382, allocations: 33.7 kB / 0.9796 GB, free: 26.92 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 6.396e-05/0.2382, allocations: 23.92 kB / 0.9796 GB, free: 26.9 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.2382, allocations: 0 / 0.9796 GB, free: 26.9 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.614e-06/0.2383, allocations: 0 / 0.9796 GB, free: 26.9 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.048e-06/0.2383, allocations: 0 / 0.9796 GB, free: 26.9 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.0005449/0.2388, allocations: 367.5 kB / 0.98 GB, free: 26.49 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.2389, allocations: 12.02 kB / 0.98 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.2e-05/0.2389, allocations: 7.906 kB / 0.98 GB, free: 26.47 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.644e-05/0.239, allocations: 182.8 kB / 0.9802 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.373e-05/0.239, allocations: 0 / 0.9802 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.721e-05/0.2391, allocations: 8 kB / 0.9802 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003789/0.2395, allocations: 73.66 kB / 0.9802 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.2395, allocations: 0 / 0.9802 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.379e-05/0.2395, allocations: 4 kB / 0.9802 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.91e-06/0.2395, allocations: 3.938 kB / 0.9802 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004978/0.24, allocations: 87.92 kB / 0.9803 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003595/0.2404, allocations: 272.9 kB / 0.9806 GB, free: 25.76 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003089/0.2407, allocations: 66.55 kB / 0.9806 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.821e-05/0.2408, allocations: 8.062 kB / 0.9807 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.062e-05/0.2408, allocations: 30.56 kB / 0.9807 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.793e-06/0.2408, allocations: 0 / 0.9807 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.000877/0.2417, allocations: 161.4 kB / 0.9808 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.839e-05/0.2417, allocations: 59.41 kB / 0.9809 GB, free: 25.4 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.272e-05/0.2418, allocations: 109.8 kB / 0.981 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.337e-05/0.2419, allocations: 25.7 kB / 0.981 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.158e-05/0.2419, allocations: 92.12 kB / 0.9811 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.27e-05/0.2419, allocations: 7.906 kB / 0.9811 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.141e-06/0.242, allocations: 0 / 0.9811 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.14e-05/0.242, allocations: 314.8 kB / 0.9814 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002547/0.2423, allocations: 47.95 kB / 0.9815 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002485/0.2426, allocations: 39.97 kB / 0.9815 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002541/0.2428, allocations: 47.95 kB / 0.9815 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.2428, allocations: 0 / 0.9815 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0005915/0.2434, allocations: 125.5 kB / 0.9817 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/0.2435, allocations: 6.031 kB / 0.9817 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.231e-06/0.2435, allocations: 0 / 0.9817 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.982e-05/0.2435, allocations: 0 / 0.9817 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002084/0.2437, allocations: 27.98 kB / 0.9817 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.2438, allocations: 0 / 0.9817 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001446/0.2439, allocations: 23.97 kB / 0.9817 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.119e-05/0.2439, allocations: 0 / 0.9817 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 7.479e-05/0.244, allocations: 117.8 kB / 0.9818 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.222e-05/0.2441, allocations: 0 / 0.9818 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.48e-05/0.2441, allocations: 7.906 kB / 0.9818 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.2441, allocations: 4 kB / 0.9818 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.2441, allocations: 0 / 0.9818 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.2441, allocations: 0 / 0.9818 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001815/0.2443, allocations: 185.4 kB / 0.982 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.2443, allocations: 0 / 0.982 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001697/0.2445, allocations: 23.98 kB / 0.982 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.2445, allocations: 7.875 kB / 0.9821 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/0.2446, allocations: 0 / 0.9821 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.2446, allocations: 0 / 0.9821 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.2446, allocations: 0 / 0.9821 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005838/0.2452, allocations: 219.4 kB / 0.9823 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.788e-05/0.2452, allocations: 85.11 kB / 0.9823 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.877e-05/0.2452, allocations: 0 / 0.9823 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001756/0.2454, allocations: 19.98 kB / 0.9824 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.922e-05/0.2455, allocations: 3.984 kB / 0.9824 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.698e-06/0.2455, allocations: 4 kB / 0.9824 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.397e-05/0.2456, allocations: 87.58 kB / 0.9825 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.71e-07/0.2456, allocations: 0 / 0.9825 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003013/0.2459, allocations: 8 kB / 0.9825 GB, free: 23.67 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.00013/0.246, allocations: 99.23 kB / 0.9826 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005684/0.2466, allocations: 96.23 kB / 0.9826 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.2466, allocations: 4 kB / 0.9827 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002673/0.2469, allocations: 39.97 kB / 0.9827 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002729/0.2472, allocations: 11.95 kB / 0.9827 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003879/0.2476, allocations: 137.7 kB / 0.9828 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001291/0.2477, allocations: 0.6811 MB / 0.9835 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.486e-05/0.2478, allocations: 0 / 0.9835 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.956e-05/0.2478, allocations: 11.42 kB / 0.9835 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of SimCode: time 7.62e-07/0.2479, allocations: 4 kB / 0.9835 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of Templates: time 0.003086/0.2509, allocations: 0.5521 MB / 0.9841 GB, free: 21.99 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)