Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixMin",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.273/1.273, allocations: 251.5 MB / 266.7 MB, free: 11.06 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008423/0.0008423, allocations: 180.7 kB / 325.8 MB, free: 2.723 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.331/1.331, allocations: 205 MB / 0.576 GB, free: 21.02 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000707/0.000707, allocations: 97.69 kB / 0.6797 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003048/0.0003048, allocations: 18.81 kB / 0.7933 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1681/0.1684, allocations: 105.4 MB / 0.8962 GB, free: 68.07 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin): time 0.0007858/0.1693, allocations: 0.4963 MB / 0.8967 GB, free: 67.57 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0001856/0.1695, allocations: 55.81 kB / 0.8968 GB, free: 67.52 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.236e-05/0.1695, allocations: 4 kB / 0.8968 GB, free: 67.51 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001329/0.1697, allocations: 15.86 kB / 0.8968 GB, free: 67.5 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.948e-05/0.1697, allocations: 11.97 kB / 0.8968 GB, free: 67.48 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001326/0.1699, allocations: 23.98 kB / 0.8968 GB, free: 67.46 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001281/0.17, allocations: 123.6 kB / 0.8969 GB, free: 67.34 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001851/0.1702, allocations: 148.7 kB / 0.8971 GB, free: 67.19 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.425e-05/0.1702, allocations: 35.8 kB / 0.8971 GB, free: 67.16 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.26e-05/0.1703, allocations: 55.59 kB / 0.8972 GB, free: 67.1 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.984e-05/0.1703, allocations: 0 / 0.8972 GB, free: 67.1 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.335e-05/0.1703, allocations: 4 kB / 0.8972 GB, free: 67.1 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.037e-05/0.1704, allocations: 31.86 kB / 0.8972 GB, free: 67.07 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.444e-05/0.1704, allocations: 67.44 kB / 0.8973 GB, free: 67 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001425/0.1706, allocations: 215.2 kB / 0.8975 GB, free: 66.79 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.1706, allocations: 0 / 0.8975 GB, free: 66.79 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.543e-06/0.1706, allocations: 0 / 0.8975 GB, free: 66.79 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.177e-06/0.1706, allocations: 4 kB / 0.8975 GB, free: 66.79 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0003402/0.171, allocations: 451.2 kB / 0.8979 GB, free: 66.29 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/0.171, allocations: 8.031 kB / 0.8979 GB, free: 66.29 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.272e-05/0.171, allocations: 62.66 kB / 0.898 GB, free: 66.21 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.679e-05/0.1711, allocations: 24.66 kB / 0.898 GB, free: 66.19 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000187/0.1713, allocations: 255.8 kB / 0.8982 GB, free: 65.9 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.178e-05/0.1713, allocations: 16.73 kB / 0.8983 GB, free: 65.89 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.148e-05/0.1713, allocations: 20.38 kB / 0.8983 GB, free: 65.87 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003391/0.1717, allocations: 348.9 kB / 0.8986 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.1717, allocations: 0 / 0.8986 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.541e-05/0.1717, allocations: 4 kB / 0.8986 GB, free: 65.51 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.547e-05/0.1717, allocations: 15.98 kB / 0.8986 GB, free: 65.5 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002402/0.172, allocations: 267.7 kB / 0.8989 GB, free: 65.23 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000804/0.1728, allocations: 1.093 MB / 0.8999 GB, free: 64.08 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 5.276e-05/0.1729, allocations: 169.1 kB / 0.9001 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.751e-05/0.1729, allocations: 80.14 kB / 0.9002 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.294e-05/0.1729, allocations: 79.28 kB / 0.9003 GB, free: 63.75 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.965e-05/0.1729, allocations: 118 kB / 0.9004 GB, free: 63.62 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/0.1729, allocations: 0 / 0.9004 GB, free: 63.62 MB / 0.6042 GB Notification: Performance of matching and sorting (n=0): time 7.366e-05/0.173, allocations: 57.39 kB / 0.9004 GB, free: 63.56 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.492e-05/0.173, allocations: 126.7 kB / 0.9005 GB, free: 63.42 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003546/0.1734, allocations: 0.4925 MB / 0.901 GB, free: 62.92 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.19e-06/0.1734, allocations: 29.7 kB / 0.9011 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 7.257e-05/0.1735, allocations: 171.8 kB / 0.9012 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.605e-06/0.1735, allocations: 0 / 0.9012 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.339e-05/0.1735, allocations: 17.72 kB / 0.9012 GB, free: 62.69 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.565e-05/0.1736, allocations: 338.8 kB / 0.9016 GB, free: 62.35 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.105e-05/0.1736, allocations: 55.94 kB / 0.9016 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.193e-05/0.1737, allocations: 94.83 kB / 0.9017 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.566e-05/0.1738, allocations: 118.7 kB / 0.9018 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.1738, allocations: 0 / 0.9018 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002222/0.1741, allocations: 197.1 kB / 0.902 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.1741, allocations: 7.938 kB / 0.902 GB, free: 61.83 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.1741, allocations: 0 / 0.902 GB, free: 61.83 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.1741, allocations: 7.984 kB / 0.902 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.941e-05/0.1742, allocations: 16 kB / 0.902 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.155e-06/0.1742, allocations: 11.92 kB / 0.902 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.888e-05/0.1743, allocations: 31.59 kB / 0.9021 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.421e-05/0.1743, allocations: 12.25 kB / 0.9021 GB, free: 61.75 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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.0001051/0.1744, allocations: 249 kB / 0.9023 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.864e-05/0.1745, allocations: 128.6 kB / 0.9024 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.248e-05/0.1745, allocations: 142.8 kB / 0.9026 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.199e-05/0.1746, allocations: 176.3 kB / 0.9028 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.429e-05/0.1746, allocations: 184.2 kB / 0.9029 GB, free: 60.85 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-05/0.1746, allocations: 180.3 kB / 0.9031 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001745/0.1748, allocations: 0.4893 MB / 0.9036 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.286e-05/0.1748, allocations: 104.9 kB / 0.9037 GB, free: 60.01 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.415e-05/0.1748, allocations: 105.8 kB / 0.9038 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.197e-05/0.1749, allocations: 188.1 kB / 0.904 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.233e-05/0.1749, allocations: 180.3 kB / 0.9041 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.053e-05/0.1749, allocations: 176.3 kB / 0.9043 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-05/0.1749, allocations: 184.2 kB / 0.9045 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.812e-05/0.175, allocations: 331.5 kB / 0.9048 GB, free: 58.81 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.7e-05/0.1751, allocations: 218 kB / 0.905 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.399e-05/0.1751, allocations: 188.2 kB / 0.9052 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.532e-05/0.1752, allocations: 109 kB / 0.9053 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.096e-05/0.1752, allocations: 176.3 kB / 0.9055 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.65e-05/0.1753, allocations: 108.9 kB / 0.9056 GB, free: 57.97 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002497/0.1755, allocations: 367 kB / 0.9059 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1755, allocations: 0 / 0.9059 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002261/0.1758, allocations: 28 kB / 0.9059 GB, free: 57.59 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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.0002817/0.1761, allocations: 0.837 MB / 0.9067 GB, free: 56.73 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001059/0.1762, allocations: 68.14 kB / 0.9068 GB, free: 56.66 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1762, allocations: 4.188 kB / 0.9068 GB, free: 56.66 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.313e-06/0.1762, allocations: 0 / 0.9068 GB, free: 56.66 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004305/0.1766, allocations: 0.5434 MB / 0.9073 GB, free: 56.1 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00223/0.1789, allocations: 3.341 MB / 0.9106 GB, free: 52.63 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001499/0.179, allocations: 0.783 MB / 0.9114 GB, free: 51.82 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 7.106e-05/0.1791, allocations: 49.52 kB / 0.9114 GB, free: 51.78 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.032e-05/0.1792, allocations: 59.42 kB / 0.9115 GB, free: 51.72 MB / 0.6042 GB Notification: Performance of SimCode: time 3.21e-07/0.1792, allocations: 0 / 0.9115 GB, free: 51.72 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2148/0.394, allocations: 4.269 MB / 0.9156 GB, free: 47.62 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001486/0.3942, allocations: 220.1 kB / 0.9159 GB, free: 47.37 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.881/2.275, allocations: 2.188 kB / 0.9159 GB, free: 47.37 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixMin_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixMin.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.pipe 2>&1)