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.001375/0.001375, allocations: 119.2 kB / 19.7 MB, free: 2.188 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.001425/0.001425, allocations: 219.7 kB / 23 MB, free: 5.004 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.495/1.495, allocations: 230.6 MB / 256.8 MB, free: 8.004 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.9963/0.9963, allocations: 150 MB / 463.2 MB, free: 10.52 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.003102/0.003102, allocations: 70.67 kB / 0.6413 GB, free: 10.38 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1912/0.1943, allocations: 89.18 MB / 0.7284 GB, free: 1.266 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.MatrixGain): time 0.001995/0.1963, allocations: 0.7477 MB / 0.7291 GB, free: 0.5195 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001187/0.1975, allocations: 0.8588 MB / 0.73 GB, free: 15.65 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.516e-05/0.1976, allocations: 7.938 kB / 0.73 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0002229/0.1978, allocations: 59.78 kB / 0.73 GB, free: 15.58 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.592e-05/0.1978, allocations: 35.84 kB / 0.7301 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 7.823e-05/0.1979, allocations: 15.97 kB / 0.7301 GB, free: 15.53 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001621/0.1981, allocations: 95.73 kB / 0.7302 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001142/0.1982, allocations: 8 kB / 0.7302 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 8.53e-05/0.1983, allocations: 51.83 kB / 0.7302 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001586/0.1984, allocations: 91.77 kB / 0.7303 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.692e-05/0.1985, allocations: 8 kB / 0.7303 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 1.833e-05/0.1985, allocations: 8 kB / 0.7303 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.264e-05/0.1986, allocations: 39.84 kB / 0.7304 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 5.699e-05/0.1986, allocations: 39.73 kB / 0.7304 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001643/0.1988, allocations: 119.7 kB / 0.7305 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.1988, allocations: 4 kB / 0.7305 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.493e-06/0.1988, allocations: 0 / 0.7305 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.1988, allocations: 0 / 0.7305 GB, free: 15.07 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.0007893/0.1996, allocations: 397.7 kB / 0.7309 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.455e-05/0.1996, allocations: 8.031 kB / 0.7309 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.581e-05/0.1997, allocations: 30.75 kB / 0.7309 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.653e-05/0.1997, allocations: 16.84 kB / 0.731 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002261/0.1999, allocations: 158.2 kB / 0.7311 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.039e-05/0.1999, allocations: 384 / 0.7311 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.595e-05/0.2, allocations: 4.375 kB / 0.7311 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004271/0.2004, allocations: 151.9 kB / 0.7313 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.428e-05/0.2004, allocations: 7.922 kB / 0.7313 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.492e-05/0.2004, allocations: 8 kB / 0.7313 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.976e-06/0.2004, allocations: 3.984 kB / 0.7313 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005404/0.201, allocations: 171.8 kB / 0.7314 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008732/0.2018, allocations: 483.9 kB / 0.7319 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004045/0.2022, allocations: 157.1 kB / 0.7321 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002721/0.2025, allocations: 93.73 kB / 0.7321 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.851e-05/0.2025, allocations: 4 kB / 0.7322 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.915e-05/0.2026, allocations: 34.56 kB / 0.7322 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 1.122e-06/0.2026, allocations: 0 / 0.7322 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.0008423/0.2034, allocations: 285.3 kB / 0.7325 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.906e-05/0.2035, allocations: 77.11 kB / 0.7325 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001634/0.2036, allocations: 165.5 kB / 0.7327 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.131e-05/0.2037, allocations: 29.7 kB / 0.7327 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.723e-05/0.2037, allocations: 112 kB / 0.7328 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.112e-05/0.2038, allocations: 31.73 kB / 0.7329 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.973e-05/0.2038, allocations: 17.72 kB / 0.7329 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001588/0.204, allocations: 330.8 kB / 0.7332 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002493/0.2042, allocations: 75.92 kB / 0.7333 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002435/0.2045, allocations: 93.58 kB / 0.7333 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004571/0.2049, allocations: 169.6 kB / 0.7335 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.2049, allocations: 0 / 0.7335 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005424/0.2055, allocations: 213.4 kB / 0.7337 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.2055, allocations: 4 kB / 0.7337 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.2055, allocations: 0 / 0.7337 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.2055, allocations: 0 / 0.7337 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002084/0.2057, allocations: 36.42 kB / 0.7338 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.982e-06/0.2057, allocations: 0 / 0.7338 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001373/0.2059, allocations: 35.92 kB / 0.7338 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.166e-06/0.2059, allocations: 0 / 0.7338 GB, free: 11.51 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.0001192/0.206, allocations: 137.7 kB / 0.7339 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.699e-05/0.206, allocations: 7.953 kB / 0.7339 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.177e-05/0.2061, allocations: 20.33 kB / 0.7339 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.324e-06/0.2061, allocations: 7.984 kB / 0.734 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.2061, allocations: 0 / 0.734 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.2061, allocations: 0 / 0.734 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003043/0.2064, allocations: 204.5 kB / 0.7341 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.2064, allocations: 4 kB / 0.7342 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001742/0.2066, allocations: 35.89 kB / 0.7342 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.2066, allocations: 4 kB / 0.7342 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.215e-05/0.2066, allocations: 4 kB / 0.7342 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.2066, allocations: 0 / 0.7342 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.2066, allocations: 0 / 0.7342 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006139/0.2072, allocations: 382.5 kB / 0.7346 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.337e-05/0.2073, allocations: 11.94 kB / 0.7346 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.195e-05/0.2073, allocations: 4 kB / 0.7346 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001959/0.2075, allocations: 27.97 kB / 0.7346 GB, free: 10.6 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.952e-05/0.2075, allocations: 11.98 kB / 0.7346 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.718e-06/0.2075, allocations: 4 kB / 0.7346 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001091/0.2077, allocations: 120.1 kB / 0.7347 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2077, allocations: 3.938 kB / 0.7347 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002705/0.2079, allocations: 23.95 kB / 0.7348 GB, free: 10.44 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.0009488/0.2089, allocations: 0.9107 MB / 0.7356 GB, free: 9.5 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000556/0.2094, allocations: 167.8 kB / 0.7358 GB, free: 9.336 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.2094, allocations: 0 / 0.7358 GB, free: 9.336 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002574/0.2097, allocations: 91.86 kB / 0.7359 GB, free: 9.246 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003726/0.2101, allocations: 8 kB / 0.7359 GB, free: 9.238 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002746/0.2128, allocations: 1.984 MB / 0.7378 GB, free: 7.164 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003611/0.2132, allocations: 0.708 MB / 0.7385 GB, free: 6.43 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 9.775e-05/0.2133, allocations: 35.95 kB / 0.7386 GB, free: 6.395 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.33e-05/0.2134, allocations: 27.44 kB / 0.7386 GB, free: 6.367 MB / 0.5606 GB Notification: Performance of SimCode: time 9.22e-07/0.2134, allocations: 0 / 0.7386 GB, free: 6.367 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03078/0.2441, allocations: 2.829 MB / 0.7414 GB, free: 3.688 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.65/10.9, allocations: 64 / 0.7414 GB, free: 3.688 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: 14.941243433000636] Failed to read output from testmodel.py, exit status != 0: 10.999101827001141 11.012724131 10.81094085 Calling exit ...