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 3.1/3.1, allocations: 287.3 MB / 302.3 MB, free: 8.266 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.001553/0.001552, allocations: 182.2 kB / 370.8 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.298/2.298, 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.001119/0.001119, allocations: 92.92 kB / 0.7428 GB, free: 6.633 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004643/0.0004646, allocations: 18.16 kB / 0.8656 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2123/0.2128, allocations: 115.3 MB / 0.9782 GB, free: 28.39 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Max): time 0.0008734/0.2137, allocations: 425.2 kB / 0.9786 GB, free: 27.97 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.000916/0.2147, allocations: 0.7988 MB / 0.9794 GB, free: 27.16 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.356e-05/0.2147, allocations: 0 / 0.9794 GB, free: 27.16 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.638e-05/0.2148, allocations: 3.938 kB / 0.9794 GB, free: 27.15 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.699e-05/0.2148, allocations: 11.92 kB / 0.9794 GB, free: 27.14 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 9.069e-05/0.2149, allocations: 7.984 kB / 0.9794 GB, free: 27.13 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.566e-05/0.215, allocations: 23.97 kB / 0.9794 GB, free: 27.11 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.738e-05/0.2151, allocations: 12 kB / 0.9794 GB, free: 27.1 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.188e-05/0.2152, allocations: 15.92 kB / 0.9795 GB, free: 27.08 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.777e-05/0.2153, allocations: 23.91 kB / 0.9795 GB, free: 27.06 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.974e-05/0.2153, allocations: 0 / 0.9795 GB, free: 27.06 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.442e-05/0.2153, allocations: 4 kB / 0.9795 GB, free: 27.05 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.43e-05/0.2153, allocations: 3.984 kB / 0.9795 GB, free: 27.05 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.442e-05/0.2154, allocations: 33.64 kB / 0.9795 GB, free: 27.01 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 6.221e-05/0.2154, allocations: 23.94 kB / 0.9795 GB, free: 26.99 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.2155, allocations: 0 / 0.9795 GB, free: 26.99 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.033e-06/0.2155, allocations: 0 / 0.9795 GB, free: 26.99 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.2155, allocations: 3.938 kB / 0.9796 GB, free: 26.98 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.000574/0.2161, allocations: 367.5 kB / 0.9799 GB, free: 26.58 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.2161, allocations: 12.02 kB / 0.9799 GB, free: 26.57 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.275e-05/0.2162, allocations: 7.906 kB / 0.9799 GB, free: 26.56 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.136e-05/0.2163, allocations: 171 kB / 0.9801 GB, free: 26.35 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.412e-05/0.2163, allocations: 8 kB / 0.9801 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.431e-05/0.2163, allocations: 4 kB / 0.9801 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003477/0.2167, allocations: 77.66 kB / 0.9802 GB, free: 26.26 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.2167, allocations: 0 / 0.9802 GB, free: 26.26 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.206e-05/0.2167, allocations: 0 / 0.9802 GB, free: 26.26 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.2167, allocations: 7.922 kB / 0.9802 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004945/0.2172, allocations: 91.92 kB / 0.9803 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000332/0.2176, allocations: 264.9 kB / 0.9805 GB, free: 25.85 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003015/0.2179, allocations: 66.64 kB / 0.9806 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.582e-05/0.2179, allocations: 3.984 kB / 0.9806 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.959e-05/0.218, allocations: 38.5 kB / 0.9806 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.613e-06/0.218, allocations: 0 / 0.9806 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0008602/0.2188, allocations: 161.5 kB / 0.9808 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.424e-05/0.2189, allocations: 51.41 kB / 0.9808 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.473e-05/0.219, allocations: 109.8 kB / 0.9809 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.241e-05/0.219, allocations: 33.64 kB / 0.981 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.654e-05/0.219, allocations: 88.11 kB / 0.981 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.047e-05/0.2191, allocations: 11.91 kB / 0.9811 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.081e-06/0.2191, allocations: 0 / 0.9811 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.52e-05/0.2191, allocations: 314.8 kB / 0.9814 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002493/0.2194, allocations: 47.95 kB / 0.9814 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002426/0.2196, allocations: 43.97 kB / 0.9814 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002584/0.2199, allocations: 43.89 kB / 0.9815 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.2199, allocations: 0 / 0.9815 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0005383/0.2205, allocations: 121.5 kB / 0.9816 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.2205, allocations: 4 kB / 0.9816 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.2205, allocations: 4 kB / 0.9816 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.2206, allocations: 4 kB / 0.9816 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001971/0.2208, allocations: 15.98 kB / 0.9816 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.2208, allocations: 4 kB / 0.9816 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001394/0.2209, allocations: 23.97 kB / 0.9817 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.085e-05/0.2209, allocations: 0 / 0.9817 GB, free: 24.61 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.27e-05/0.221, allocations: 115.9 kB / 0.9818 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.271e-05/0.2211, allocations: 4 kB / 0.9818 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005728/0.2217, allocations: 129.5 kB / 0.9819 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.07e-06/0.2217, allocations: 4 kB / 0.9819 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.2217, allocations: 0 / 0.9819 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.2217, allocations: 3.938 kB / 0.9819 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001742/0.2219, allocations: 177.5 kB / 0.9821 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.2219, allocations: 3.984 kB / 0.9821 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001655/0.2221, allocations: 23.98 kB / 0.9821 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.2221, allocations: 0 / 0.9821 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.01e-05/0.2221, allocations: 0 / 0.9821 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.2221, allocations: 0 / 0.9821 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.2221, allocations: 0 / 0.9821 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005568/0.2227, allocations: 227.7 kB / 0.9823 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.507e-05/0.2227, allocations: 77.11 kB / 0.9824 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.846e-05/0.2228, allocations: 4 kB / 0.9824 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001784/0.2229, allocations: 19.98 kB / 0.9824 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.192e-05/0.223, allocations: 8.016 kB / 0.9824 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.017e-06/0.223, allocations: 0 / 0.9824 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.914e-05/0.2231, allocations: 91.22 kB / 0.9825 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.5e-07/0.2231, allocations: 0 / 0.9825 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002964/0.2234, allocations: 7.906 kB / 0.9825 GB, free: 23.64 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.0001165/0.2235, allocations: 103.2 kB / 0.9826 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005558/0.2241, allocations: 91.91 kB / 0.9827 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.2241, allocations: 0 / 0.9827 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002634/0.2244, allocations: 51.91 kB / 0.9827 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002678/0.2246, allocations: 7.953 kB / 0.9828 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003331/0.225, allocations: 128.7 kB / 0.9829 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001314/0.2251, allocations: 0.6809 MB / 0.9835 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.459e-05/0.2252, allocations: 4 kB / 0.9835 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.716e-05/0.2252, allocations: 7.438 kB / 0.9836 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of SimCode: time 8.22e-07/0.2253, allocations: 4 kB / 0.9836 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of Templates: time 0.002917/0.2282, allocations: 0.5238 MB / 0.9841 GB, free: 21.99 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)