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.001723/0.001723, allocations: 99.36 kB / 15.33 MB, free: 0.5078 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.002617/0.002617, allocations: 191.9 kB / 16.25 MB, free: 6.629 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.65/1.65, allocations: 205.1 MB / 222.1 MB, free: 4.719 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.761/1.761, allocations: 292.2 MB / 0.5485 GB, free: 13.67 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.001344/0.001344, allocations: 70.75 kB / 0.671 GB, free: 26.47 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.254/0.2553, allocations: 114.5 MB / 0.7829 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain): time 0.003069/0.2584, allocations: 0.8315 MB / 0.7837 GB, free: 13.07 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001412/0.2599, allocations: 0.8243 MB / 0.7845 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.674e-05/0.26, allocations: 7.938 kB / 0.7845 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002712/0.2603, allocations: 55.86 kB / 0.7845 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.085e-05/0.2604, allocations: 31.89 kB / 0.7846 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001108/0.2605, allocations: 15.98 kB / 0.7846 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002014/0.2608, allocations: 87.69 kB / 0.7847 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002183/0.261, allocations: 27.98 kB / 0.7847 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001356/0.2611, allocations: 39.89 kB / 0.7847 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002023/0.2613, allocations: 83.78 kB / 0.7848 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.895e-05/0.2614, allocations: 8 kB / 0.7848 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 2.546e-05/0.2614, allocations: 8 kB / 0.7848 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000103/0.2615, allocations: 35.91 kB / 0.7849 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.909e-05/0.2616, allocations: 47.66 kB / 0.7849 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001909/0.2618, allocations: 111.6 kB / 0.785 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.2618, allocations: 4 kB / 0.785 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.066e-06/0.2618, allocations: 0 / 0.785 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.256e-06/0.2619, allocations: 0 / 0.785 GB, free: 11.68 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.001128/0.263, allocations: 467.1 kB / 0.7855 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.78e-05/0.2631, allocations: 8.031 kB / 0.7855 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.491e-05/0.2631, allocations: 12.84 kB / 0.7855 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002978/0.2634, allocations: 215.3 kB / 0.7857 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.022e-05/0.2635, allocations: 4.375 kB / 0.7857 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.802e-05/0.2635, allocations: 384 / 0.7857 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004671/0.264, allocations: 151.9 kB / 0.7858 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.264, allocations: 192 / 0.7858 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.355e-05/0.264, allocations: 3.938 kB / 0.7859 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.398e-06/0.264, allocations: 11.92 kB / 0.7859 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005581/0.2646, allocations: 171.8 kB / 0.786 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001047/0.2656, allocations: 0.5008 MB / 0.7865 GB, free: 10 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004613/0.2661, allocations: 169.1 kB / 0.7867 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002694/0.2664, allocations: 90.8 kB / 0.7868 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.112e-05/0.2664, allocations: 8 kB / 0.7868 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.88e-05/0.2665, allocations: 30.56 kB / 0.7868 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=8): time 1.312e-06/0.2665, allocations: 0 / 0.7868 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8): time 0.0009311/0.2674, allocations: 285.3 kB / 0.7871 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.883e-05/0.2675, allocations: 81.11 kB / 0.7872 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001901/0.2677, allocations: 162.2 kB / 0.7873 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.059e-05/0.2678, allocations: 29.64 kB / 0.7873 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.197e-05/0.2679, allocations: 108 kB / 0.7874 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.712e-05/0.2679, allocations: 19.72 kB / 0.7875 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.957e-05/0.268, allocations: 25.7 kB / 0.7875 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002258/0.2683, allocations: 326.8 kB / 0.7878 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002368/0.2685, allocations: 75.94 kB / 0.7879 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002334/0.2687, allocations: 97.62 kB / 0.788 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004666/0.2692, allocations: 177.5 kB / 0.7881 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.125e-06/0.2692, allocations: 0 / 0.7881 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005214/0.2698, allocations: 205.3 kB / 0.7883 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.504e-05/0.2698, allocations: 4 kB / 0.7883 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.804e-06/0.2698, allocations: 0 / 0.7883 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/0.2698, allocations: 8 kB / 0.7883 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002243/0.2701, allocations: 32.42 kB / 0.7884 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.075e-05/0.2701, allocations: 4 kB / 0.7884 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001394/0.2702, allocations: 27.89 kB / 0.7884 GB, free: 7.965 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.24e-05/0.2703, allocations: 4 kB / 0.7884 GB, free: 7.961 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.000139/0.2704, allocations: 133.7 kB / 0.7885 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.946e-05/0.2705, allocations: 15.91 kB / 0.7885 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.91e-05/0.2705, allocations: 16.25 kB / 0.7886 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.2705, allocations: 3.984 kB / 0.7886 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.737e-06/0.2706, allocations: 0 / 0.7886 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.073e-06/0.2706, allocations: 3.984 kB / 0.7886 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003375/0.2709, allocations: 237.4 kB / 0.7888 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.2709, allocations: 0 / 0.7888 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000169/0.2711, allocations: 31.97 kB / 0.7888 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.2711, allocations: 0 / 0.7888 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.482e-05/0.2711, allocations: 3.984 kB / 0.7888 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.215e-06/0.2711, allocations: 4 kB / 0.7888 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.2711, allocations: 4 kB / 0.7888 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006515/0.2718, allocations: 378.5 kB / 0.7892 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.09e-05/0.2719, allocations: 88.95 kB / 0.7893 GB, free: 6.961 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.192e-05/0.2719, allocations: 0 / 0.7893 GB, free: 6.961 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001853/0.2721, allocations: 27.95 kB / 0.7893 GB, free: 6.934 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.489e-05/0.2722, allocations: 11.98 kB / 0.7893 GB, free: 6.922 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.943e-06/0.2722, allocations: 0 / 0.7893 GB, free: 6.922 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 9.372e-05/0.2723, allocations: 125 kB / 0.7894 GB, free: 6.801 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.2723, allocations: 0 / 0.7894 GB, free: 6.801 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002729/0.2725, allocations: 23.91 kB / 0.7895 GB, free: 6.777 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.0001634/0.2727, allocations: 107.2 kB / 0.7896 GB, free: 6.664 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005579/0.2733, allocations: 175.7 kB / 0.7897 GB, free: 6.492 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.059e-06/0.2733, allocations: 4 kB / 0.7897 GB, free: 6.488 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002516/0.2736, allocations: 91.86 kB / 0.7898 GB, free: 6.398 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003592/0.2739, allocations: 11.94 kB / 0.7898 GB, free: 6.387 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006842/0.2746, allocations: 291.1 kB / 0.7901 GB, free: 6.07 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000392/0.275, allocations: 0.7146 MB / 0.7908 GB, free: 5.332 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 9.056e-05/0.2751, allocations: 27.97 kB / 0.7908 GB, free: 5.305 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.889e-05/0.2752, allocations: 11.44 kB / 0.7908 GB, free: 5.293 MB / 0.6075 GB Notification: Performance of SimCode: time 7.42e-07/0.2752, allocations: 0 / 0.7908 GB, free: 5.293 MB / 0.6075 GB Notification: Performance of Templates: time 0.004158/0.2793, allocations: 1.049 MB / 0.7919 GB, free: 4.258 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)