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.001493/0.001493, allocations: 101.8 kB / 16.36 MB, free: 6.348 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.001633/0.001633, allocations: 194.2 kB / 17.3 MB, free: 5.891 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.459/1.459, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.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.841/1.841, allocations: 292.3 MB / 0.5496 GB, free: 17.61 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.001404/0.001404, allocations: 71.91 kB / 0.6729 GB, free: 5.863 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2199/0.2213, allocations: 114.6 MB / 0.7848 GB, free: 3.191 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain): time 0.001989/0.2233, allocations: 0.7792 MB / 0.7856 GB, free: 2.41 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0008245/0.2242, allocations: 0.8204 MB / 0.7864 GB, free: 1.574 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.273e-05/0.2242, allocations: 4 kB / 0.7864 GB, free: 1.57 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.000176/0.2244, allocations: 51.8 kB / 0.7864 GB, free: 1.52 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 5.472e-05/0.2245, allocations: 35.83 kB / 0.7864 GB, free: 1.484 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 6.567e-05/0.2245, allocations: 19.97 kB / 0.7865 GB, free: 1.465 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001227/0.2247, allocations: 91.69 kB / 0.7866 GB, free: 1.375 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001267/0.2248, allocations: 23.98 kB / 0.7866 GB, free: 1.352 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 6.752e-05/0.2249, allocations: 43.89 kB / 0.7866 GB, free: 1.309 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001323/0.225, allocations: 79.78 kB / 0.7867 GB, free: 1.23 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.222e-05/0.225, allocations: 8 kB / 0.7867 GB, free: 1.223 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.704e-05/0.2251, allocations: 8 kB / 0.7867 GB, free: 1.215 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 6.52e-05/0.2251, allocations: 39.84 kB / 0.7867 GB, free: 1.176 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 5.481e-05/0.2252, allocations: 43.73 kB / 0.7868 GB, free: 1.133 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001331/0.2253, allocations: 123.6 kB / 0.7869 GB, free: 1.012 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.2253, allocations: 0 / 0.7869 GB, free: 1.012 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.553e-06/0.2254, allocations: 3.938 kB / 0.7869 GB, free: 1.008 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.2254, allocations: 0 / 0.7869 GB, free: 1.008 MB / 0.6544 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.0007349/0.2261, allocations: 462.9 kB / 0.7874 GB, free: 0.5039 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.405e-05/0.2261, allocations: 8.031 kB / 0.7874 GB, free: 0.4961 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.112e-05/0.2262, allocations: 16.75 kB / 0.7874 GB, free: 492 kB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001786/0.2264, allocations: 204 kB / 0.7876 GB, free: 248 kB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.659e-06/0.2264, allocations: 4.375 kB / 0.7876 GB, free: 244 kB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.494e-05/0.2264, allocations: 4.375 kB / 0.7876 GB, free: 240 kB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003838/0.2268, allocations: 155.8 kB / 0.7877 GB, free: 72 kB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.2268, allocations: 192 / 0.7877 GB, free: 72 kB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.481e-05/0.2268, allocations: 3.938 kB / 0.7877 GB, free: 68 kB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/0.2268, allocations: 7.938 kB / 0.7877 GB, free: 60 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3884/0.6152, allocations: 167.9 kB / 0.7879 GB, free: 48.98 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007778/0.616, allocations: 0.5005 MB / 0.7884 GB, free: 48.64 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003668/0.6164, allocations: 166.4 kB / 0.7885 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002433/0.6167, allocations: 91.33 kB / 0.7886 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.939e-05/0.6167, allocations: 3.219 kB / 0.7886 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.91e-05/0.6167, allocations: 33.44 kB / 0.7887 GB, free: 48.54 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=8): time 1.713e-06/0.6167, allocations: 1.594 kB / 0.7887 GB, free: 48.54 MB / 0.6544 GB Notification: Performance of matching and sorting (n=8): time 0.0008457/0.6176, allocations: 282.6 kB / 0.7889 GB, free: 48.5 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.092e-05/0.6176, allocations: 79.73 kB / 0.789 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001085/0.6177, allocations: 165.1 kB / 0.7892 GB, free: 48.31 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.332e-05/0.6178, allocations: 29.08 kB / 0.7892 GB, free: 48.28 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.651e-05/0.6178, allocations: 108.2 kB / 0.7893 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.433e-05/0.6179, allocations: 27.19 kB / 0.7893 GB, free: 48.19 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7e-05/0.6179, allocations: 17.53 kB / 0.7893 GB, free: 48.17 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.816e-05/0.618, allocations: 327.1 kB / 0.7897 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003187/0.6183, allocations: 76.97 kB / 0.7897 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003174/0.6187, allocations: 92.08 kB / 0.7898 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004896/0.6192, allocations: 175.8 kB / 0.79 GB, free: 47.83 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.6192, allocations: 3.938 kB / 0.79 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005139/0.6197, allocations: 204.9 kB / 0.7902 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.6197, allocations: 4.156 kB / 0.7902 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.6197, allocations: 3.141 kB / 0.7902 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.6198, allocations: 4.5 kB / 0.7902 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002072/0.62, allocations: 32.23 kB / 0.7902 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.585e-06/0.62, allocations: 3.75 kB / 0.7902 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001315/0.6201, allocations: 32.36 kB / 0.7903 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.078e-05/0.6201, allocations: 2.688 kB / 0.7903 GB, free: 47.79 MB / 0.6544 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 8.386e-05/0.6202, allocations: 128.7 kB / 0.7904 GB, free: 47.67 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.825e-05/0.6203, allocations: 17.41 kB / 0.7904 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.842e-05/0.6203, allocations: 18.19 kB / 0.7904 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.6203, allocations: 2.281 kB / 0.7904 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.6204, allocations: 2.688 kB / 0.7904 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.6204, allocations: 1.281 kB / 0.7904 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002308/0.6206, allocations: 226.4 kB / 0.7906 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.6206, allocations: 2.625 kB / 0.7906 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000169/0.6208, allocations: 36.23 kB / 0.7907 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.6208, allocations: 2.594 kB / 0.7907 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.186e-05/0.6208, allocations: 0.5625 kB / 0.7907 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.003e-06/0.6208, allocations: 2.031 kB / 0.7907 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.6208, allocations: 2.531 kB / 0.7907 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005424/0.6214, allocations: 380.8 kB / 0.7911 GB, free: 47.26 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.709e-05/0.6214, allocations: 88.05 kB / 0.7911 GB, free: 47.16 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.238e-05/0.6215, allocations: 5.375 kB / 0.7911 GB, free: 47.16 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000193/0.6217, allocations: 30.09 kB / 0.7912 GB, free: 47.16 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.468e-05/0.6217, allocations: 12.66 kB / 0.7912 GB, free: 47.16 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.833e-06/0.6217, allocations: 2.625 kB / 0.7912 GB, free: 47.16 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 6.693e-05/0.6218, allocations: 129.8 kB / 0.7913 GB, free: 47.08 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6218, allocations: 0 / 0.7913 GB, free: 47.08 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002705/0.6221, allocations: 16.72 kB / 0.7913 GB, free: 47.08 MB / 0.6544 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.0001255/0.6222, allocations: 109 kB / 0.7914 GB, free: 47 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0006273/0.6228, allocations: 169.8 kB / 0.7916 GB, free: 47 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.6229, allocations: 0 / 0.7916 GB, free: 47 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002729/0.6231, allocations: 91.03 kB / 0.7917 GB, free: 47 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003783/0.6235, allocations: 20.47 kB / 0.7917 GB, free: 46.99 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005193/0.6241, allocations: 288.8 kB / 0.792 GB, free: 46.82 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001428/0.6242, allocations: 0.7162 MB / 0.7927 GB, free: 46.12 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.456e-05/0.6243, allocations: 13.12 kB / 0.7927 GB, free: 46.12 MB / 0.6544 GB Notification: Performance of SimCode: time 2.2e-07/0.6243, allocations: 0 / 0.7927 GB, free: 46.12 MB / 0.6544 GB Notification: Performance of Templates: time 0.002946/0.6272, allocations: 1.491 MB / 0.7941 GB, free: 46.07 MB / 0.6544 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)