Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.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.MatrixMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001245/0.001245, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00129/0.00129, allocations: 192.3 kB / 16.13 MB, free: 6.652 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.64/1.64, allocations: 205.1 MB / 222 MB, free: 4.742 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.797/1.797, allocations: 292.3 MB / 0.5484 GB, free: 13.66 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.001343/0.001343, allocations: 69.56 kB / 0.6708 GB, free: 26.46 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.274/0.2754, allocations: 114.6 MB / 0.7827 GB, free: 13.98 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin): time 0.002143/0.2776, allocations: 0.7892 MB / 0.7835 GB, free: 13.18 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0002202/0.2778, allocations: 55.83 kB / 0.7835 GB, free: 13.13 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.712e-05/0.2779, allocations: 7.875 kB / 0.7835 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001424/0.278, allocations: 15.92 kB / 0.7835 GB, free: 13.11 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.315e-05/0.2781, allocations: 15.91 kB / 0.7836 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001458/0.2782, allocations: 27.97 kB / 0.7836 GB, free: 13.06 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001582/0.2784, allocations: 123.6 kB / 0.7837 GB, free: 12.94 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002313/0.2786, allocations: 148.5 kB / 0.7838 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.523e-05/0.2787, allocations: 59.78 kB / 0.7839 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.241e-05/0.2788, allocations: 67.64 kB / 0.784 GB, free: 12.67 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.093e-05/0.2788, allocations: 12 kB / 0.784 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 2.677e-05/0.2789, allocations: 16 kB / 0.784 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.941e-05/0.2789, allocations: 43.84 kB / 0.784 GB, free: 12.6 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.874e-05/0.279, allocations: 79.42 kB / 0.7841 GB, free: 12.52 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001938/0.2792, allocations: 215.3 kB / 0.7843 GB, free: 12.31 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.2792, allocations: 4 kB / 0.7843 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.553e-06/0.2792, allocations: 0 / 0.7843 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.2792, allocations: 0 / 0.7843 GB, free: 12.3 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0005444/0.2798, allocations: 0.5031 MB / 0.7848 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.2798, allocations: 16.03 kB / 0.7848 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.209e-05/0.2799, allocations: 20.66 kB / 0.7848 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002749/0.2802, allocations: 248 kB / 0.7851 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.706e-05/0.2802, allocations: 12.75 kB / 0.7851 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.611e-05/0.2802, allocations: 16.38 kB / 0.7851 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004636/0.2807, allocations: 348.9 kB / 0.7854 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.334e-05/0.2807, allocations: 3.938 kB / 0.7854 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.097e-05/0.2808, allocations: 7.938 kB / 0.7855 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.634e-05/0.2808, allocations: 19.98 kB / 0.7855 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003167/0.2811, allocations: 259.9 kB / 0.7857 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001164/0.2823, allocations: 1.092 MB / 0.7868 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001001/0.2824, allocations: 181.1 kB / 0.787 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.227e-05/0.2824, allocations: 80.14 kB / 0.787 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.84e-05/0.2825, allocations: 75.28 kB / 0.7871 GB, free: 9.273 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.624e-05/0.2825, allocations: 110 kB / 0.7872 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 1.383e-06/0.2825, allocations: 0 / 0.7872 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 0.0001071/0.2827, allocations: 53.36 kB / 0.7873 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.868e-05/0.2827, allocations: 130.7 kB / 0.7874 GB, free: 8.957 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005609/0.2833, allocations: 0.4965 MB / 0.7879 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.245e-05/0.2833, allocations: 33.58 kB / 0.7879 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001261/0.2834, allocations: 171.7 kB / 0.7881 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.286e-06/0.2834, allocations: 0 / 0.7881 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.744e-05/0.2835, allocations: 29.7 kB / 0.7881 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001573/0.2837, allocations: 342.8 kB / 0.7884 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.899e-05/0.2838, allocations: 47.95 kB / 0.7885 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00011/0.2839, allocations: 106.8 kB / 0.7886 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001491/0.284, allocations: 118.7 kB / 0.7887 GB, free: 7.535 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.284, allocations: 4 kB / 0.7887 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003333/0.2844, allocations: 185.4 kB / 0.7889 GB, free: 7.344 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.2844, allocations: 11.94 kB / 0.7889 GB, free: 7.332 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.2844, allocations: 0 / 0.7889 GB, free: 7.332 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.2844, allocations: 4 kB / 0.7889 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001058/0.2845, allocations: 23.92 kB / 0.7889 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.2846, allocations: 160 / 0.7889 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001067/0.2847, allocations: 43.58 kB / 0.7889 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.8e-05/0.2847, allocations: 11.98 kB / 0.789 GB, free: 7.25 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 8 * 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 0.0001724/0.2849, allocations: 249 kB / 0.7892 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.055e-05/0.285, allocations: 128.7 kB / 0.7893 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.014e-05/0.2851, allocations: 134.8 kB / 0.7894 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.413e-05/0.2851, allocations: 185.2 kB / 0.7896 GB, free: 6.539 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.782e-05/0.2852, allocations: 180.3 kB / 0.7898 GB, free: 6.355 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.201e-05/0.2853, allocations: 180.2 kB / 0.79 GB, free: 6.172 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003254/0.2856, allocations: 497.1 kB / 0.7904 GB, free: 5.629 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.239e-05/0.2857, allocations: 101 kB / 0.7905 GB, free: 5.523 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.264e-05/0.2857, allocations: 104.9 kB / 0.7906 GB, free: 5.414 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.052e-05/0.2858, allocations: 184.2 kB / 0.7908 GB, free: 5.227 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.765e-05/0.2859, allocations: 192.2 kB / 0.791 GB, free: 5.031 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.501e-05/0.2859, allocations: 180.3 kB / 0.7912 GB, free: 4.848 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.848e-05/0.286, allocations: 180.5 kB / 0.7913 GB, free: 4.664 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001779/0.2862, allocations: 331.5 kB / 0.7917 GB, free: 4.316 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001289/0.2863, allocations: 213.8 kB / 0.7919 GB, free: 4.082 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.006e-05/0.2864, allocations: 188.2 kB / 0.792 GB, free: 3.891 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001001/0.2865, allocations: 109 kB / 0.7921 GB, free: 3.777 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.63e-05/0.2866, allocations: 180.2 kB / 0.7923 GB, free: 3.594 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.198e-05/0.2866, allocations: 105 kB / 0.7924 GB, free: 3.484 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003617/0.287, allocations: 370.9 kB / 0.7928 GB, free: 3.125 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.41e-07/0.287, allocations: 0 / 0.7928 GB, free: 3.125 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002612/0.2873, allocations: 24 kB / 0.7928 GB, free: 3.102 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 (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.000156/0.2874, allocations: 178.5 kB / 0.793 GB, free: 2.918 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001378/0.2876, allocations: 71.83 kB / 0.793 GB, free: 2.848 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.2876, allocations: 0 / 0.793 GB, free: 2.848 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.252e-06/0.2876, allocations: 0 / 0.793 GB, free: 2.848 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006388/0.2882, allocations: 0.5477 MB / 0.7936 GB, free: 2.297 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005663/0.2888, allocations: 0.5087 MB / 0.7941 GB, free: 1.762 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003292/0.2892, allocations: 0.7752 MB / 0.7948 GB, free: 0.9609 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 8.266e-05/0.2893, allocations: 49.53 kB / 0.7949 GB, free: 0.9062 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.327e-05/0.2893, allocations: 15.44 kB / 0.7949 GB, free: 0.8906 MB / 0.6075 GB Notification: Performance of SimCode: time 4.4e-07/0.2893, allocations: 4 kB / 0.7949 GB, free: 0.8867 MB / 0.6075 GB Notification: Performance of Templates: time 0.00406/0.2934, allocations: 1.663 MB / 0.7965 GB, free: 15.23 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.pipe 2>&1)