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.675/1.675, allocations: 288.3 MB / 303.2 MB, free: 8.156 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.001062/0.001062, allocations: 169.1 kB / 371.8 MB, free: 10.29 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.553/1.553, allocations: 205.4 MB / 0.6306 GB, free: 9.914 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.0008993/0.0008993, allocations: 93.52 kB / 0.7439 GB, free: 5.859 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007341/0.0007343, allocations: 17.53 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3139/0.3146, allocations: 115.3 MB / 0.9794 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain): time 0.0009569/0.3157, allocations: 483 kB / 0.9799 GB, free: 27.22 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001004/0.3167, allocations: 0.8204 MB / 0.9807 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.937e-05/0.3168, allocations: 3.938 kB / 0.9807 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002078/0.317, allocations: 59.78 kB / 0.9808 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.865e-05/0.3171, allocations: 31.95 kB / 0.9808 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 7.775e-05/0.3172, allocations: 19.97 kB / 0.9808 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 9.988e-05/0.3173, allocations: 55.86 kB / 0.9809 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001519/0.3174, allocations: 15.98 kB / 0.9809 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.154e-05/0.3175, allocations: 35.91 kB / 0.9809 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00013/0.3177, allocations: 67.78 kB / 0.981 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.36e-05/0.3177, allocations: 4 kB / 0.981 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.503e-05/0.3177, allocations: 4 kB / 0.981 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.912e-05/0.3178, allocations: 35.89 kB / 0.981 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.394e-05/0.3178, allocations: 37.64 kB / 0.981 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001024/0.3179, allocations: 79.83 kB / 0.9811 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.3179, allocations: 0 / 0.9811 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.585e-06/0.3179, allocations: 0 / 0.9811 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.63e-06/0.318, allocations: 0 / 0.9811 GB, free: 25.93 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.0007495/0.3187, allocations: 472 kB / 0.9816 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.566e-05/0.3188, allocations: 12.03 kB / 0.9816 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.598e-05/0.3188, allocations: 7.906 kB / 0.9816 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001817/0.319, allocations: 199.7 kB / 0.9818 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.42e-05/0.319, allocations: 8 kB / 0.9818 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.535e-05/0.319, allocations: 7.938 kB / 0.9818 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003998/0.3194, allocations: 163.3 kB / 0.982 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.3195, allocations: 0 / 0.982 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.442e-05/0.3195, allocations: 4 kB / 0.982 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.3195, allocations: 0 / 0.982 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005086/0.32, allocations: 207.8 kB / 0.9822 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008318/0.3209, allocations: 0.5164 MB / 0.9827 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003677/0.3212, allocations: 189.1 kB / 0.9828 GB, free: 24 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.438e-05/0.3213, allocations: 7.984 kB / 0.9828 GB, free: 24 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.405e-05/0.3213, allocations: 30.56 kB / 0.9829 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 1.904e-06/0.3213, allocations: 4 kB / 0.9829 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.0008719/0.3222, allocations: 337.3 kB / 0.9832 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.684e-05/0.3222, allocations: 81.11 kB / 0.9833 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001119/0.3223, allocations: 156.9 kB / 0.9834 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.546e-05/0.3224, allocations: 29.7 kB / 0.9835 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.88e-05/0.3224, allocations: 108 kB / 0.9836 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.825e-05/0.3225, allocations: 23.66 kB / 0.9836 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.672e-06/0.3225, allocations: 4 kB / 0.9836 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.47e-05/0.3225, allocations: 326.8 kB / 0.9839 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002315/0.3228, allocations: 87.92 kB / 0.984 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002322/0.323, allocations: 109.6 kB / 0.9841 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002352/0.3233, allocations: 99.86 kB / 0.9842 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.3233, allocations: 7.938 kB / 0.9842 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005072/0.3238, allocations: 237.4 kB / 0.9844 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.3238, allocations: 4 kB / 0.9844 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.3238, allocations: 160 / 0.9844 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.758e-05/0.3238, allocations: 4 kB / 0.9844 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002088/0.3241, allocations: 51.89 kB / 0.9845 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.927e-06/0.3241, allocations: 3.984 kB / 0.9845 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001358/0.3242, allocations: 39.89 kB / 0.9845 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.069e-05/0.3242, allocations: 3.953 kB / 0.9845 GB, free: 22.21 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 0.0001174/0.3244, allocations: 129.8 kB / 0.9846 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.305e-05/0.3244, allocations: 11.91 kB / 0.9847 GB, free: 22.06 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.351e-05/0.3245, allocations: 16.25 kB / 0.9847 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.3245, allocations: 4 kB / 0.9847 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.762e-06/0.3245, allocations: 0 / 0.9847 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.3245, allocations: 0 / 0.9847 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002354/0.3247, allocations: 229.4 kB / 0.9849 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.3247, allocations: 0 / 0.9849 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000171/0.3249, allocations: 43.97 kB / 0.9849 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.3249, allocations: 0 / 0.9849 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.378e-05/0.325, allocations: 8 kB / 0.9849 GB, free: 21.72 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.325, allocations: 3.984 kB / 0.9849 GB, free: 21.72 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.325, allocations: 3.938 kB / 0.9849 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005418/0.3255, allocations: 420.2 kB / 0.9854 GB, free: 21.28 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.28e-05/0.3256, allocations: 89.48 kB / 0.9854 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.03e-05/0.3256, allocations: 0 / 0.9854 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001873/0.3258, allocations: 35.89 kB / 0.9855 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.405e-05/0.3258, allocations: 15.98 kB / 0.9855 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.843e-06/0.3258, allocations: 4 kB / 0.9855 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.978e-05/0.3259, allocations: 119.4 kB / 0.9856 GB, free: 21 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3259, allocations: 0 / 0.9856 GB, free: 21 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002608/0.3262, allocations: 27.86 kB / 0.9856 GB, free: 20.98 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.0001358/0.3263, allocations: 107.2 kB / 0.9857 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005177/0.3269, allocations: 203.8 kB / 0.9859 GB, free: 20.66 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.3269, allocations: 0 / 0.9859 GB, free: 20.66 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002476/0.3271, allocations: 107.9 kB / 0.986 GB, free: 20.56 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002392/0.3274, allocations: 15.94 kB / 0.986 GB, free: 20.54 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004556/0.3278, allocations: 266.4 kB / 0.9863 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001552/0.328, allocations: 0.716 MB / 0.987 GB, free: 19.51 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 7.926e-05/0.3281, allocations: 35.89 kB / 0.987 GB, free: 19.47 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.252e-05/0.3281, allocations: 11.44 kB / 0.987 GB, free: 19.46 MB / 0.6198 GB Notification: Performance of SimCode: time 5.91e-07/0.3281, allocations: 0 / 0.987 GB, free: 19.46 MB / 0.6198 GB Notification: Performance of Templates: time 0.002963/0.3311, allocations: 0.9482 MB / 0.988 GB, free: 18.52 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)