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.0009474/0.0009469, allocations: 97.33 kB / 15.36 MB, free: 0.7344 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.007962/0.007962, allocations: 173.2 kB / 16.27 MB, free: 6.66 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.78/1.78, allocations: 205.4 MB / 222.4 MB, free: 5.789 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.857/1.857, allocations: 292.7 MB / 0.5502 GB, free: 14.47 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.0005958/0.0005958, allocations: 24.25 kB / 0.6743 GB, free: 26.14 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2701/0.2707, allocations: 116.3 MB / 0.7879 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain): time 0.001115/0.2719, allocations: 498.3 kB / 0.7884 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001028/0.273, allocations: 0.8321 MB / 0.7892 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.124e-05/0.273, allocations: 7.938 kB / 0.7892 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002106/0.2732, allocations: 55.86 kB / 0.7892 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.956e-05/0.2733, allocations: 27.89 kB / 0.7893 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 7.408e-05/0.2734, allocations: 15.98 kB / 0.7893 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001202/0.2735, allocations: 87.69 kB / 0.7894 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001423/0.2737, allocations: 20 kB / 0.7894 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.927e-05/0.2737, allocations: 43.81 kB / 0.7894 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001359/0.2739, allocations: 71.8 kB / 0.7895 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.353e-05/0.2739, allocations: 4 kB / 0.7895 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.484e-05/0.2739, allocations: 4 kB / 0.7895 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.297e-05/0.274, allocations: 31.91 kB / 0.7895 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.567e-05/0.2741, allocations: 65.38 kB / 0.7896 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001316/0.2742, allocations: 107.6 kB / 0.7897 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.2742, allocations: 4 kB / 0.7897 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.783e-06/0.2743, allocations: 0 / 0.7897 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.659e-06/0.2743, allocations: 0 / 0.7897 GB, free: 9.695 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.0008073/0.2751, allocations: 471.2 kB / 0.7902 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.2751, allocations: 8.031 kB / 0.7902 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.448e-05/0.2752, allocations: 12.84 kB / 0.7902 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002073/0.2754, allocations: 211.9 kB / 0.7904 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.287e-05/0.2754, allocations: 4.375 kB / 0.7904 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.051e-05/0.2754, allocations: 8.375 kB / 0.7904 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004295/0.2759, allocations: 163.9 kB / 0.7905 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.2759, allocations: 192 / 0.7905 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.845e-05/0.2759, allocations: 7.938 kB / 0.7906 GB, free: 8.73 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-06/0.2759, allocations: 4 kB / 0.7906 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005449/0.2765, allocations: 203.8 kB / 0.7908 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000824/0.2773, allocations: 0.5086 MB / 0.7912 GB, free: 7.965 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004024/0.2777, allocations: 185.1 kB / 0.7914 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002749/0.278, allocations: 114.8 kB / 0.7915 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.614e-05/0.278, allocations: 0 / 0.7915 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.137e-05/0.2781, allocations: 38.55 kB / 0.7916 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=8): time 8.62e-07/0.2781, allocations: 4 kB / 0.7916 GB, free: 7.598 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8): time 0.000929/0.279, allocations: 329.3 kB / 0.7919 GB, free: 7.27 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.036e-05/0.2791, allocations: 77.11 kB / 0.792 GB, free: 7.176 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001394/0.2792, allocations: 162.2 kB / 0.7921 GB, free: 7.008 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.726e-05/0.2792, allocations: 25.7 kB / 0.7921 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.027e-05/0.2793, allocations: 112 kB / 0.7922 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.408e-05/0.2794, allocations: 19.7 kB / 0.7923 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.093e-05/0.2794, allocations: 17.72 kB / 0.7923 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001372/0.2795, allocations: 330.7 kB / 0.7926 GB, free: 6.488 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002647/0.2798, allocations: 91.92 kB / 0.7927 GB, free: 6.398 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002637/0.2801, allocations: 117.6 kB / 0.7928 GB, free: 6.277 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004969/0.2806, allocations: 201.6 kB / 0.793 GB, free: 6.074 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.2806, allocations: 0 / 0.793 GB, free: 6.074 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005839/0.2812, allocations: 241.3 kB / 0.7932 GB, free: 5.832 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/0.2812, allocations: 11.94 kB / 0.7932 GB, free: 5.82 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.2812, allocations: 4 kB / 0.7932 GB, free: 5.816 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.2813, allocations: 3.938 kB / 0.7932 GB, free: 5.812 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002163/0.2815, allocations: 47.95 kB / 0.7933 GB, free: 5.766 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.273e-06/0.2815, allocations: 4 kB / 0.7933 GB, free: 5.762 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001435/0.2816, allocations: 31.91 kB / 0.7933 GB, free: 5.73 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.134e-05/0.2817, allocations: 7.984 kB / 0.7933 GB, free: 5.723 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 9.848e-05/0.2818, allocations: 129.7 kB / 0.7935 GB, free: 5.586 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.11e-05/0.2818, allocations: 15.81 kB / 0.7935 GB, free: 5.57 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.047e-05/0.2819, allocations: 24.23 kB / 0.7935 GB, free: 5.543 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.2819, allocations: 0 / 0.7935 GB, free: 5.543 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/0.2819, allocations: 480 / 0.7935 GB, free: 5.543 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.125e-06/0.2819, allocations: 0 / 0.7935 GB, free: 5.543 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000298/0.2822, allocations: 225.5 kB / 0.7937 GB, free: 5.273 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.2822, allocations: 0 / 0.7937 GB, free: 5.273 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001757/0.2824, allocations: 39.95 kB / 0.7937 GB, free: 5.234 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.2824, allocations: 8 kB / 0.7938 GB, free: 5.227 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.266e-05/0.2824, allocations: 4 kB / 0.7938 GB, free: 5.223 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.2824, allocations: 0 / 0.7938 GB, free: 5.223 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.2824, allocations: 3.984 kB / 0.7938 GB, free: 5.219 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006391/0.2831, allocations: 414.5 kB / 0.7942 GB, free: 4.797 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.652e-05/0.2831, allocations: 88.92 kB / 0.7942 GB, free: 4.691 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.251e-05/0.2832, allocations: 4 kB / 0.7942 GB, free: 4.688 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000196/0.2834, allocations: 35.95 kB / 0.7943 GB, free: 4.652 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.83e-05/0.2834, allocations: 7.984 kB / 0.7943 GB, free: 4.645 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.907e-06/0.2834, allocations: 8 kB / 0.7943 GB, free: 4.637 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.915e-05/0.2835, allocations: 121 kB / 0.7944 GB, free: 4.52 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2836, allocations: 0 / 0.7944 GB, free: 4.52 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002703/0.2838, allocations: 20 kB / 0.7944 GB, free: 4.5 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.0001877/0.284, allocations: 99.19 kB / 0.7945 GB, free: 4.395 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.00063/0.2847, allocations: 211.7 kB / 0.7947 GB, free: 4.188 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.2847, allocations: 0 / 0.7947 GB, free: 4.188 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003426/0.285, allocations: 111.8 kB / 0.7948 GB, free: 4.078 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004985/0.2855, allocations: 12 kB / 0.7948 GB, free: 4.066 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000618/0.2862, allocations: 290.2 kB / 0.7951 GB, free: 3.75 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003511/0.2865, allocations: 0.7121 MB / 0.7958 GB, free: 3.012 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 8.519e-05/0.2866, allocations: 27.95 kB / 0.7958 GB, free: 2.984 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.663e-05/0.2867, allocations: 11.44 kB / 0.7959 GB, free: 2.973 MB / 0.6075 GB Notification: Performance of SimCode: time 4.01e-07/0.2867, allocations: 4 kB / 0.7959 GB, free: 2.969 MB / 0.6075 GB Notification: Performance of Templates: time 0.003696/0.2904, allocations: 0.9684 MB / 0.7968 GB, free: 2.012 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: