Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Subtract.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.001363/0.001363, allocations: 112.9 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.003143/0.003143, allocations: 212.3 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.579/1.579, allocations: 230.6 MB / 253.5 MB, free: 15.08 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.9973/0.9973, allocations: 150 MB / 459.5 MB, free: 5.312 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.Subtract,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Subtract",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Validation.Subtract,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Subtract",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.002071/0.002071, allocations: 76.52 kB / 0.6362 GB, free: 30.39 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1937/0.1958, allocations: 89.13 MB / 0.7232 GB, free: 4.035 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Subtract): time 0.002212/0.198, allocations: 0.6987 MB / 0.7239 GB, free: 3.336 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001081/0.1991, allocations: 0.8319 MB / 0.7247 GB, free: 2.492 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.729e-05/0.1991, allocations: 0 / 0.7247 GB, free: 2.492 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.813e-05/0.1991, allocations: 3.938 kB / 0.7247 GB, free: 2.488 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.841e-05/0.1992, allocations: 7.938 kB / 0.7247 GB, free: 2.48 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 5.81e-05/0.1993, allocations: 11.98 kB / 0.7247 GB, free: 2.469 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 9.076e-05/0.1994, allocations: 43.84 kB / 0.7248 GB, free: 2.426 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.1995, allocations: 8 kB / 0.7248 GB, free: 2.418 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 7.554e-05/0.1995, allocations: 27.84 kB / 0.7248 GB, free: 2.391 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.493e-05/0.1996, allocations: 19.92 kB / 0.7248 GB, free: 2.371 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.693e-05/0.1996, allocations: 8 kB / 0.7248 GB, free: 2.363 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 1.399e-05/0.1996, allocations: 4 kB / 0.7248 GB, free: 2.359 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.767e-05/0.1996, allocations: 7.984 kB / 0.7248 GB, free: 2.352 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.534e-05/0.1997, allocations: 19.86 kB / 0.7249 GB, free: 2.332 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 9.402e-05/0.1998, allocations: 40.09 kB / 0.7249 GB, free: 2.293 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.1998, allocations: 0 / 0.7249 GB, free: 2.293 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.192e-06/0.1998, allocations: 0 / 0.7249 GB, free: 2.293 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.516e-06/0.1998, allocations: 0 / 0.7249 GB, free: 2.293 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005605/0.2003, allocations: 367.3 kB / 0.7253 GB, free: 1.883 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/0.2004, allocations: 12.03 kB / 0.7253 GB, free: 1.871 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.951e-05/0.2004, allocations: 34.75 kB / 0.7253 GB, free: 1.828 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.387e-05/0.2004, allocations: 4.922 kB / 0.7253 GB, free: 1.824 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000136/0.2006, allocations: 176.3 kB / 0.7255 GB, free: 1.613 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.488e-05/0.2006, allocations: 4.375 kB / 0.7255 GB, free: 1.609 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.431e-05/0.2006, allocations: 4.375 kB / 0.7255 GB, free: 1.605 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002641/0.2009, allocations: 70.09 kB / 0.7255 GB, free: 1.531 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.2009, allocations: 7.938 kB / 0.7256 GB, free: 1.523 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/0.2009, allocations: 4 kB / 0.7256 GB, free: 1.52 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.2009, allocations: 0 / 0.7256 GB, free: 1.52 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003278/0.2012, allocations: 63.92 kB / 0.7256 GB, free: 1.453 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003866/0.2016, allocations: 268.9 kB / 0.7259 GB, free: 1.141 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002189/0.2018, allocations: 62.47 kB / 0.7259 GB, free: 1.07 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001651/0.202, allocations: 36.92 kB / 0.726 GB, free: 1.031 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.325e-05/0.202, allocations: 0 / 0.726 GB, free: 1.031 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.211e-05/0.202, allocations: 38.56 kB / 0.726 GB, free: 0.9844 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 8.71e-07/0.202, allocations: 4 kB / 0.726 GB, free: 0.9805 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0005769/0.2026, allocations: 129.5 kB / 0.7261 GB, free: 0.8477 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.982e-05/0.2027, allocations: 51.41 kB / 0.7262 GB, free: 0.7852 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.27e-05/0.2028, allocations: 113.7 kB / 0.7263 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.816e-05/0.2028, allocations: 25.7 kB / 0.7263 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.102e-05/0.2028, allocations: 92.14 kB / 0.7264 GB, free: 0.5391 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.13e-05/0.2028, allocations: 11.89 kB / 0.7264 GB, free: 0.5273 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.569e-05/0.2029, allocations: 17.72 kB / 0.7264 GB, free: 0.5039 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001452/0.203, allocations: 310.8 kB / 0.7267 GB, free: 196 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001565/0.2032, allocations: 35.95 kB / 0.7268 GB, free: 160 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001426/0.2033, allocations: 31.97 kB / 0.7268 GB, free: 128 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002834/0.2036, allocations: 72.72 kB / 0.7269 GB, free: 52 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.2036, allocations: 0 / 0.7269 GB, free: 52 kB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003516/0.204, allocations: 93.62 kB / 0.727 GB, free: 15.95 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.204, allocations: 8 kB / 0.727 GB, free: 15.95 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.204, allocations: 3.938 kB / 0.727 GB, free: 15.94 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.204, allocations: 0 / 0.727 GB, free: 15.94 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001283/0.2041, allocations: 15.98 kB / 0.727 GB, free: 15.93 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.95e-06/0.2041, allocations: 0 / 0.727 GB, free: 15.93 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.913e-05/0.2042, allocations: 15.97 kB / 0.727 GB, free: 15.91 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.673e-06/0.2042, allocations: 0 / 0.727 GB, free: 15.91 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (3): * Single equations (assignments): 3 * 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 8.788e-05/0.2043, allocations: 117.8 kB / 0.7271 GB, free: 15.79 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.747e-05/0.2043, allocations: 7.953 kB / 0.7271 GB, free: 15.78 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.258e-05/0.2044, allocations: 7.906 kB / 0.7271 GB, free: 15.76 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.2044, allocations: 0 / 0.7271 GB, free: 15.76 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.2044, allocations: 0 / 0.7271 GB, free: 15.76 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.2044, allocations: 0 / 0.7271 GB, free: 15.76 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001818/0.2046, allocations: 173.5 kB / 0.7273 GB, free: 15.54 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.2046, allocations: 0 / 0.7273 GB, free: 15.54 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001235/0.2047, allocations: 23.98 kB / 0.7273 GB, free: 15.52 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.392e-06/0.2047, allocations: 0 / 0.7273 GB, free: 15.52 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.253e-06/0.2047, allocations: 4 kB / 0.7273 GB, free: 15.52 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.2047, allocations: 3.938 kB / 0.7273 GB, free: 15.51 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.2047, allocations: 4 kB / 0.7273 GB, free: 15.51 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004151/0.2051, allocations: 195.7 kB / 0.7275 GB, free: 15.3 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.703e-05/0.2052, allocations: 81.11 kB / 0.7276 GB, free: 15.2 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.465e-05/0.2052, allocations: 7.984 kB / 0.7276 GB, free: 15.2 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001113/0.2053, allocations: 15.98 kB / 0.7276 GB, free: 15.18 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.014e-05/0.2053, allocations: 3.984 kB / 0.7276 GB, free: 15.18 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.37e-06/0.2053, allocations: 7.938 kB / 0.7276 GB, free: 15.17 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.19e-05/0.2054, allocations: 83.28 kB / 0.7277 GB, free: 15.09 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.2054, allocations: 0 / 0.7277 GB, free: 15.09 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002321/0.2056, allocations: 8 kB / 0.7277 GB, free: 15.08 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (3): * Single equations (assignments): 3 * 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.0007439/0.2063, allocations: 0.728 MB / 0.7284 GB, free: 14.32 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003616/0.2067, allocations: 75.92 kB / 0.7285 GB, free: 14.25 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.2067, allocations: 0 / 0.7285 GB, free: 14.25 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001613/0.2069, allocations: 35.95 kB / 0.7285 GB, free: 14.21 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003128/0.2072, allocations: 8 kB / 0.7285 GB, free: 14.21 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004637/0.2077, allocations: 156.9 kB / 0.7287 GB, free: 14.02 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003138/0.208, allocations: 0.6846 MB / 0.7293 GB, free: 13.3 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.612e-05/0.208, allocations: 3.938 kB / 0.7294 GB, free: 13.3 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.802e-05/0.208, allocations: 19.44 kB / 0.7294 GB, free: 13.28 MB / 0.545 GB Notification: Performance of SimCode: time 3.71e-07/0.208, allocations: 0 / 0.7294 GB, free: 13.28 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02435/0.2324, allocations: 1.626 MB / 0.731 GB, free: 11.76 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.035/8.267, allocations: 16.86 kB / 0.731 GB, free: 11.75 MB / 0.545 GB " [Timeout remaining time 652] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Subtract.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Subtract.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Subtract_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_Subtract.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Subtract.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.333916647126898] Failed to read output from testmodel.py, exit status != 0: 8.338610909879208 8.364335616 8.159886543 Calling exit ...