Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.752/1.752, allocations: 288.4 MB / 303.4 MB, free: 8.199 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.001439/0.001439, allocations: 173.4 kB / 372 MB, free: 10.24 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.923/1.923, allocations: 205.4 MB / 0.6307 GB, free: 9.977 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.0009079/0.0009079, allocations: 94.36 kB / 0.7441 GB, free: 5.91 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004256/0.0004256, allocations: 14.59 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2783/0.2787, allocations: 115.3 MB / 0.9796 GB, free: 27.66 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain): time 0.001098/0.2799, allocations: 478.9 kB / 0.9801 GB, free: 27.18 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0009652/0.2809, allocations: 0.8243 MB / 0.9809 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.866e-05/0.2809, allocations: 3.938 kB / 0.9809 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001828/0.2811, allocations: 47.86 kB / 0.9809 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.752e-05/0.2812, allocations: 31.89 kB / 0.9809 GB, free: 26.26 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 6.586e-05/0.2813, allocations: 23.91 kB / 0.981 GB, free: 26.24 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 9.579e-05/0.2814, allocations: 67.83 kB / 0.981 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000137/0.2815, allocations: 23.92 kB / 0.9811 GB, free: 26.15 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.657e-05/0.2816, allocations: 31.89 kB / 0.9811 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001278/0.2817, allocations: 67.8 kB / 0.9812 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.8e-05/0.2818, allocations: 4 kB / 0.9812 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.733e-05/0.2818, allocations: 8 kB / 0.9812 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.207e-05/0.2818, allocations: 35.89 kB / 0.9812 GB, free: 26 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.007e-05/0.2819, allocations: 37.64 kB / 0.9812 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 9.749e-05/0.282, allocations: 83.83 kB / 0.9813 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.282, allocations: 4 kB / 0.9813 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.773e-06/0.282, allocations: 0 / 0.9813 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.508e-06/0.282, allocations: 0 / 0.9813 GB, free: 25.88 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0007457/0.2828, allocations: 467 kB / 0.9818 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/0.2828, allocations: 8.031 kB / 0.9818 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.888e-05/0.2829, allocations: 7.906 kB / 0.9818 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001775/0.283, allocations: 208.6 kB / 0.982 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.448e-05/0.2831, allocations: 12 kB / 0.982 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.035e-05/0.2831, allocations: 4 kB / 0.982 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000397/0.2835, allocations: 167.2 kB / 0.9822 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.2835, allocations: 0 / 0.9822 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.391e-05/0.2835, allocations: 4 kB / 0.9822 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.2836, allocations: 0 / 0.9822 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005105/0.2841, allocations: 199.8 kB / 0.9823 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007353/0.2848, allocations: 0.5203 MB / 0.9829 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003534/0.2852, allocations: 189 kB / 0.983 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002505/0.2854, allocations: 105.7 kB / 0.9831 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.778e-05/0.2855, allocations: 4 kB / 0.9831 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.948e-05/0.2855, allocations: 34.56 kB / 0.9832 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 1.202e-06/0.2855, allocations: 3.938 kB / 0.9832 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.0008494/0.2863, allocations: 333.3 kB / 0.9835 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.24e-05/0.2864, allocations: 81.11 kB / 0.9836 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001037/0.2865, allocations: 166.1 kB / 0.9837 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.249e-05/0.2865, allocations: 25.7 kB / 0.9838 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.615e-05/0.2866, allocations: 108 kB / 0.9839 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.509e-05/0.2866, allocations: 19.66 kB / 0.9839 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.554e-06/0.2866, allocations: 4 kB / 0.9839 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.015e-05/0.2867, allocations: 322.8 kB / 0.9842 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002338/0.2869, allocations: 95.92 kB / 0.9843 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00023/0.2872, allocations: 117.5 kB / 0.9844 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002435/0.2874, allocations: 99.86 kB / 0.9845 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.2874, allocations: 0 / 0.9845 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004967/0.2879, allocations: 237.4 kB / 0.9847 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.288, allocations: 4 kB / 0.9847 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.288, allocations: 4 kB / 0.9847 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.023e-05/0.288, allocations: 3.984 kB / 0.9847 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002133/0.2882, allocations: 43.91 kB / 0.9848 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.2882, allocations: 0 / 0.9848 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001399/0.2884, allocations: 47.84 kB / 0.9848 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.108e-05/0.2884, allocations: 4 kB / 0.9848 GB, free: 22.04 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.219e-05/0.2885, allocations: 129.8 kB / 0.9849 GB, free: 21.9 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.38e-05/0.2885, allocations: 7.906 kB / 0.9849 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.703e-05/0.2886, allocations: 16.25 kB / 0.985 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.2886, allocations: 0 / 0.985 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.2886, allocations: 4 kB / 0.985 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.2886, allocations: 3.984 kB / 0.985 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002183/0.2888, allocations: 229.5 kB / 0.9852 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.2888, allocations: 0 / 0.9852 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001673/0.289, allocations: 39.97 kB / 0.9852 GB, free: 21.56 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.289, allocations: 3.984 kB / 0.9852 GB, free: 21.56 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.295e-05/0.289, allocations: 4 kB / 0.9852 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.289, allocations: 3.938 kB / 0.9852 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.2891, allocations: 4 kB / 0.9852 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005422/0.2896, allocations: 403.2 kB / 0.9856 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.768e-05/0.2896, allocations: 85.02 kB / 0.9857 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.984e-05/0.2897, allocations: 11.94 kB / 0.9857 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001871/0.2899, allocations: 39.94 kB / 0.9858 GB, free: 20.98 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.598e-05/0.2899, allocations: 7.984 kB / 0.9858 GB, free: 20.98 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.582e-06/0.2899, allocations: 4 kB / 0.9858 GB, free: 20.97 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.875e-05/0.29, allocations: 123.2 kB / 0.9859 GB, free: 20.85 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.29, allocations: 0 / 0.9859 GB, free: 20.85 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002349/0.2902, allocations: 27.91 kB / 0.9859 GB, free: 20.82 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.0001348/0.2904, allocations: 103.2 kB / 0.986 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000504/0.2909, allocations: 199.9 kB / 0.9862 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.2909, allocations: 0 / 0.9862 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002326/0.2912, allocations: 111.9 kB / 0.9863 GB, free: 20.41 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003541/0.2915, allocations: 24.91 kB / 0.9863 GB, free: 20.39 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004405/0.292, allocations: 266.3 kB / 0.9866 GB, free: 20.09 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001513/0.2921, allocations: 0.7238 MB / 0.9873 GB, free: 19.34 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 7.828e-05/0.2922, allocations: 27.97 kB / 0.9873 GB, free: 19.32 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.135e-05/0.2923, allocations: 7.438 kB / 0.9873 GB, free: 19.31 MB / 0.6198 GB Notification: Performance of SimCode: time 2.31e-07/0.2923, allocations: 4 kB / 0.9873 GB, free: 19.3 MB / 0.6198 GB Notification: Performance of Templates: time 0.002848/0.2951, allocations: 0.9457 MB / 0.9883 GB, free: 18.37 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe 2>&1)