Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MatrixGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001283/0.001283, allocations: 103.2 kB / 17.07 MB, free: 5.965 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001867/0.001868, allocations: 193.2 kB / 20.03 MB, free: 3.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.449/1.449, allocations: 222.9 MB / 245.7 MB, free: 4.207 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.099/1.099, allocations: 147.6 MB / 445.5 MB, free: 8.359 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Validation.MatrixGain,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_MatrixGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Validation.MatrixGain,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_MatrixGain",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002095/0.002095, allocations: 65.02 kB / 0.611 GB, free: 37.76 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1465/0.1486, allocations: 83.16 MB / 0.6922 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.MatrixGain): time 0.001874/0.1505, allocations: 0.7425 MB / 0.6929 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001051/0.1516, allocations: 0.8286 MB / 0.6937 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.605e-05/0.1517, allocations: 1.094 kB / 0.6937 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001847/0.1519, allocations: 61.48 kB / 0.6938 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.352e-05/0.1519, allocations: 34.23 kB / 0.6938 GB, free: 12.08 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 6.506e-05/0.152, allocations: 22.28 kB / 0.6938 GB, free: 12.06 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001378/0.1522, allocations: 86.56 kB / 0.6939 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001285/0.1523, allocations: 34.41 kB / 0.6939 GB, free: 11.99 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 6.853e-05/0.1524, allocations: 36.38 kB / 0.694 GB, free: 11.97 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001374/0.1525, allocations: 84.92 kB / 0.694 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.394e-05/0.1525, allocations: 7.906 kB / 0.694 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 1.831e-05/0.1526, allocations: 8.094 kB / 0.6941 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 6.817e-05/0.1526, allocations: 36.19 kB / 0.6941 GB, free: 11.9 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 5.902e-05/0.1527, allocations: 43.95 kB / 0.6941 GB, free: 11.87 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001521/0.1529, allocations: 116.5 kB / 0.6942 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 1.335e-05/0.1529, allocations: 1.312 kB / 0.6942 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.854e-06/0.1529, allocations: 7.938 kB / 0.6943 GB, free: 11.78 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.989e-06/0.1529, allocations: 0 / 0.6943 GB, free: 11.78 MB / 0.5137 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.0007695/0.1537, allocations: 465.5 kB / 0.6947 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.1537, allocations: 14.69 kB / 0.6947 GB, free: 11.33 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.587e-05/0.1538, allocations: 36.16 kB / 0.6947 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.916e-05/0.1538, allocations: 10.8 kB / 0.6948 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002007/0.154, allocations: 208.8 kB / 0.695 GB, free: 11.06 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.112e-05/0.154, allocations: 6 kB / 0.695 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.633e-05/0.1541, allocations: 4.5 kB / 0.695 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000405/0.1545, allocations: 152.7 kB / 0.6951 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.1545, allocations: 3.938 kB / 0.6951 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.287e-05/0.1545, allocations: 0 / 0.6951 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.489e-05/0.1545, allocations: 6.594 kB / 0.6951 GB, free: 10.94 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005625/0.1551, allocations: 167.4 kB / 0.6953 GB, free: 10.87 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008577/0.156, allocations: 0.4997 MB / 0.6958 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004201/0.1564, allocations: 158.1 kB / 0.6959 GB, free: 10.31 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000286/0.1567, allocations: 105.8 kB / 0.696 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.969e-05/0.1567, allocations: 5.312 kB / 0.696 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.747e-05/0.1568, allocations: 35.94 kB / 0.6961 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=8): time 1.192e-06/0.1568, allocations: 0 / 0.6961 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of matching and sorting (n=8): time 0.000921/0.1577, allocations: 281.7 kB / 0.6963 GB, free: 10.06 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.74e-05/0.1578, allocations: 82.47 kB / 0.6964 GB, free: 9.965 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001565/0.1579, allocations: 170 kB / 0.6966 GB, free: 9.832 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.138e-05/0.158, allocations: 27.08 kB / 0.6966 GB, free: 9.801 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.874e-05/0.158, allocations: 108 kB / 0.6967 GB, free: 9.695 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.862e-05/0.1581, allocations: 23.83 kB / 0.6967 GB, free: 9.676 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.37e-05/0.1581, allocations: 20.94 kB / 0.6967 GB, free: 9.656 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001748/0.1583, allocations: 326 kB / 0.697 GB, free: 9.332 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002917/0.1586, allocations: 75.36 kB / 0.6971 GB, free: 9.301 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002718/0.1589, allocations: 104.2 kB / 0.6972 GB, free: 9.238 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005199/0.1594, allocations: 172.4 kB / 0.6974 GB, free: 9.152 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.1594, allocations: 4 kB / 0.6974 GB, free: 9.148 MB / 0.5137 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005721/0.16, allocations: 198.2 kB / 0.6976 GB, free: 9.047 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.1601, allocations: 5.719 kB / 0.6976 GB, free: 9.047 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/0.1601, allocations: 0 / 0.6976 GB, free: 9.047 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.1601, allocations: 1.156 kB / 0.6976 GB, free: 9.047 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002187/0.1603, allocations: 47.14 kB / 0.6976 GB, free: 9.023 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.663e-06/0.1603, allocations: 1.125 kB / 0.6976 GB, free: 9.023 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000144/0.1605, allocations: 29.39 kB / 0.6977 GB, free: 9.008 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.193e-05/0.1605, allocations: 3.188 kB / 0.6977 GB, free: 9.008 MB / 0.5137 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.0001368/0.1606, allocations: 131.7 kB / 0.6978 GB, free: 8.879 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.195e-05/0.1607, allocations: 13.09 kB / 0.6978 GB, free: 8.871 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.605e-05/0.1607, allocations: 16.62 kB / 0.6978 GB, free: 8.855 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.1608, allocations: 5.375 kB / 0.6978 GB, free: 8.852 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.1608, allocations: 1.625 kB / 0.6978 GB, free: 8.852 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.1608, allocations: 3.938 kB / 0.6978 GB, free: 8.848 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003438/0.1611, allocations: 230.9 kB / 0.698 GB, free: 8.574 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.1611, allocations: 0 / 0.698 GB, free: 8.574 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001803/0.1613, allocations: 35.91 kB / 0.6981 GB, free: 8.539 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.105e-06/0.1613, allocations: 480 / 0.6981 GB, free: 8.539 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.642e-05/0.1614, allocations: 8 kB / 0.6981 GB, free: 8.531 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.1614, allocations: 3.984 kB / 0.6981 GB, free: 8.527 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.1614, allocations: 4 kB / 0.6981 GB, free: 8.523 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007076/0.1621, allocations: 374.6 kB / 0.6985 GB, free: 8.141 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.557e-05/0.1622, allocations: 88.95 kB / 0.6985 GB, free: 8.035 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.564e-05/0.1622, allocations: 12 kB / 0.6985 GB, free: 8.023 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002015/0.1624, allocations: 23.95 kB / 0.6986 GB, free: 8 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.768e-05/0.1625, allocations: 11.98 kB / 0.6986 GB, free: 7.988 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.086e-05/0.1625, allocations: 7.938 kB / 0.6986 GB, free: 7.98 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001199/0.1627, allocations: 119.2 kB / 0.6987 GB, free: 7.863 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1627, allocations: 0 / 0.6987 GB, free: 7.863 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002861/0.163, allocations: 16 kB / 0.6987 GB, free: 7.848 MB / 0.5137 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.001247/0.1642, allocations: 0.9185 MB / 0.6996 GB, free: 6.902 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0006122/0.1648, allocations: 167.8 kB / 0.6998 GB, free: 6.738 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1649, allocations: 0 / 0.6998 GB, free: 6.738 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002837/0.1651, allocations: 95.86 kB / 0.6999 GB, free: 6.645 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003685/0.1655, allocations: 11.98 kB / 0.6999 GB, free: 6.633 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002915/0.1684, allocations: 1.965 MB / 0.7018 GB, free: 4.574 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003925/0.1689, allocations: 0.7196 MB / 0.7025 GB, free: 3.828 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 8.875e-05/0.169, allocations: 27.91 kB / 0.7025 GB, free: 3.801 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.983e-05/0.169, allocations: 35.42 kB / 0.7026 GB, free: 3.766 MB / 0.5137 GB Notification: Performance of SimCode: time 8.01e-07/0.1691, allocations: 0 / 0.7026 GB, free: 3.766 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02185/0.1909, allocations: 2.695 MB / 0.7052 GB, free: 1.168 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.951/8.142, allocations: 11.22 kB / 0.7052 GB, free: 1.16 MB / 0.5137 GB " [Timeout remaining time 652] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MatrixGain.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MatrixGain_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_MatrixGain.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.018449396127835] Failed to read output from testmodel.py, exit status != 0: 8.478482606820762 8.230051184 8.073584952 Calling exit ...