Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Max,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_Buildings.Controls.OBC.CDL.Continuous.Validation.Max") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001211/0.001211, allocations: 101.5 kB / 16.36 MB, free: 5.961 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00107/0.00107, allocations: 196.3 kB / 17.3 MB, free: 5.57 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.537/1.537, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.897/1.897, allocations: 292.3 MB / 0.5496 GB, free: 17.47 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001611/0.001612, allocations: 75.89 kB / 0.6729 GB, free: 5.82 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2368/0.2384, allocations: 114.6 MB / 0.7848 GB, free: 3.152 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Max): time 0.002362/0.2408, allocations: 0.6986 MB / 0.7855 GB, free: 2.445 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0009779/0.2418, allocations: 0.801 MB / 0.7863 GB, free: 1.629 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.003e-05/0.2419, allocations: 4 kB / 0.7863 GB, free: 1.625 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.351e-05/0.2419, allocations: 3.938 kB / 0.7863 GB, free: 1.621 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 7.773e-05/0.242, allocations: 3.938 kB / 0.7863 GB, free: 1.617 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001158/0.2421, allocations: 11.98 kB / 0.7863 GB, free: 1.605 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 8.942e-05/0.2422, allocations: 47.84 kB / 0.7863 GB, free: 1.559 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001174/0.2424, allocations: 19.92 kB / 0.7864 GB, free: 1.539 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 8.051e-05/0.2425, allocations: 15.92 kB / 0.7864 GB, free: 1.523 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 5.484e-05/0.2425, allocations: 23.92 kB / 0.7864 GB, free: 1.5 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.34e-05/0.2426, allocations: 4 kB / 0.7864 GB, free: 1.496 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.514e-05/0.2426, allocations: 4 kB / 0.7864 GB, free: 1.492 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.195e-05/0.2426, allocations: 7.984 kB / 0.7864 GB, free: 1.484 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.957e-05/0.2426, allocations: 19.86 kB / 0.7864 GB, free: 1.465 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001011/0.2428, allocations: 39.86 kB / 0.7865 GB, free: 1.426 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.2428, allocations: 4 kB / 0.7865 GB, free: 1.422 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.643e-06/0.2428, allocations: 4 kB / 0.7865 GB, free: 1.418 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.511e-06/0.2428, allocations: 0 / 0.7865 GB, free: 1.418 MB / 0.6544 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.0005231/0.2433, allocations: 359.4 kB / 0.7868 GB, free: 1.016 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.2434, allocations: 8.031 kB / 0.7868 GB, free: 1.008 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.568e-05/0.2434, allocations: 8.844 kB / 0.7868 GB, free: 1 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001229/0.2435, allocations: 168.3 kB / 0.787 GB, free: 0.7969 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.178e-05/0.2436, allocations: 8.375 kB / 0.787 GB, free: 0.7891 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.358e-05/0.2436, allocations: 384 / 0.787 GB, free: 0.7891 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002632/0.2438, allocations: 74.16 kB / 0.7871 GB, free: 0.7109 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.246e-06/0.2439, allocations: 192 / 0.7871 GB, free: 0.7109 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.492e-05/0.2439, allocations: 7.938 kB / 0.7871 GB, free: 0.7031 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.2439, allocations: 7.922 kB / 0.7871 GB, free: 0.6953 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002757/0.2442, allocations: 63.92 kB / 0.7872 GB, free: 0.6328 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003414/0.2445, allocations: 268.9 kB / 0.7874 GB, free: 328 kB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002/0.2447, allocations: 62.42 kB / 0.7875 GB, free: 256 kB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001452/0.2449, allocations: 36.91 kB / 0.7875 GB, free: 216 kB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.465e-05/0.2449, allocations: 4 kB / 0.7875 GB, free: 212 kB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.092e-05/0.2449, allocations: 34.56 kB / 0.7875 GB, free: 168 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=3): time 2.745e-06/0.245, allocations: 0 / 0.7875 GB, free: 168 kB / 0.6544 GB Notification: Performance of matching and sorting (n=3): time 0.0005258/0.2455, allocations: 129.5 kB / 0.7877 GB, free: 32 kB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.3877/0.6332, allocations: 52.16 kB / 0.7877 GB, free: 48.9 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000118/0.6334, allocations: 106.3 kB / 0.7878 GB, free: 48.8 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.943e-05/0.6334, allocations: 26.55 kB / 0.7878 GB, free: 48.77 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.595e-05/0.6334, allocations: 88.95 kB / 0.7879 GB, free: 48.69 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.199e-05/0.6335, allocations: 10.48 kB / 0.7879 GB, free: 48.69 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.001e-05/0.6335, allocations: 16.41 kB / 0.788 GB, free: 48.68 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.115e-05/0.6336, allocations: 322.6 kB / 0.7883 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001717/0.6337, allocations: 29.12 kB / 0.7883 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001226/0.6339, allocations: 32.09 kB / 0.7883 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002516/0.6341, allocations: 67.19 kB / 0.7884 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.6341, allocations: 2.469 kB / 0.7884 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002997/0.6345, allocations: 102.8 kB / 0.7885 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.6345, allocations: 5.906 kB / 0.7885 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.6345, allocations: 0 / 0.7885 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.6345, allocations: 0 / 0.7885 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001338/0.6346, allocations: 20.88 kB / 0.7885 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.6347, allocations: 0 / 0.7885 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.816e-05/0.6347, allocations: 12.83 kB / 0.7885 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.007e-05/0.6348, allocations: 3.234 kB / 0.7885 GB, free: 48.32 MB / 0.6544 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.341e-05/0.6348, allocations: 116.6 kB / 0.7886 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.736e-05/0.6349, allocations: 5.5 kB / 0.7886 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003254/0.6352, allocations: 101.7 kB / 0.7887 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.6352, allocations: 3.938 kB / 0.7887 GB, free: 48.17 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.6352, allocations: 1.938 kB / 0.7887 GB, free: 48.17 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.6352, allocations: 5.938 kB / 0.7887 GB, free: 48.17 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001269/0.6354, allocations: 166.7 kB / 0.7889 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.6354, allocations: 3.188 kB / 0.7889 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.912e-05/0.6355, allocations: 17.25 kB / 0.7889 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.6355, allocations: 0 / 0.7889 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.945e-06/0.6355, allocations: 1.172 kB / 0.7889 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.369e-06/0.6355, allocations: 5.562 kB / 0.7889 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/0.6355, allocations: 6.062 kB / 0.7889 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002944/0.6358, allocations: 195.8 kB / 0.7891 GB, free: 47.85 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.112e-05/0.6358, allocations: 80.64 kB / 0.7892 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.448e-05/0.6358, allocations: 3.25 kB / 0.7892 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001042/0.6359, allocations: 21.55 kB / 0.7892 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.011e-05/0.636, allocations: 7.906 kB / 0.7892 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.787e-06/0.636, allocations: 0 / 0.7892 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.516e-05/0.636, allocations: 84.05 kB / 0.7893 GB, free: 47.68 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.11e-07/0.636, allocations: 0.6562 kB / 0.7893 GB, free: 47.68 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002192/0.6363, allocations: 8.75 kB / 0.7893 GB, free: 47.68 MB / 0.6544 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001215/0.6364, allocations: 104.7 kB / 0.7894 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003187/0.6367, allocations: 69.73 kB / 0.7895 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.6367, allocations: 0.9688 kB / 0.7895 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001375/0.6369, allocations: 41.83 kB / 0.7895 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003292/0.6372, allocations: 9.641 kB / 0.7895 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002931/0.6375, allocations: 113.1 kB / 0.7896 GB, free: 47.49 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001173/0.6376, allocations: 0.6826 MB / 0.7903 GB, free: 46.79 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 2.974e-05/0.6377, allocations: 3.875 kB / 0.7903 GB, free: 46.79 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.92e-05/0.6377, allocations: 7.938 kB / 0.7903 GB, free: 46.79 MB / 0.6544 GB Notification: Performance of SimCode: time 3.2e-07/0.6377, allocations: 0 / 0.7903 GB, free: 46.79 MB / 0.6544 GB Notification: Performance of Templates: time 0.002586/0.6403, allocations: 0.6888 MB / 0.791 GB, free: 46.79 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Max -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe 2>&1)