Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.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.MatrixGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001227/0.001227, allocations: 108.5 kB / 16.36 MB, free: 6.008 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.001104/0.001104, allocations: 196.5 kB / 17.3 MB, free: 5.613 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.412/1.412, allocations: 205.1 MB / 223.2 MB, free: 12.13 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.896/1.896, allocations: 292.3 MB / 0.5496 GB, free: 17.46 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.0016/0.0016, allocations: 71.03 kB / 0.6729 GB, free: 5.863 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2186/0.2203, allocations: 114.6 MB / 0.7848 GB, free: 3.199 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain): time 0.00238/0.2227, allocations: 0.7726 MB / 0.7856 GB, free: 2.418 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001085/0.2238, allocations: 0.8204 MB / 0.7864 GB, free: 1.582 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.439e-05/0.2239, allocations: 0 / 0.7864 GB, free: 1.582 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0002025/0.2241, allocations: 55.8 kB / 0.7864 GB, free: 1.527 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 7.012e-05/0.2242, allocations: 39.81 kB / 0.7864 GB, free: 1.488 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 8.385e-05/0.2243, allocations: 23.97 kB / 0.7865 GB, free: 1.465 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001565/0.2245, allocations: 83.77 kB / 0.7866 GB, free: 1.383 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001484/0.2246, allocations: 23.92 kB / 0.7866 GB, free: 1.359 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 9.624e-05/0.2247, allocations: 47.88 kB / 0.7866 GB, free: 1.312 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001452/0.2249, allocations: 79.8 kB / 0.7867 GB, free: 1.234 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.125e-05/0.2249, allocations: 8 kB / 0.7867 GB, free: 1.227 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 2.159e-05/0.2249, allocations: 8 kB / 0.7867 GB, free: 1.219 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 7.782e-05/0.225, allocations: 35.91 kB / 0.7867 GB, free: 1.184 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 6.949e-05/0.2251, allocations: 43.67 kB / 0.7868 GB, free: 1.141 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001523/0.2253, allocations: 123.6 kB / 0.7869 GB, free: 1.02 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.2253, allocations: 0 / 0.7869 GB, free: 1.02 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.323e-06/0.2253, allocations: 0 / 0.7869 GB, free: 1.02 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.2253, allocations: 0 / 0.7869 GB, free: 1.02 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0008818/0.2262, allocations: 466.8 kB / 0.7874 GB, free: 0.5117 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.751e-05/0.2262, allocations: 8.031 kB / 0.7874 GB, free: 0.5039 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.906e-05/0.2263, allocations: 12.75 kB / 0.7874 GB, free: 0.4922 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002497/0.2265, allocations: 208.1 kB / 0.7876 GB, free: 256 kB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.504e-05/0.2266, allocations: 4.375 kB / 0.7876 GB, free: 252 kB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.662e-05/0.2266, allocations: 8.375 kB / 0.7876 GB, free: 244 kB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004226/0.227, allocations: 155.8 kB / 0.7877 GB, free: 76 kB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.227, allocations: 192 / 0.7877 GB, free: 76 kB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.712e-05/0.2271, allocations: 3.938 kB / 0.7877 GB, free: 72 kB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.2271, allocations: 4 kB / 0.7877 GB, free: 68 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4396/0.6667, allocations: 167.4 kB / 0.7879 GB, free: 49.61 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009346/0.6677, allocations: 0.4995 MB / 0.7884 GB, free: 49.27 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003799/0.6681, allocations: 159.4 kB / 0.7885 GB, free: 49.22 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002341/0.6683, allocations: 95.59 kB / 0.7886 GB, free: 49.2 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.724e-05/0.6684, allocations: 0 / 0.7886 GB, free: 49.2 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.835e-05/0.6684, allocations: 41.47 kB / 0.7887 GB, free: 49.16 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=8): time 1.242e-06/0.6684, allocations: 0 / 0.7887 GB, free: 49.16 MB / 0.6544 GB Notification: Performance of matching and sorting (n=8): time 0.0008102/0.6692, allocations: 282.3 kB / 0.7889 GB, free: 49.13 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.367e-05/0.6692, allocations: 81.77 kB / 0.789 GB, free: 49.04 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001114/0.6694, allocations: 162.2 kB / 0.7892 GB, free: 48.94 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.479e-05/0.6694, allocations: 30.73 kB / 0.7892 GB, free: 48.91 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.791e-05/0.6694, allocations: 105.1 kB / 0.7893 GB, free: 48.83 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.991e-05/0.6695, allocations: 30.62 kB / 0.7893 GB, free: 48.82 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.508e-05/0.6695, allocations: 23.88 kB / 0.7894 GB, free: 48.8 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.22e-05/0.6696, allocations: 323.1 kB / 0.7897 GB, free: 48.49 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002195/0.6698, allocations: 79.11 kB / 0.7897 GB, free: 48.49 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002298/0.6701, allocations: 92.36 kB / 0.7898 GB, free: 48.47 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004408/0.6705, allocations: 172.7 kB / 0.79 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.6705, allocations: 5.844 kB / 0.79 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000491/0.671, allocations: 203.4 kB / 0.7902 GB, free: 48.42 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.671, allocations: 5.812 kB / 0.7902 GB, free: 48.42 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.671, allocations: 0 / 0.7902 GB, free: 48.42 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.077e-05/0.6711, allocations: 4.188 kB / 0.7902 GB, free: 48.42 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002063/0.6713, allocations: 38.62 kB / 0.7902 GB, free: 48.42 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.6713, allocations: 0.625 kB / 0.7902 GB, free: 48.42 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001304/0.6714, allocations: 25.56 kB / 0.7903 GB, free: 48.42 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.21e-05/0.6715, allocations: 6.906 kB / 0.7903 GB, free: 48.42 MB / 0.6544 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.766e-05/0.6716, allocations: 130.6 kB / 0.7904 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.789e-05/0.6716, allocations: 13.09 kB / 0.7904 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.338e-05/0.6717, allocations: 19.27 kB / 0.7904 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.6717, allocations: 2.625 kB / 0.7904 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.6717, allocations: 1.094 kB / 0.7904 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.6717, allocations: 2.625 kB / 0.7904 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002337/0.6719, allocations: 226.5 kB / 0.7906 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.6719, allocations: 1.453 kB / 0.7906 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001655/0.6721, allocations: 37.55 kB / 0.7907 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.589e-06/0.6721, allocations: 2.625 kB / 0.7907 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.26e-05/0.6721, allocations: 2.969 kB / 0.7907 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.6721, allocations: 1.875 kB / 0.7907 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.6722, allocations: 4.844 kB / 0.7907 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00053/0.6727, allocations: 381.5 kB / 0.7911 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.386e-05/0.6727, allocations: 90.31 kB / 0.7911 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.345e-05/0.6728, allocations: 3.312 kB / 0.7911 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001852/0.673, allocations: 30.17 kB / 0.7912 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.794e-05/0.673, allocations: 14.23 kB / 0.7912 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.832e-06/0.673, allocations: 2.625 kB / 0.7912 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 6.954e-05/0.6731, allocations: 128.1 kB / 0.7913 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6731, allocations: 0 / 0.7913 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002726/0.6734, allocations: 19.41 kB / 0.7913 GB, free: 47.71 MB / 0.6544 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 (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.0001319/0.6735, allocations: 99.66 kB / 0.7914 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0005255/0.6741, allocations: 176.6 kB / 0.7916 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.6741, allocations: 0 / 0.7916 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002375/0.6743, allocations: 90.06 kB / 0.7917 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003709/0.6747, allocations: 19.23 kB / 0.7917 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004752/0.6752, allocations: 258.8 kB / 0.7919 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001645/0.6754, allocations: 0.7097 MB / 0.7926 GB, free: 46.78 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 7.699e-05/0.6754, allocations: 27.2 kB / 0.7927 GB, free: 46.78 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.433e-05/0.6755, allocations: 11.62 kB / 0.7927 GB, free: 46.77 MB / 0.6544 GB Notification: Performance of SimCode: time 4.51e-07/0.6755, allocations: 3.906 kB / 0.7927 GB, free: 46.77 MB / 0.6544 GB Notification: Performance of Templates: time 0.003529/0.679, allocations: 1.18 MB / 0.7938 GB, free: 46.74 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe 2>&1)