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.MatrixGain.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.MatrixGain,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixGain",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.257/1.257, allocations: 251.5 MB / 266.7 MB, free: 11 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.0008883/0.0008884, allocations: 179.6 kB / 325.8 MB, free: 2.695 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.332/1.332, allocations: 205 MB / 0.576 GB, free: 20.95 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.0006689/0.000669, allocations: 87.61 kB / 0.6797 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002865/0.0002866, allocations: 10.47 kB / 0.7933 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1516/0.1519, allocations: 105.4 MB / 0.8962 GB, free: 68.08 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain): time 0.001247/0.1532, allocations: 1.222 MB / 0.8974 GB, free: 66.84 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002527/0.1534, allocations: 149.2 kB / 0.8976 GB, free: 66.7 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.234e-05/0.1535, allocations: 0 / 0.8976 GB, free: 66.7 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001449/0.1537, allocations: 51.86 kB / 0.8976 GB, free: 66.64 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.208e-05/0.1537, allocations: 31.83 kB / 0.8976 GB, free: 66.61 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 5.009e-05/0.1538, allocations: 15.98 kB / 0.8977 GB, free: 66.6 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.777e-05/0.1538, allocations: 83.75 kB / 0.8977 GB, free: 66.52 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.602e-05/0.1539, allocations: 36.14 kB / 0.8978 GB, free: 66.48 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.874e-05/0.154, allocations: 35.84 kB / 0.8978 GB, free: 66.45 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 9.387e-05/0.1541, allocations: 75.78 kB / 0.8979 GB, free: 66.37 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.89e-05/0.1541, allocations: 4 kB / 0.8979 GB, free: 66.37 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.324e-05/0.1541, allocations: 4 kB / 0.8979 GB, free: 66.36 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.805e-05/0.1542, allocations: 39.83 kB / 0.8979 GB, free: 66.32 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.433e-05/0.1542, allocations: 39.73 kB / 0.898 GB, free: 66.29 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 8.224e-05/0.1543, allocations: 107.6 kB / 0.8981 GB, free: 66.18 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.1543, allocations: 0 / 0.8981 GB, free: 66.18 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.373e-06/0.1543, allocations: 3.938 kB / 0.8981 GB, free: 66.18 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.457e-06/0.1544, allocations: 0 / 0.8981 GB, free: 66.18 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005344/0.1549, allocations: 463.1 kB / 0.8985 GB, free: 65.67 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.129e-05/0.1549, allocations: 8.031 kB / 0.8985 GB, free: 65.66 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.814e-05/0.155, allocations: 42.73 kB / 0.8986 GB, free: 65.61 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.435e-05/0.155, allocations: 12.75 kB / 0.8986 GB, free: 65.6 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001138/0.1551, allocations: 200.1 kB / 0.8988 GB, free: 65.37 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.194e-06/0.1551, allocations: 4.375 kB / 0.8988 GB, free: 65.36 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.35e-05/0.1551, allocations: 12.36 kB / 0.8988 GB, free: 65.35 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003195/0.1555, allocations: 171.7 kB / 0.8989 GB, free: 65.17 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.113e-06/0.1555, allocations: 3.938 kB / 0.8989 GB, free: 65.17 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.1555, allocations: 4 kB / 0.8989 GB, free: 65.16 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.997e-06/0.1555, allocations: 4 kB / 0.8989 GB, free: 65.16 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004836/0.156, allocations: 195.8 kB / 0.8991 GB, free: 64.97 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005895/0.1566, allocations: 0.528 MB / 0.8996 GB, free: 64.39 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003089/0.1569, allocations: 177.1 kB / 0.8998 GB, free: 64.2 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002181/0.1571, allocations: 109.7 kB / 0.8999 GB, free: 64.08 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.7e-05/0.1572, allocations: 7.938 kB / 0.8999 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.169e-05/0.1572, allocations: 34.55 kB / 0.9 GB, free: 64.03 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=8): time 1.192e-06/0.1572, allocations: 0 / 0.9 GB, free: 64.03 MB / 0.6042 GB Notification: Performance of matching and sorting (n=8): time 0.0007142/0.1579, allocations: 329.3 kB / 0.9003 GB, free: 63.7 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.959e-05/0.1579, allocations: 81.11 kB / 0.9004 GB, free: 63.61 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.908e-05/0.158, allocations: 161.1 kB / 0.9005 GB, free: 63.44 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.026e-05/0.158, allocations: 33.7 kB / 0.9005 GB, free: 63.4 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.013e-05/0.1581, allocations: 100.1 kB / 0.9006 GB, free: 63.3 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.379e-05/0.1581, allocations: 31.55 kB / 0.9007 GB, free: 63.27 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.233e-05/0.1581, allocations: 9.719 kB / 0.9007 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.856e-05/0.1582, allocations: 326.8 kB / 0.901 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002219/0.1584, allocations: 95.92 kB / 0.9011 GB, free: 62.83 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002106/0.1586, allocations: 113.6 kB / 0.9012 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004022/0.159, allocations: 209.5 kB / 0.9014 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.664e-06/0.159, allocations: 0 / 0.9014 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004487/0.1595, allocations: 237.8 kB / 0.9016 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.071e-05/0.1595, allocations: 4 kB / 0.9016 GB, free: 62.26 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.1595, allocations: 96 / 0.9016 GB, free: 62.26 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.056e-05/0.1595, allocations: 3.984 kB / 0.9016 GB, free: 62.26 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001833/0.1597, allocations: 51.89 kB / 0.9017 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.479e-06/0.1597, allocations: 0 / 0.9017 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001194/0.1599, allocations: 39.81 kB / 0.9017 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.845e-06/0.1599, allocations: 0 / 0.9017 GB, free: 62.17 MB / 0.6042 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 6.038e-05/0.1599, allocations: 137.8 kB / 0.9018 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.179e-05/0.16, allocations: 7.906 kB / 0.9018 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.286e-05/0.16, allocations: 20.23 kB / 0.9019 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.16, allocations: 4 kB / 0.9019 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.16, allocations: 7.938 kB / 0.9019 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.1601, allocations: 0 / 0.9019 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001913/0.1602, allocations: 225.5 kB / 0.9021 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.1603, allocations: 0 / 0.9021 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001583/0.1604, allocations: 55.89 kB / 0.9021 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.1604, allocations: 0 / 0.9021 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.127e-06/0.1604, allocations: 0 / 0.9021 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.1604, allocations: 4 kB / 0.9021 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.1605, allocations: 0 / 0.9021 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004655/0.1609, allocations: 414.4 kB / 0.9025 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.083e-05/0.161, allocations: 92.95 kB / 0.9026 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.796e-05/0.161, allocations: 0 / 0.9026 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001742/0.1612, allocations: 31.97 kB / 0.9027 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.656e-05/0.1612, allocations: 11.98 kB / 0.9027 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.214e-06/0.1612, allocations: 7.984 kB / 0.9027 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.985e-05/0.1613, allocations: 120.1 kB / 0.9028 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1613, allocations: 0 / 0.9028 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002313/0.1615, allocations: 20 kB / 0.9028 GB, free: 60.93 MB / 0.6042 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.0006233/0.1621, allocations: 0.9419 MB / 0.9037 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000451/0.1626, allocations: 207.8 kB / 0.9039 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.1626, allocations: 0 / 0.9039 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002197/0.1628, allocations: 107.9 kB / 0.904 GB, free: 59.65 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000304/0.1632, allocations: 19.89 kB / 0.9041 GB, free: 59.63 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001911/0.1651, allocations: 2.063 MB / 0.9061 GB, free: 57.48 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001072/0.1652, allocations: 0.7196 MB / 0.9068 GB, free: 56.73 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 6.81e-05/0.1653, allocations: 27.97 kB / 0.9068 GB, free: 56.7 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.324e-05/0.1653, allocations: 31.42 kB / 0.9068 GB, free: 56.67 MB / 0.6042 GB Notification: Performance of SimCode: time 2.1e-07/0.1653, allocations: 0 / 0.9068 GB, free: 56.67 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.344/0.5093, allocations: 2.279 MB / 0.9091 GB, free: 54.57 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001482/0.5095, allocations: 223.2 kB / 0.9093 GB, free: 54.31 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.891/2.401, allocations: 0 / 0.9093 GB, free: 54.31 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixGain_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixGain.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe 2>&1)