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.001179/0.001179, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001296/0.001296, allocations: 189.9 kB / 16.62 MB, free: 6.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.562/1.562, allocations: 205.1 MB / 222.5 MB, free: 4.539 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.873/1.873, allocations: 292.3 MB / 0.5489 GB, free: 12.75 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.001501/0.001502, allocations: 70.52 kB / 0.6723 GB, free: 25.96 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3033/0.3049, allocations: 114.5 MB / 0.7841 GB, free: 12.72 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain): time 0.002081/0.307, allocations: 0.7721 MB / 0.7849 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00087/0.3079, allocations: 0.8281 MB / 0.7857 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.623e-05/0.3079, allocations: 7.938 kB / 0.7857 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002087/0.3082, allocations: 55.78 kB / 0.7858 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.065e-05/0.3082, allocations: 35.84 kB / 0.7858 GB, free: 11 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 7.279e-05/0.3083, allocations: 15.97 kB / 0.7858 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000124/0.3084, allocations: 95.73 kB / 0.7859 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001401/0.3086, allocations: 27.94 kB / 0.7859 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.418e-05/0.3087, allocations: 39.89 kB / 0.786 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001414/0.3088, allocations: 83.78 kB / 0.786 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.541e-05/0.3088, allocations: 8 kB / 0.786 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.883e-05/0.3089, allocations: 8 kB / 0.7861 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.275e-05/0.3089, allocations: 35.89 kB / 0.7861 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.338e-05/0.309, allocations: 47.67 kB / 0.7861 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001487/0.3092, allocations: 111.6 kB / 0.7862 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.3092, allocations: 0 / 0.7862 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.764e-06/0.3092, allocations: 0 / 0.7862 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.993e-06/0.3092, allocations: 4 kB / 0.7862 GB, free: 10.54 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0007878/0.31, allocations: 466.7 kB / 0.7867 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/0.31, allocations: 8.031 kB / 0.7867 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.788e-05/0.3101, allocations: 12.84 kB / 0.7867 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000184/0.3103, allocations: 200.9 kB / 0.7869 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.147e-05/0.3103, allocations: 12.38 kB / 0.7869 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.874e-05/0.3103, allocations: 4.375 kB / 0.7869 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003803/0.3107, allocations: 147.9 kB / 0.7871 GB, free: 9.602 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.026e-06/0.3107, allocations: 192 / 0.7871 GB, free: 9.602 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.509e-05/0.3107, allocations: 3.938 kB / 0.7871 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.114e-06/0.3108, allocations: 4 kB / 0.7871 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004926/0.3112, allocations: 175.8 kB / 0.7872 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007526/0.312, allocations: 0.493 MB / 0.7877 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003665/0.3124, allocations: 169.1 kB / 0.7879 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002532/0.3127, allocations: 97.73 kB / 0.788 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.351e-05/0.3127, allocations: 0 / 0.788 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.182e-05/0.3127, allocations: 30.56 kB / 0.788 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=8): time 9.72e-07/0.3127, allocations: 0 / 0.788 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8): time 0.0008535/0.3136, allocations: 289.6 kB / 0.7883 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.954e-05/0.3136, allocations: 84.98 kB / 0.7884 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001206/0.3137, allocations: 161.3 kB / 0.7885 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.981e-05/0.3138, allocations: 29.7 kB / 0.7885 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.989e-05/0.3138, allocations: 108 kB / 0.7886 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.17e-05/0.3139, allocations: 27.7 kB / 0.7887 GB, free: 7.824 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.615e-05/0.3139, allocations: 21.72 kB / 0.7887 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001222/0.3141, allocations: 326.8 kB / 0.789 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002361/0.3143, allocations: 75.92 kB / 0.7891 GB, free: 7.395 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002283/0.3145, allocations: 93.58 kB / 0.7892 GB, free: 7.297 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004448/0.315, allocations: 173.6 kB / 0.7893 GB, free: 7.121 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.315, allocations: 0 / 0.7893 GB, free: 7.121 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005057/0.3155, allocations: 213.3 kB / 0.7895 GB, free: 6.906 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.3155, allocations: 8 kB / 0.7895 GB, free: 6.898 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.3156, allocations: 4 kB / 0.7895 GB, free: 6.895 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.3156, allocations: 0 / 0.7895 GB, free: 6.895 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001959/0.3158, allocations: 35.95 kB / 0.7896 GB, free: 6.859 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.3158, allocations: 4 kB / 0.7896 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00013/0.3159, allocations: 27.91 kB / 0.7896 GB, free: 6.828 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.074e-05/0.3159, allocations: 7.938 kB / 0.7896 GB, free: 6.82 MB / 0.6075 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 0.0001009/0.316, allocations: 133.8 kB / 0.7897 GB, free: 6.68 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.553e-05/0.3161, allocations: 7.906 kB / 0.7898 GB, free: 6.672 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.761e-05/0.3162, allocations: 20.23 kB / 0.7898 GB, free: 6.648 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.3162, allocations: 0 / 0.7898 GB, free: 6.648 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/0.3162, allocations: 4 kB / 0.7898 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.3162, allocations: 4 kB / 0.7898 GB, free: 6.641 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002669/0.3165, allocations: 229.4 kB / 0.79 GB, free: 6.367 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.3165, allocations: 0 / 0.79 GB, free: 6.367 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001656/0.3166, allocations: 35.95 kB / 0.79 GB, free: 6.332 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.3166, allocations: 0 / 0.79 GB, free: 6.332 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.182e-05/0.3167, allocations: 0 / 0.79 GB, free: 6.332 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.3167, allocations: 4 kB / 0.79 GB, free: 6.328 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.3167, allocations: 0 / 0.79 GB, free: 6.328 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005757/0.3172, allocations: 382.6 kB / 0.7904 GB, free: 5.938 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.32e-05/0.3173, allocations: 89 kB / 0.7905 GB, free: 5.832 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.076e-05/0.3173, allocations: 4 kB / 0.7905 GB, free: 5.828 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001854/0.3175, allocations: 27.97 kB / 0.7905 GB, free: 5.801 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.03e-05/0.3176, allocations: 11.92 kB / 0.7905 GB, free: 5.789 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.095e-06/0.3176, allocations: 4 kB / 0.7905 GB, free: 5.785 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 7.939e-05/0.3177, allocations: 121 kB / 0.7906 GB, free: 5.668 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3177, allocations: 0 / 0.7906 GB, free: 5.668 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002754/0.318, allocations: 23.91 kB / 0.7907 GB, free: 5.645 MB / 0.6075 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.0001416/0.3181, allocations: 107.2 kB / 0.7908 GB, free: 5.531 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005292/0.3187, allocations: 179.7 kB / 0.7909 GB, free: 5.355 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.3187, allocations: 0 / 0.7909 GB, free: 5.355 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002553/0.3189, allocations: 92.23 kB / 0.791 GB, free: 5.266 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003606/0.3193, allocations: 11.98 kB / 0.791 GB, free: 5.254 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005021/0.3198, allocations: 259 kB / 0.7913 GB, free: 4.965 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000274/0.3201, allocations: 0.7149 MB / 0.792 GB, free: 4.227 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 8.22e-05/0.3202, allocations: 31.97 kB / 0.792 GB, free: 4.195 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.586e-05/0.3202, allocations: 15.44 kB / 0.792 GB, free: 4.18 MB / 0.6075 GB Notification: Performance of SimCode: time 2.21e-07/0.3202, allocations: 0 / 0.792 GB, free: 4.18 MB / 0.6075 GB Notification: Performance of Templates: time 0.003603/0.3238, allocations: 1.191 MB / 0.7932 GB, free: 3 MB / 0.6075 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 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe 2>&1)