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.001826/0.001826, allocations: 114 kB / 17.12 MB, free: 6.008 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.002231/0.002231, allocations: 211.2 kB / 20.1 MB, free: 3.055 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.516/1.516, allocations: 230.6 MB / 253.5 MB, free: 15.1 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 1.055/1.055, allocations: 150 MB / 459.5 MB, free: 5.297 MB / 350.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.002064/0.002064, allocations: 73.58 kB / 0.6362 GB, free: 30.53 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2015/0.2036, allocations: 89.13 MB / 0.7232 GB, free: 4.016 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.MatrixGain): time 0.002229/0.2058, allocations: 0.7583 MB / 0.724 GB, free: 3.254 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001158/0.207, allocations: 0.8591 MB / 0.7248 GB, free: 2.383 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.008e-05/0.207, allocations: 0 / 0.7248 GB, free: 2.383 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.000226/0.2073, allocations: 55.8 kB / 0.7249 GB, free: 2.328 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.553e-05/0.2073, allocations: 39.83 kB / 0.7249 GB, free: 2.289 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 7.687e-05/0.2074, allocations: 19.97 kB / 0.7249 GB, free: 2.27 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001629/0.2076, allocations: 87.75 kB / 0.725 GB, free: 2.184 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001494/0.2077, allocations: 23.91 kB / 0.725 GB, free: 2.16 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 9.831e-05/0.2078, allocations: 43.89 kB / 0.7251 GB, free: 2.117 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001521/0.208, allocations: 83.78 kB / 0.7251 GB, free: 2.035 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.54e-05/0.208, allocations: 11.94 kB / 0.7251 GB, free: 2.023 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 1.581e-05/0.208, allocations: 8 kB / 0.7252 GB, free: 2.016 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 7.961e-05/0.2081, allocations: 43.88 kB / 0.7252 GB, free: 1.973 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 6.301e-05/0.2082, allocations: 51.67 kB / 0.7252 GB, free: 1.922 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002005/0.2084, allocations: 115.7 kB / 0.7254 GB, free: 1.809 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.2084, allocations: 0 / 0.7254 GB, free: 1.809 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.823e-06/0.2084, allocations: 0 / 0.7254 GB, free: 1.809 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.957e-06/0.2084, allocations: 3.984 kB / 0.7254 GB, free: 1.805 MB / 0.5294 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.0008919/0.2093, allocations: 466.8 kB / 0.7258 GB, free: 1.293 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.2093, allocations: 12.03 kB / 0.7258 GB, free: 1.281 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.879e-05/0.2094, allocations: 38.73 kB / 0.7259 GB, free: 1.234 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.553e-05/0.2094, allocations: 12.84 kB / 0.7259 GB, free: 1.223 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002214/0.2096, allocations: 205.1 kB / 0.7261 GB, free: 0.9844 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.307e-05/0.2096, allocations: 4.375 kB / 0.7261 GB, free: 0.9805 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.895e-05/0.2096, allocations: 8.375 kB / 0.7261 GB, free: 0.9727 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004395/0.2101, allocations: 155.6 kB / 0.7262 GB, free: 0.8125 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.2101, allocations: 3.938 kB / 0.7262 GB, free: 0.8086 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.525e-05/0.2101, allocations: 4 kB / 0.7262 GB, free: 0.8047 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.2101, allocations: 4 kB / 0.7262 GB, free: 0.8008 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005619/0.2107, allocations: 163.8 kB / 0.7264 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008828/0.2116, allocations: 0.5047 MB / 0.7269 GB, free: 84 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004626/0.212, allocations: 167 kB / 0.727 GB, free: 15.9 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003216/0.2123, allocations: 97.61 kB / 0.7271 GB, free: 15.8 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.18e-05/0.2124, allocations: 3.984 kB / 0.7271 GB, free: 15.8 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.779e-05/0.2124, allocations: 42.55 kB / 0.7272 GB, free: 15.75 MB / 0.545 GB Notification: Performance of pre-optimization done (n=8): time 1.323e-06/0.2124, allocations: 0 / 0.7272 GB, free: 15.75 MB / 0.545 GB Notification: Performance of matching and sorting (n=8): time 0.0009862/0.2134, allocations: 273.4 kB / 0.7274 GB, free: 15.47 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.666e-05/0.2135, allocations: 89.11 kB / 0.7275 GB, free: 15.37 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001797/0.2136, allocations: 166.2 kB / 0.7277 GB, free: 15.2 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.254e-05/0.2137, allocations: 25.7 kB / 0.7277 GB, free: 15.16 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.718e-05/0.2137, allocations: 100.1 kB / 0.7278 GB, free: 15.06 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.604e-05/0.2138, allocations: 31.73 kB / 0.7278 GB, free: 15.03 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.27e-05/0.2138, allocations: 21.72 kB / 0.7279 GB, free: 15 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001775/0.214, allocations: 326.8 kB / 0.7282 GB, free: 14.68 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002807/0.2143, allocations: 79.92 kB / 0.7282 GB, free: 14.6 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002752/0.2146, allocations: 89.64 kB / 0.7283 GB, free: 14.5 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005389/0.2151, allocations: 177.5 kB / 0.7285 GB, free: 14.32 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.2151, allocations: 0 / 0.7285 GB, free: 14.32 MB / 0.545 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005934/0.2157, allocations: 197.5 kB / 0.7287 GB, free: 14.12 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.2157, allocations: 8 kB / 0.7287 GB, free: 14.12 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/0.2157, allocations: 7.938 kB / 0.7287 GB, free: 14.11 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.2158, allocations: 0 / 0.7287 GB, free: 14.11 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002237/0.216, allocations: 43.89 kB / 0.7287 GB, free: 14.07 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.216, allocations: 0 / 0.7287 GB, free: 14.07 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000157/0.2161, allocations: 27.91 kB / 0.7288 GB, free: 14.04 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.378e-05/0.2162, allocations: 4 kB / 0.7288 GB, free: 14.04 MB / 0.545 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.0001343/0.2163, allocations: 129.8 kB / 0.7289 GB, free: 13.9 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.102e-05/0.2163, allocations: 15.94 kB / 0.7289 GB, free: 13.88 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.776e-05/0.2164, allocations: 16.25 kB / 0.7289 GB, free: 13.86 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.255e-06/0.2164, allocations: 0 / 0.7289 GB, free: 13.86 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.473e-06/0.2164, allocations: 0 / 0.7289 GB, free: 13.86 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.2164, allocations: 4 kB / 0.7289 GB, free: 13.86 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003279/0.2167, allocations: 225.5 kB / 0.7291 GB, free: 13.59 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.2167, allocations: 0 / 0.7291 GB, free: 13.59 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001857/0.2169, allocations: 43.89 kB / 0.7292 GB, free: 13.55 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.2169, allocations: 4 kB / 0.7292 GB, free: 13.54 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.081e-05/0.2169, allocations: 0 / 0.7292 GB, free: 13.54 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.2169, allocations: 4 kB / 0.7292 GB, free: 13.54 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.2169, allocations: 3.938 kB / 0.7292 GB, free: 13.54 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007223/0.2177, allocations: 383 kB / 0.7296 GB, free: 13.14 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.479e-05/0.2177, allocations: 85.06 kB / 0.7296 GB, free: 13.04 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.605e-05/0.2178, allocations: 7.984 kB / 0.7297 GB, free: 13.04 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002041/0.218, allocations: 31.95 kB / 0.7297 GB, free: 13 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.108e-05/0.218, allocations: 8 kB / 0.7297 GB, free: 13 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.165e-06/0.218, allocations: 3.984 kB / 0.7297 GB, free: 12.99 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001048/0.2181, allocations: 132.1 kB / 0.7298 GB, free: 12.86 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.2181, allocations: 0 / 0.7298 GB, free: 12.86 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002729/0.2184, allocations: 19.95 kB / 0.7298 GB, free: 12.84 MB / 0.545 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.001112/0.2195, allocations: 0.903 MB / 0.7307 GB, free: 11.91 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0006505/0.2202, allocations: 175.8 kB / 0.7309 GB, free: 11.74 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.2202, allocations: 0 / 0.7309 GB, free: 11.74 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002757/0.2205, allocations: 83.86 kB / 0.731 GB, free: 11.66 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003656/0.2208, allocations: 15.98 kB / 0.731 GB, free: 11.64 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003407/0.2242, allocations: 1.984 MB / 0.7329 GB, free: 9.566 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004421/0.2247, allocations: 0.708 MB / 0.7336 GB, free: 8.832 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 9.009e-05/0.2248, allocations: 27.97 kB / 0.7336 GB, free: 8.805 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.558e-05/0.2248, allocations: 35.36 kB / 0.7337 GB, free: 8.77 MB / 0.545 GB Notification: Performance of SimCode: time 3.71e-07/0.2248, allocations: 4 kB / 0.7337 GB, free: 8.766 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02608/0.2509, allocations: 2.689 MB / 0.7363 GB, free: 6.203 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.129/8.38, allocations: 17.52 kB / 0.7363 GB, free: 6.188 MB / 0.545 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.52202209411189] Failed to read output from testmodel.py, exit status != 0: 8.449071549111977 8.464940946 8.253601549 Calling exit ...