Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.781/2.781, allocations: 287.5 MB / 302.4 MB, free: 8.246 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.001364/0.001363, allocations: 174.3 kB / 371 MB, free: 10.89 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.32/2.32, allocations: 205.4 MB / 0.6297 GB, free: 10.63 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.0009591/0.000959, allocations: 75.05 kB / 0.743 GB, free: 6.641 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005376/0.0005378, allocations: 18.78 kB / 0.8658 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2446/0.2451, allocations: 115.3 MB / 0.9784 GB, free: 28.38 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain): time 0.001033/0.2462, allocations: 478.7 kB / 0.9788 GB, free: 27.9 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001145/0.2474, allocations: 0.836 MB / 0.9797 GB, free: 27.05 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.497e-05/0.2475, allocations: 0 / 0.9797 GB, free: 27.05 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002037/0.2477, allocations: 47.88 kB / 0.9797 GB, free: 27 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.334e-05/0.2478, allocations: 31.88 kB / 0.9797 GB, free: 26.97 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 8.061e-05/0.2479, allocations: 15.98 kB / 0.9797 GB, free: 26.96 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001273/0.2481, allocations: 75.75 kB / 0.9798 GB, free: 26.88 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001275/0.2482, allocations: 16 kB / 0.9798 GB, free: 26.87 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.803e-05/0.2483, allocations: 39.83 kB / 0.9799 GB, free: 26.83 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001459/0.2484, allocations: 71.78 kB / 0.9799 GB, free: 26.76 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.174e-05/0.2485, allocations: 4 kB / 0.9799 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 2.596e-05/0.2485, allocations: 4 kB / 0.9799 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.481e-05/0.2486, allocations: 31.91 kB / 0.98 GB, free: 26.72 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.561e-05/0.2486, allocations: 37.64 kB / 0.98 GB, free: 26.68 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001277/0.2488, allocations: 91.81 kB / 0.9801 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.214e-06/0.2488, allocations: 0 / 0.9801 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of FrontEnd: time 4.097e-06/0.2488, allocations: 0 / 0.9801 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.15e-06/0.2488, allocations: 0 / 0.9801 GB, free: 26.59 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.001018/0.2499, allocations: 467 kB / 0.9805 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.059e-05/0.2499, allocations: 8.031 kB / 0.9806 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.287e-05/0.25, allocations: 15.91 kB / 0.9806 GB, free: 26.06 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002465/0.2503, allocations: 200.2 kB / 0.9808 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.528e-05/0.2503, allocations: 0 / 0.9808 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.796e-05/0.2503, allocations: 4 kB / 0.9808 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006787/0.251, allocations: 167.2 kB / 0.9809 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.412e-05/0.2511, allocations: 0 / 0.9809 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.034e-05/0.2511, allocations: 4 kB / 0.9809 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.125e-06/0.2511, allocations: 4 kB / 0.9809 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009001/0.252, allocations: 199.8 kB / 0.9811 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001141/0.2532, allocations: 0.5203 MB / 0.9816 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006152/0.2538, allocations: 185.1 kB / 0.9818 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004442/0.2543, allocations: 105.7 kB / 0.9819 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.993e-05/0.2543, allocations: 8 kB / 0.9819 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.051e-05/0.2544, allocations: 30.56 kB / 0.9819 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 3.286e-06/0.2544, allocations: 0 / 0.9819 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.001509/0.2559, allocations: 337.3 kB / 0.9823 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.715e-05/0.256, allocations: 85.06 kB / 0.9823 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001621/0.2561, allocations: 162.2 kB / 0.9825 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.874e-05/0.2562, allocations: 29.64 kB / 0.9825 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.114e-05/0.2562, allocations: 112 kB / 0.9826 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.291e-05/0.2563, allocations: 27.64 kB / 0.9827 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.08e-05/0.2563, allocations: 0 / 0.9827 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.775e-05/0.2564, allocations: 326.8 kB / 0.983 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004243/0.2568, allocations: 91.92 kB / 0.9831 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004315/0.2573, allocations: 113.6 kB / 0.9832 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004281/0.2577, allocations: 99.86 kB / 0.9833 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.2577, allocations: 0 / 0.9833 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0009418/0.2587, allocations: 237.3 kB / 0.9835 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.388e-05/0.2587, allocations: 5.562 kB / 0.9835 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/0.2588, allocations: 4 kB / 0.9835 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.152e-05/0.2588, allocations: 0 / 0.9835 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004199/0.2592, allocations: 51.89 kB / 0.9835 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.08e-05/0.2592, allocations: 7.953 kB / 0.9836 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000243/0.2595, allocations: 31.91 kB / 0.9836 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.523e-05/0.2595, allocations: 0 / 0.9836 GB, free: 22.76 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.0001223/0.2597, allocations: 133.8 kB / 0.9837 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.474e-05/0.2597, allocations: 7.906 kB / 0.9837 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.035e-05/0.2598, allocations: 20.23 kB / 0.9837 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.2598, allocations: 4 kB / 0.9837 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.2598, allocations: 0 / 0.9837 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.2598, allocations: 3.953 kB / 0.9837 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003421/0.2602, allocations: 229.5 kB / 0.984 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.2602, allocations: 4 kB / 0.984 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003181/0.2605, allocations: 43.95 kB / 0.984 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.47e-06/0.2606, allocations: 0 / 0.984 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.671e-05/0.2606, allocations: 8 kB / 0.984 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.2606, allocations: 3.938 kB / 0.984 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.2606, allocations: 0 / 0.984 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009831/0.2616, allocations: 410.5 kB / 0.9844 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.644e-05/0.2616, allocations: 85.02 kB / 0.9845 GB, free: 21.74 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.022e-05/0.2617, allocations: 4 kB / 0.9845 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003073/0.262, allocations: 31.97 kB / 0.9845 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.478e-05/0.2621, allocations: 7.984 kB / 0.9845 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.434e-05/0.2621, allocations: 4 kB / 0.9845 GB, free: 21.69 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001024/0.2622, allocations: 127.2 kB / 0.9847 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.41e-07/0.2622, allocations: 0 / 0.9847 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003805/0.2626, allocations: 23.91 kB / 0.9847 GB, free: 21.54 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.0001381/0.2628, allocations: 111.1 kB / 0.9848 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0009797/0.2638, allocations: 196.3 kB / 0.985 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.2638, allocations: 0 / 0.985 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0004637/0.2643, allocations: 112.1 kB / 0.9851 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004783/0.2648, allocations: 22.11 kB / 0.9851 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006631/0.2654, allocations: 270.4 kB / 0.9854 GB, free: 20.81 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001932/0.2656, allocations: 0.7121 MB / 0.9861 GB, free: 20.07 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001392/0.2658, allocations: 35.95 kB / 0.9861 GB, free: 20.04 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.614e-05/0.2659, allocations: 11.44 kB / 0.9861 GB, free: 20.02 MB / 0.6198 GB Notification: Performance of SimCode: time 8.02e-07/0.2659, allocations: 0 / 0.9861 GB, free: 20.02 MB / 0.6198 GB Notification: Performance of Templates: time 0.004327/0.2702, allocations: 0.9411 MB / 0.987 GB, free: 19.09 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe 2>&1)