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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00125/0.00125, allocations: 105.2 kB / 19.74 MB, free: 2.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001323/0.001323, allocations: 213.2 kB / 23.03 MB, free: 4.887 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.333/1.333, allocations: 230.6 MB / 256.8 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.903/0.903, allocations: 150 MB / 463.2 MB, free: 10.21 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001872/0.001872, allocations: 66.33 kB / 0.6413 GB, free: 9.832 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1558/0.1576, allocations: 89.18 MB / 0.7284 GB, free: 0.7344 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.MatrixGain): time 0.001769/0.1594, allocations: 0.7256 MB / 0.7291 GB, free: 8 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0009702/0.1604, allocations: 0.8471 MB / 0.7299 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.401e-05/0.1604, allocations: 3.938 kB / 0.7299 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001746/0.1606, allocations: 67.78 kB / 0.73 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.75e-05/0.1607, allocations: 31.83 kB / 0.73 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 6.591e-05/0.1607, allocations: 19.98 kB / 0.7301 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001236/0.1609, allocations: 91.73 kB / 0.7301 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.74e-05/0.161, allocations: 11.98 kB / 0.7302 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 7.446e-05/0.161, allocations: 47.83 kB / 0.7302 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001348/0.1612, allocations: 83.78 kB / 0.7303 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.208e-05/0.1612, allocations: 4 kB / 0.7303 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 1.643e-05/0.1612, allocations: 12 kB / 0.7303 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 6.379e-05/0.1613, allocations: 43.83 kB / 0.7303 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.804e-05/0.1613, allocations: 35.8 kB / 0.7304 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000156/0.1615, allocations: 119.7 kB / 0.7305 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.1615, allocations: 0 / 0.7305 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.422e-06/0.1615, allocations: 0 / 0.7305 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.478e-06/0.1615, allocations: 0 / 0.7305 GB, free: 14.59 MB / 0.5606 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.0007279/0.1622, allocations: 389.7 kB / 0.7309 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.281e-05/0.1622, allocations: 11.97 kB / 0.7309 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.675e-05/0.1623, allocations: 42.73 kB / 0.7309 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.755e-05/0.1623, allocations: 12.84 kB / 0.7309 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001705/0.1625, allocations: 142.4 kB / 0.7311 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.212e-05/0.1625, allocations: 12.31 kB / 0.7311 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.134e-05/0.1625, allocations: 384 / 0.7311 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003838/0.1629, allocations: 155.9 kB / 0.7312 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.1629, allocations: 7.938 kB / 0.7312 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.033e-05/0.1629, allocations: 0 / 0.7312 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.878e-06/0.1629, allocations: 0 / 0.7312 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000534/0.1635, allocations: 179.7 kB / 0.7314 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007666/0.1642, allocations: 468 kB / 0.7318 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003785/0.1646, allocations: 157.1 kB / 0.732 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002579/0.1649, allocations: 97.72 kB / 0.7321 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.585e-05/0.1649, allocations: 3.984 kB / 0.7321 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.744e-05/0.1649, allocations: 34.56 kB / 0.7321 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 1.203e-06/0.1649, allocations: 4 kB / 0.7321 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.0008562/0.1658, allocations: 277.4 kB / 0.7324 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.97e-05/0.1658, allocations: 81.11 kB / 0.7325 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001422/0.166, allocations: 169.5 kB / 0.7326 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.006e-05/0.166, allocations: 29.7 kB / 0.7327 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.83e-05/0.166, allocations: 108.1 kB / 0.7328 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.176e-05/0.1661, allocations: 23.75 kB / 0.7328 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.407e-05/0.1661, allocations: 21.72 kB / 0.7328 GB, free: 12 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001364/0.1663, allocations: 330.7 kB / 0.7331 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002428/0.1665, allocations: 75.92 kB / 0.7332 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002576/0.1668, allocations: 105.5 kB / 0.7333 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004794/0.1672, allocations: 169.6 kB / 0.7335 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.1672, allocations: 0 / 0.7335 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005345/0.1678, allocations: 205.4 kB / 0.7337 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.1678, allocations: 5.875 kB / 0.7337 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.1678, allocations: 0 / 0.7337 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.1678, allocations: 4 kB / 0.7337 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001952/0.168, allocations: 35.95 kB / 0.7337 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.168, allocations: 4 kB / 0.7337 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001365/0.1681, allocations: 31.91 kB / 0.7337 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.508e-06/0.1681, allocations: 4 kB / 0.7337 GB, free: 11.03 MB / 0.5606 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.649e-05/0.1682, allocations: 125.8 kB / 0.7339 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.893e-05/0.1683, allocations: 11.95 kB / 0.7339 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.05e-05/0.1683, allocations: 24.28 kB / 0.7339 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.1683, allocations: 0 / 0.7339 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.1684, allocations: 0 / 0.7339 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/0.1684, allocations: 8 kB / 0.7339 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000272/0.1686, allocations: 184.6 kB / 0.7341 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.1686, allocations: 0 / 0.7341 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001785/0.1688, allocations: 35.95 kB / 0.7341 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.1688, allocations: 0 / 0.7341 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.192e-05/0.1688, allocations: 4 kB / 0.7341 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.1688, allocations: 4 kB / 0.7341 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1688, allocations: 0 / 0.7341 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006336/0.1695, allocations: 382.9 kB / 0.7345 GB, free: 10.19 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.514e-05/0.1695, allocations: 11.94 kB / 0.7345 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.823e-05/0.1695, allocations: 7.938 kB / 0.7345 GB, free: 10.17 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001893/0.1697, allocations: 23.95 kB / 0.7345 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.013e-05/0.1697, allocations: 15.98 kB / 0.7345 GB, free: 10.13 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.696e-06/0.1697, allocations: 4 kB / 0.7345 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 8.875e-05/0.1698, allocations: 130.7 kB / 0.7347 GB, free: 10 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.1698, allocations: 0 / 0.7347 GB, free: 10 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002616/0.1701, allocations: 19.95 kB / 0.7347 GB, free: 9.98 MB / 0.5606 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.0009247/0.171, allocations: 0.9029 MB / 0.7356 GB, free: 9.051 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005464/0.1716, allocations: 175.8 kB / 0.7357 GB, free: 8.879 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.1716, allocations: 0 / 0.7357 GB, free: 8.879 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002566/0.1718, allocations: 87.86 kB / 0.7358 GB, free: 8.793 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003365/0.1722, allocations: 16 kB / 0.7358 GB, free: 8.777 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002735/0.1749, allocations: 1.977 MB / 0.7378 GB, free: 6.707 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001033/0.175, allocations: 92.19 kB / 0.7379 GB, free: 6.598 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 8.268e-05/0.1751, allocations: 31.95 kB / 0.7379 GB, free: 6.566 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.527e-05/0.1751, allocations: 31.44 kB / 0.7379 GB, free: 6.535 MB / 0.5606 GB Notification: Performance of SimCode: time 2.81e-07/0.1751, allocations: 0 / 0.7379 GB, free: 6.535 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02944/0.2046, allocations: 3.281 MB / 0.7411 GB, free: 3.414 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.03/10.24, allocations: 0 / 0.7411 GB, free: 3.414 MB / 0.5606 GB " [Timeout remaining time 650] (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: 13.675875382963568] Failed to read output from testmodel.py, exit status != 0: 10.335920709883794 10.350703213 10.186360352 Calling exit ...