Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.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.MatrixMax,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000816/0.000816, allocations: 91.12 kB / 15.06 MB, free: 1.078 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.0009188/0.0009188, allocations: 172.7 kB / 15.95 MB, free: 192 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.373/1.373, allocations: 205.4 MB / 222.1 MB, free: 5.512 MB / 174.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.71/1.71, allocations: 292.7 MB / 0.5499 GB, free: 14.57 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.0005556/0.0005556, allocations: 14.66 kB / 0.6737 GB, free: 26.14 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2523/0.2529, allocations: 116.3 MB / 0.7873 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax): time 0.0009237/0.2538, allocations: 458.5 kB / 0.7877 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0002283/0.2541, allocations: 55.83 kB / 0.7878 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.175e-05/0.2541, allocations: 0 / 0.7878 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001242/0.2543, allocations: 15.86 kB / 0.7878 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.22e-05/0.2543, allocations: 11.92 kB / 0.7878 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001617/0.2545, allocations: 30.72 kB / 0.7879 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002091/0.2547, allocations: 139.6 kB / 0.788 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002399/0.255, allocations: 133.7 kB / 0.7881 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.18e-05/0.255, allocations: 27.86 kB / 0.7881 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.826e-05/0.2551, allocations: 47.66 kB / 0.7882 GB, free: 11 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.008e-05/0.2551, allocations: 4 kB / 0.7882 GB, free: 11 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.393e-05/0.2552, allocations: 3.938 kB / 0.7882 GB, free: 11 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.003e-05/0.2552, allocations: 35.91 kB / 0.7882 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.87e-05/0.2552, allocations: 49.58 kB / 0.7883 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001826/0.2554, allocations: 175.7 kB / 0.7884 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.2554, allocations: 0 / 0.7884 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.533e-06/0.2555, allocations: 0 / 0.7884 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.187e-06/0.2555, allocations: 0 / 0.7884 GB, free: 10.73 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0005428/0.256, allocations: 455.2 kB / 0.7889 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/0.2561, allocations: 8.031 kB / 0.7889 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.619e-05/0.2561, allocations: 27.66 kB / 0.7889 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002661/0.2564, allocations: 254.6 kB / 0.7892 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.741e-05/0.2564, allocations: 12.38 kB / 0.7892 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.64e-05/0.2564, allocations: 16 kB / 0.7892 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004435/0.2569, allocations: 340.4 kB / 0.7895 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.2569, allocations: 0 / 0.7895 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.168e-05/0.2569, allocations: 11.98 kB / 0.7895 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.604e-05/0.257, allocations: 20.12 kB / 0.7895 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003198/0.2573, allocations: 256.4 kB / 0.7898 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001183/0.2585, allocations: 1.085 MB / 0.7908 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.683e-05/0.2586, allocations: 173.1 kB / 0.791 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.857e-05/0.2586, allocations: 84.08 kB / 0.7911 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.799e-05/0.2587, allocations: 75.28 kB / 0.7912 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.787e-05/0.2587, allocations: 109.8 kB / 0.7913 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 1.282e-06/0.2587, allocations: 0 / 0.7913 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 9.387e-05/0.2588, allocations: 53.41 kB / 0.7913 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.573e-05/0.2589, allocations: 126.7 kB / 0.7914 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004983/0.2594, allocations: 0.4964 MB / 0.7919 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 9.788e-06/0.2594, allocations: 25.7 kB / 0.7919 GB, free: 6.926 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001204/0.2595, allocations: 171.8 kB / 0.7921 GB, free: 6.754 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.05e-06/0.2595, allocations: 4 kB / 0.7921 GB, free: 6.75 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.063e-06/0.2596, allocations: 7.938 kB / 0.7921 GB, free: 6.742 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001315/0.2597, allocations: 338.8 kB / 0.7924 GB, free: 6.402 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.279e-05/0.2598, allocations: 43.97 kB / 0.7925 GB, free: 6.359 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.615e-05/0.2599, allocations: 93.97 kB / 0.7926 GB, free: 6.246 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.02e-05/0.26, allocations: 55.95 kB / 0.7926 GB, free: 6.191 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.018e-05/0.26, allocations: 4 kB / 0.7926 GB, free: 6.188 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002762/0.2603, allocations: 181.1 kB / 0.7928 GB, free: 6.004 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.2603, allocations: 8.219 kB / 0.7928 GB, free: 5.996 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.2603, allocations: 7.938 kB / 0.7928 GB, free: 5.988 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.063e-05/0.2603, allocations: 0 / 0.7928 GB, free: 5.988 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.265e-05/0.2604, allocations: 19.98 kB / 0.7928 GB, free: 5.969 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.714e-06/0.2604, allocations: 4 kB / 0.7928 GB, free: 5.965 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001094/0.2605, allocations: 39.62 kB / 0.7929 GB, free: 5.926 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.692e-05/0.2606, allocations: 12 kB / 0.7929 GB, free: 5.914 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (7): * Single equations (assignments): 7 * 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.0001632/0.2607, allocations: 245.7 kB / 0.7931 GB, free: 5.664 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.443e-05/0.2608, allocations: 136.7 kB / 0.7933 GB, free: 5.523 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.255e-05/0.2609, allocations: 130.8 kB / 0.7934 GB, free: 5.391 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.379e-05/0.261, allocations: 180.2 kB / 0.7935 GB, free: 5.207 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.784e-05/0.261, allocations: 177.3 kB / 0.7937 GB, free: 5.027 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.461e-05/0.2611, allocations: 184.2 kB / 0.7939 GB, free: 4.84 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000322/0.2614, allocations: 497.1 kB / 0.7944 GB, free: 4.297 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.618e-05/0.2615, allocations: 105 kB / 0.7945 GB, free: 4.188 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.623e-05/0.2615, allocations: 108.9 kB / 0.7946 GB, free: 4.074 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.484e-05/0.2616, allocations: 176.3 kB / 0.7947 GB, free: 3.895 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.174e-05/0.2617, allocations: 184.2 kB / 0.7949 GB, free: 3.707 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.671e-05/0.2618, allocations: 176.3 kB / 0.7951 GB, free: 3.527 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.835e-05/0.2618, allocations: 196.2 kB / 0.7953 GB, free: 3.328 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002068/0.262, allocations: 327.7 kB / 0.7956 GB, free: 2.984 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001747/0.2622, allocations: 233.6 kB / 0.7958 GB, free: 2.73 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001032/0.2623, allocations: 180.3 kB / 0.796 GB, free: 2.547 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001041/0.2625, allocations: 109 kB / 0.7961 GB, free: 2.434 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.947e-05/0.2626, allocations: 188.2 kB / 0.7963 GB, free: 2.242 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.373e-05/0.2626, allocations: 104.9 kB / 0.7964 GB, free: 2.133 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003753/0.263, allocations: 363 kB / 0.7967 GB, free: 1.781 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.263, allocations: 0 / 0.7967 GB, free: 1.781 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002599/0.2632, allocations: 24 kB / 0.7967 GB, free: 1.758 MB / 0.6075 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 (0): * Single equations (assignments): 0 * 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.0001578/0.2634, allocations: 178.5 kB / 0.7969 GB, free: 1.574 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001397/0.2636, allocations: 75.83 kB / 0.797 GB, free: 1.5 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.2636, allocations: 0 / 0.797 GB, free: 1.5 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.663e-06/0.2636, allocations: 0 / 0.797 GB, free: 1.5 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005464/0.2641, allocations: 0.5468 MB / 0.7975 GB, free: 0.9492 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005949/0.2647, allocations: 497.3 kB / 0.798 GB, free: 448 kB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003375/0.2651, allocations: 0.7713 MB / 0.7987 GB, free: 15.64 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 8.809e-05/0.2652, allocations: 49.52 kB / 0.7988 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.578e-05/0.2652, allocations: 19.44 kB / 0.7988 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of SimCode: time 3.6e-07/0.2652, allocations: 0 / 0.7988 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of Templates: time 0.004046/0.2693, allocations: 1.582 MB / 0.8003 GB, free: 14 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.pipe 2>&1) Environment - environmentSimulation: