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.001375/0.001375, allocations: 117.8 kB / 19.69 MB, free: 2.199 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.001513/0.001513, allocations: 225 kB / 23.01 MB, free: 5.043 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.496/1.496, allocations: 230.6 MB / 256.8 MB, free: 8.008 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.9617/0.9617, 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.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.002065/0.002065, allocations: 70.77 kB / 0.6413 GB, free: 10.38 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1817/0.1837, allocations: 89.16 MB / 0.7284 GB, free: 1.277 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.002446/0.1862, allocations: 1.052 MB / 0.7294 GB, free: 228 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001681/0.1879, allocations: 1.05 MB / 0.7305 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000118/0.188, allocations: 4 kB / 0.7305 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001528/0.1881, allocations: 19.75 kB / 0.7305 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.835e-05/0.1882, allocations: 23.72 kB / 0.7305 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003504/0.1886, allocations: 79.84 kB / 0.7306 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002304/0.1888, allocations: 176 kB / 0.7307 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000182/0.189, allocations: 67.17 kB / 0.7308 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000119/0.1891, allocations: 75.7 kB / 0.7309 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000124/0.1892, allocations: 83.61 kB / 0.731 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.212e-05/0.1892, allocations: 16 kB / 0.731 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 5.809e-05/0.1893, allocations: 20 kB / 0.731 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.916e-05/0.1893, allocations: 43.89 kB / 0.731 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 7.739e-05/0.1894, allocations: 75.53 kB / 0.7311 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002813/0.1897, allocations: 187.1 kB / 0.7313 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.1897, allocations: 0 / 0.7313 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.383e-06/0.1897, allocations: 0 / 0.7313 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.372e-06/0.1897, allocations: 4 kB / 0.7313 GB, free: 14.3 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0009542/0.1907, allocations: 430.3 kB / 0.7317 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.986e-05/0.1907, allocations: 8.031 kB / 0.7317 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.183e-05/0.1908, allocations: 50.73 kB / 0.7318 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001168/0.1909, allocations: 20.8 kB / 0.7318 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003369/0.1912, allocations: 167.3 kB / 0.7319 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.479e-05/0.1913, allocations: 8.375 kB / 0.7319 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.686e-05/0.1913, allocations: 20.38 kB / 0.732 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003375/0.1916, allocations: 158.5 kB / 0.7321 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.1916, allocations: 4 kB / 0.7321 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.681e-05/0.1917, allocations: 4 kB / 0.7321 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.234e-06/0.1917, allocations: 4 kB / 0.7321 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002785/0.1919, allocations: 104.5 kB / 0.7322 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001172/0.1931, allocations: 0.4992 MB / 0.7327 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004067/0.1935, allocations: 136.2 kB / 0.7328 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001782/0.1937, allocations: 84.86 kB / 0.7329 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.633e-05/0.1937, allocations: 3.938 kB / 0.7329 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002577/0.194, allocations: 127.3 kB / 0.733 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=19): time 3.407e-06/0.194, allocations: 3.984 kB / 0.7331 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of matching and sorting (n=19): time 0.000602/0.1946, allocations: 227.8 kB / 0.7333 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.859e-05/0.1946, allocations: 59.41 kB / 0.7333 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001781/0.1948, allocations: 157.5 kB / 0.7335 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.917e-05/0.1949, allocations: 33.7 kB / 0.7335 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001014/0.195, allocations: 112.5 kB / 0.7336 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.518e-05/0.195, allocations: 71.38 kB / 0.7337 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.009e-05/0.1951, allocations: 41.7 kB / 0.7337 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001756/0.1953, allocations: 330.8 kB / 0.734 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000204/0.1955, allocations: 63.97 kB / 0.7341 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002932/0.1958, allocations: 85.66 kB / 0.7342 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003839/0.1962, allocations: 151.3 kB / 0.7343 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.1962, allocations: 4 kB / 0.7343 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005265/0.1967, allocations: 208.3 kB / 0.7345 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.62e-05/0.1967, allocations: 8 kB / 0.7345 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.827e-06/0.1967, allocations: 0 / 0.7345 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.189e-05/0.1967, allocations: 0 / 0.7345 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002118/0.197, allocations: 47.91 kB / 0.7346 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.008e-05/0.197, allocations: 0 / 0.7346 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001523/0.1971, allocations: 31.89 kB / 0.7346 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.93e-05/0.1971, allocations: 8 kB / 0.7346 GB, free: 10.69 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: 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.0001551/0.1973, allocations: 129.7 kB / 0.7347 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.704e-05/0.1973, allocations: 11.91 kB / 0.7348 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004461/0.1978, allocations: 192 kB / 0.7349 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.1978, allocations: 4 kB / 0.7349 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.1978, allocations: 4 kB / 0.7349 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.1978, allocations: 0 / 0.7349 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008995/0.1987, allocations: 0.5643 MB / 0.7355 GB, free: 9.703 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.1987, allocations: 0 / 0.7355 GB, free: 9.703 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001848/0.1989, allocations: 43.91 kB / 0.7355 GB, free: 9.66 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.961e-06/0.1989, allocations: 3.938 kB / 0.7355 GB, free: 9.656 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.622e-05/0.1989, allocations: 4 kB / 0.7355 GB, free: 9.652 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.559e-06/0.1989, allocations: 4 kB / 0.7355 GB, free: 9.648 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.1989, allocations: 0 / 0.7355 GB, free: 9.648 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006172/0.1995, allocations: 388.6 kB / 0.7359 GB, free: 9.234 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.949e-05/0.1995, allocations: 27.78 kB / 0.7359 GB, free: 9.207 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.962e-05/0.1996, allocations: 8 kB / 0.736 GB, free: 9.199 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001536/0.1997, allocations: 12.03 kB / 0.736 GB, free: 9.188 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.272e-05/0.1998, allocations: 27.89 kB / 0.736 GB, free: 9.16 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.583e-05/0.1998, allocations: 8 kB / 0.736 GB, free: 9.152 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001046/0.1999, allocations: 123.2 kB / 0.7361 GB, free: 9.031 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.1999, allocations: 3.938 kB / 0.7361 GB, free: 9.027 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002947/0.2002, allocations: 31.95 kB / 0.7361 GB, free: 8.996 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (der2.x,intWitRes.y,der1.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.000986/0.2012, allocations: 0.922 MB / 0.7371 GB, free: 8.031 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004276/0.2016, allocations: 155.8 kB / 0.7372 GB, free: 7.879 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.678e-06/0.2016, allocations: 4.062 kB / 0.7372 GB, free: 7.875 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001847/0.2018, allocations: 79.89 kB / 0.7373 GB, free: 7.797 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003737/0.2022, allocations: 27.92 kB / 0.7373 GB, free: 7.77 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002911/0.2051, allocations: 2.119 MB / 0.7394 GB, free: 5.531 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003571/0.2055, allocations: 0.7282 MB / 0.7401 GB, free: 4.773 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 8.281e-05/0.2055, allocations: 17.42 kB / 0.7401 GB, free: 4.754 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001155/0.2057, allocations: 51.42 kB / 0.7402 GB, free: 4.703 MB / 0.5606 GB Notification: Performance of SimCode: time 8.72e-07/0.2057, allocations: 0 / 0.7402 GB, free: 4.703 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03152/0.2372, allocations: 3.844 MB / 0.7439 GB, free: 1.008 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.13/11.37, allocations: 4.484 kB / 0.7439 GB, free: 1.008 MB / 0.5606 GB " [Timeout remaining time 649] (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: 15.268528869000875] Failed to read output from testmodel.py, exit status != 0: 11.486554813000112 11.51300103 11.318513669 Calling exit ...