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.001331/0.001331, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.00153/0.00153, allocations: 210.8 kB / 22.99 MB, free: 4.605 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.517/1.517, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] 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.9713/0.9713, allocations: 149.9 MB / 463.1 MB, free: 10.39 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.002333/0.002333, allocations: 66.08 kB / 0.6411 GB, free: 10.15 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1843/0.1866, allocations: 89.18 MB / 0.7282 GB, free: 1.051 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.MatrixGain): time 0.00196/0.1886, allocations: 0.7314 MB / 0.7289 GB, free: 328 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001103/0.1897, allocations: 0.8549 MB / 0.7298 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.443e-05/0.1898, allocations: 0 / 0.7298 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0002186/0.19, allocations: 59.75 kB / 0.7298 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.103e-05/0.19, allocations: 39.81 kB / 0.7298 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 8.426e-05/0.1901, allocations: 19.97 kB / 0.7299 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001413/0.1903, allocations: 83.83 kB / 0.7299 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001483/0.1904, allocations: 19.91 kB / 0.73 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 8.289e-05/0.1905, allocations: 47.83 kB / 0.73 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001697/0.1907, allocations: 83.78 kB / 0.7301 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.551e-05/0.1907, allocations: 4 kB / 0.7301 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 1.858e-05/0.1907, allocations: 8 kB / 0.7301 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.826e-05/0.1908, allocations: 39.89 kB / 0.7301 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 7.215e-05/0.1909, allocations: 35.8 kB / 0.7302 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001756/0.191, allocations: 123.7 kB / 0.7303 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.191, allocations: 3.984 kB / 0.7303 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.764e-06/0.191, allocations: 0 / 0.7303 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.1911, allocations: 0 / 0.7303 GB, free: 14.89 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.000812/0.1919, allocations: 389.7 kB / 0.7307 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/0.1919, allocations: 8.031 kB / 0.7307 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.451e-05/0.192, allocations: 46.67 kB / 0.7307 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.386e-05/0.192, allocations: 12.84 kB / 0.7307 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002005/0.1922, allocations: 138.4 kB / 0.7309 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.364e-05/0.1922, allocations: 4.375 kB / 0.7309 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.757e-05/0.1922, allocations: 4.375 kB / 0.7309 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003989/0.1926, allocations: 155.9 kB / 0.731 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.65e-05/0.1926, allocations: 3.938 kB / 0.731 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.364e-05/0.1927, allocations: 4 kB / 0.731 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.1927, allocations: 7.938 kB / 0.731 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005129/0.1932, allocations: 167.8 kB / 0.7312 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008305/0.194, allocations: 475.9 kB / 0.7317 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004008/0.1944, allocations: 165.1 kB / 0.7318 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000268/0.1947, allocations: 93.73 kB / 0.7319 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.662e-05/0.1947, allocations: 0 / 0.7319 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.275e-05/0.1947, allocations: 38.5 kB / 0.7319 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 1.022e-06/0.1947, allocations: 4 kB / 0.7319 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.0008717/0.1956, allocations: 281.4 kB / 0.7322 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.077e-05/0.1957, allocations: 81.05 kB / 0.7323 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001526/0.1958, allocations: 165.5 kB / 0.7324 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.173e-05/0.1958, allocations: 29.64 kB / 0.7325 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.16e-05/0.1959, allocations: 108.1 kB / 0.7326 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.012e-05/0.196, allocations: 27.75 kB / 0.7326 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.06e-05/0.196, allocations: 21.7 kB / 0.7326 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001603/0.1962, allocations: 330.8 kB / 0.7329 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002508/0.1964, allocations: 75.92 kB / 0.733 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002536/0.1967, allocations: 93.64 kB / 0.7331 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004925/0.1972, allocations: 173.6 kB / 0.7333 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.1972, allocations: 3.938 kB / 0.7333 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005554/0.1977, allocations: 197.5 kB / 0.7335 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.1977, allocations: 4 kB / 0.7335 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.1977, allocations: 0 / 0.7335 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.1978, allocations: 11.98 kB / 0.7335 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002/0.198, allocations: 31.91 kB / 0.7335 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.198, allocations: 4 kB / 0.7335 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001364/0.1981, allocations: 27.91 kB / 0.7335 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.748e-06/0.1981, allocations: 4 kB / 0.7335 GB, free: 11.34 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 0.0001089/0.1982, allocations: 129.8 kB / 0.7337 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.847e-05/0.1983, allocations: 11.95 kB / 0.7337 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.682e-05/0.1983, allocations: 16.34 kB / 0.7337 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.1983, allocations: 4 kB / 0.7337 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.1983, allocations: 0 / 0.7337 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.1983, allocations: 8.453 kB / 0.7337 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002946/0.1986, allocations: 184.6 kB / 0.7339 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.1986, allocations: 0 / 0.7339 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001836/0.1988, allocations: 35.95 kB / 0.7339 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.1988, allocations: 0 / 0.7339 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.007e-05/0.1988, allocations: 0 / 0.7339 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.1988, allocations: 4 kB / 0.7339 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.1988, allocations: 7.938 kB / 0.7339 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006424/0.1995, allocations: 390.5 kB / 0.7343 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.646e-05/0.1995, allocations: 7.953 kB / 0.7343 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.041e-05/0.1995, allocations: 3.938 kB / 0.7343 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001969/0.1997, allocations: 27.97 kB / 0.7343 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.965e-05/0.1998, allocations: 15.97 kB / 0.7343 GB, free: 10.44 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.795e-06/0.1998, allocations: 4 kB / 0.7343 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 9.711e-05/0.1999, allocations: 125.8 kB / 0.7345 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.1999, allocations: 0 / 0.7345 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002766/0.2001, allocations: 23.95 kB / 0.7345 GB, free: 10.29 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.0009647/0.2011, allocations: 0.9068 MB / 0.7354 GB, free: 9.355 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00054/0.2016, allocations: 164.1 kB / 0.7355 GB, free: 9.195 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.698e-06/0.2016, allocations: 4 kB / 0.7355 GB, free: 9.191 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002715/0.2019, allocations: 87.92 kB / 0.7356 GB, free: 9.105 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003594/0.2023, allocations: 19.97 kB / 0.7356 GB, free: 9.086 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002837/0.2051, allocations: 1.975 MB / 0.7376 GB, free: 7.02 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001082/0.2052, allocations: 104.2 kB / 0.7377 GB, free: 6.898 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 8.667e-05/0.2053, allocations: 23.97 kB / 0.7377 GB, free: 6.875 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.439e-05/0.2054, allocations: 35.42 kB / 0.7377 GB, free: 6.84 MB / 0.5606 GB Notification: Performance of SimCode: time 4.8e-07/0.2054, allocations: 0 / 0.7377 GB, free: 6.84 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03023/0.2356, allocations: 3.27 MB / 0.7409 GB, free: 3.719 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.13/11.37, allocations: 8.984 kB / 0.7409 GB, free: 3.715 MB / 0.5606 GB " [Timeout remaining time 649] (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: 15.349777654744685] Failed to read output from testmodel.py, exit status != 0: 11.47630543494597 11.500998443 11.305487282 Calling exit ...