Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Derivative.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.001282/0.001282, allocations: 113.8 kB / 17.12 MB, free: 5.945 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.001449/0.001449, allocations: 208 kB / 20.09 MB, free: 2.996 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 / 253.5 MB, free: 15.13 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.9877/0.9877, allocations: 150 MB / 459.5 MB, free: 5.707 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.Derivative,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Derivative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Validation.Derivative,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Derivative",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.002135/0.002135, allocations: 74.08 kB / 0.6362 GB, free: 30.3 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1759/0.1781, allocations: 89.14 MB / 0.7232 GB, free: 4.059 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.002807/0.1809, allocations: 1.047 MB / 0.7242 GB, free: 3.008 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001658/0.1825, allocations: 1.038 MB / 0.7253 GB, free: 1.957 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001206/0.1827, allocations: 4 kB / 0.7253 GB, free: 1.953 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001491/0.1828, allocations: 23.73 kB / 0.7253 GB, free: 1.93 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.866e-05/0.1829, allocations: 19.78 kB / 0.7253 GB, free: 1.91 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003483/0.1832, allocations: 71.86 kB / 0.7254 GB, free: 1.84 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002366/0.1835, allocations: 180 kB / 0.7255 GB, free: 1.664 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001876/0.1836, allocations: 64.27 kB / 0.7256 GB, free: 1.598 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001204/0.1838, allocations: 79.69 kB / 0.7257 GB, free: 1.516 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001137/0.1839, allocations: 75.62 kB / 0.7258 GB, free: 1.441 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.107e-05/0.1839, allocations: 16 kB / 0.7258 GB, free: 1.426 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 9.088e-05/0.184, allocations: 24 kB / 0.7258 GB, free: 1.402 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.831e-05/0.184, allocations: 43.83 kB / 0.7258 GB, free: 1.359 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 9.153e-05/0.1841, allocations: 75.59 kB / 0.7259 GB, free: 1.285 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002956/0.1844, allocations: 191.1 kB / 0.7261 GB, free: 1.098 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.1844, allocations: 0 / 0.7261 GB, free: 1.098 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.493e-06/0.1844, allocations: 0 / 0.7261 GB, free: 1.098 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.037e-06/0.1844, allocations: 0 / 0.7261 GB, free: 1.098 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0008742/0.1853, allocations: 492.5 kB / 0.7266 GB, free: 0.5664 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/0.1854, allocations: 12.03 kB / 0.7266 GB, free: 0.5547 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.417e-05/0.1854, allocations: 46.73 kB / 0.7266 GB, free: 0.5 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001149/0.1855, allocations: 28.78 kB / 0.7266 GB, free: 484 kB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003425/0.1859, allocations: 220.6 kB / 0.7269 GB, free: 224 kB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.25e-05/0.1859, allocations: 12.38 kB / 0.7269 GB, free: 212 kB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.854e-05/0.1859, allocations: 16.38 kB / 0.7269 GB, free: 196 kB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003542/0.1863, allocations: 166.5 kB / 0.727 GB, free: 24 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.1863, allocations: 0 / 0.727 GB, free: 24 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.912e-05/0.1863, allocations: 4 kB / 0.727 GB, free: 20 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.772e-06/0.1863, allocations: 4 kB / 0.727 GB, free: 16 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003384/0.1867, allocations: 111.8 kB / 0.7272 GB, free: 15.91 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001218/0.1879, allocations: 0.539 MB / 0.7277 GB, free: 15.32 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004174/0.1883, allocations: 130.6 kB / 0.7278 GB, free: 15.18 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001961/0.1885, allocations: 84.86 kB / 0.7279 GB, free: 15.09 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.864e-05/0.1885, allocations: 3.938 kB / 0.7279 GB, free: 15.09 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002574/0.1888, allocations: 119.3 kB / 0.728 GB, free: 14.96 MB / 0.545 GB Notification: Performance of pre-optimization done (n=19): time 1.472e-06/0.1888, allocations: 0 / 0.728 GB, free: 14.96 MB / 0.545 GB Notification: Performance of matching and sorting (n=19): time 0.0006256/0.1894, allocations: 231.3 kB / 0.7282 GB, free: 14.73 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.627e-05/0.1895, allocations: 55.41 kB / 0.7283 GB, free: 14.66 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001697/0.1896, allocations: 159.1 kB / 0.7284 GB, free: 14.5 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.383e-05/0.1897, allocations: 33.7 kB / 0.7285 GB, free: 14.46 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.653e-05/0.1898, allocations: 116.5 kB / 0.7286 GB, free: 14.34 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.747e-05/0.1898, allocations: 71.41 kB / 0.7286 GB, free: 14.27 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.726e-05/0.1899, allocations: 41.7 kB / 0.7287 GB, free: 14.23 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001704/0.1901, allocations: 326.8 kB / 0.729 GB, free: 13.9 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002169/0.1903, allocations: 67.95 kB / 0.7291 GB, free: 13.83 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000228/0.1905, allocations: 92.92 kB / 0.7291 GB, free: 13.74 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003673/0.1909, allocations: 148.5 kB / 0.7293 GB, free: 13.59 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.1909, allocations: 4 kB / 0.7293 GB, free: 13.59 MB / 0.545 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000536/0.1914, allocations: 213.5 kB / 0.7295 GB, free: 13.37 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/0.1914, allocations: 5.562 kB / 0.7295 GB, free: 13.37 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.1914, allocations: 0 / 0.7295 GB, free: 13.37 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.1915, allocations: 3.938 kB / 0.7295 GB, free: 13.36 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002264/0.1917, allocations: 39.92 kB / 0.7295 GB, free: 13.32 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.846e-06/0.1917, allocations: 3.984 kB / 0.7295 GB, free: 13.32 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001536/0.1919, allocations: 31.91 kB / 0.7296 GB, free: 13.29 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.663e-05/0.1919, allocations: 8 kB / 0.7296 GB, free: 13.28 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: 3 ($whenCondition1,lesThr.lesHys.y,$PRE.lesThr.lesHys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * 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.0001356/0.192, allocations: 129.7 kB / 0.7297 GB, free: 13.14 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.691e-05/0.192, allocations: 11.91 kB / 0.7297 GB, free: 13.13 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004609/0.1925, allocations: 194.7 kB / 0.7299 GB, free: 12.94 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.1925, allocations: 4 kB / 0.7299 GB, free: 12.93 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.1925, allocations: 0 / 0.7299 GB, free: 12.93 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.1925, allocations: 0 / 0.7299 GB, free: 12.93 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001108/0.1936, allocations: 0.5909 MB / 0.7305 GB, free: 12.27 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.878e-06/0.1936, allocations: 0 / 0.7305 GB, free: 12.27 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003097/0.1939, allocations: 39.92 kB / 0.7305 GB, free: 12.23 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.253e-05/0.1939, allocations: 7.938 kB / 0.7305 GB, free: 12.22 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.515e-05/0.194, allocations: 3.984 kB / 0.7305 GB, free: 12.22 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.478e-06/0.194, allocations: 4 kB / 0.7305 GB, free: 12.21 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.029e-06/0.194, allocations: 7.938 kB / 0.7305 GB, free: 12.21 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009724/0.195, allocations: 382.2 kB / 0.7309 GB, free: 11.8 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.106e-05/0.195, allocations: 105 kB / 0.731 GB, free: 11.68 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.016e-05/0.1951, allocations: 8 kB / 0.731 GB, free: 11.67 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000269/0.1954, allocations: 11.98 kB / 0.731 GB, free: 11.66 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001096/0.1955, allocations: 23.91 kB / 0.7311 GB, free: 11.64 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.843e-05/0.1955, allocations: 12 kB / 0.7311 GB, free: 11.62 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001458/0.1956, allocations: 111.2 kB / 0.7312 GB, free: 11.52 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.6e-07/0.1956, allocations: 0 / 0.7312 GB, free: 11.52 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0005373/0.1962, allocations: 47.89 kB / 0.7312 GB, free: 11.47 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (der1.x,intWitRes.y,der2.x) * Number of discrete variables: 2 ($whenCondition1,lesThr.lesHys.y) * Number of discrete states: 1 (lesThr.lesHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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.001487/0.1977, allocations: 0.9138 MB / 0.7321 GB, free: 10.51 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0007169/0.1984, allocations: 151.8 kB / 0.7323 GB, free: 10.36 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/0.1984, allocations: 4.062 kB / 0.7323 GB, free: 10.36 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003221/0.1987, allocations: 83.89 kB / 0.7323 GB, free: 10.28 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000605/0.1993, allocations: 28.12 kB / 0.7324 GB, free: 10.25 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00479/0.2041, allocations: 2.144 MB / 0.7345 GB, free: 7.98 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004294/0.2045, allocations: 0.7283 MB / 0.7352 GB, free: 7.223 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001181/0.2046, allocations: 13.42 kB / 0.7352 GB, free: 7.211 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001626/0.2048, allocations: 59.36 kB / 0.7352 GB, free: 7.152 MB / 0.545 GB Notification: Performance of SimCode: time 7.81e-07/0.2048, allocations: 0 / 0.7352 GB, free: 7.152 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03217/0.237, allocations: 3.627 MB / 0.7388 GB, free: 3.656 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.282/8.519, allocations: 13.44 kB / 0.7388 GB, free: 3.645 MB / 0.545 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Derivative.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Derivative.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Derivative_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-07 --interface-type ModelExchange --solver CVode --output-interval 0.004 IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Derivative.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Derivative.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.581693772925064] Failed to read output from testmodel.py, exit status != 0: 8.59704610798508 8.620079702 8.431298445 Calling exit ...