Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.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.001392/0.001392, allocations: 119 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.001457/0.001457, allocations: 222.2 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.48/1.48, allocations: 230.6 MB / 256.8 MB, free: 7.984 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.9781/0.9781, allocations: 150 MB / 463.2 MB, free: 10.46 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.Discrete.Validation.FirstOrderHold,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Discrete_Validation_FirstOrderHold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Discrete_Validation_FirstOrderHold",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.001985/0.001985, allocations: 66.62 kB / 0.6413 GB, free: 10.33 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1847/0.1867, allocations: 89.17 MB / 0.7283 GB, free: 1.238 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold): time 0.001877/0.1885, allocations: 0.6814 MB / 0.729 GB, free: 0.5547 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001604/0.1901, allocations: 1.12 MB / 0.7301 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.127e-05/0.1902, allocations: 3.938 kB / 0.7301 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.997e-05/0.1902, allocations: 3.938 kB / 0.7301 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 8.396e-05/0.1903, allocations: 7.938 kB / 0.7301 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003455/0.1907, allocations: 55.81 kB / 0.7302 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001222/0.1908, allocations: 67.91 kB / 0.7302 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001017/0.1909, allocations: 0 / 0.7302 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 9.887e-05/0.191, allocations: 35.84 kB / 0.7303 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 8.2e-05/0.1911, allocations: 39.83 kB / 0.7303 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.557e-05/0.1911, allocations: 8 kB / 0.7303 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 7.668e-05/0.1912, allocations: 23.98 kB / 0.7303 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.551e-05/0.1912, allocations: 12 kB / 0.7303 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.477e-05/0.1912, allocations: 27.84 kB / 0.7304 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001872/0.1914, allocations: 79.97 kB / 0.7304 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.1914, allocations: 4 kB / 0.7304 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.142e-06/0.1914, allocations: 0 / 0.7304 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.1914, allocations: 4 kB / 0.7305 GB, free: 15.05 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0006608/0.1921, allocations: 310.1 kB / 0.7307 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.524e-05/0.1921, allocations: 12.03 kB / 0.7308 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.266e-05/0.1922, allocations: 34.75 kB / 0.7308 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.907e-05/0.1923, allocations: 4.938 kB / 0.7308 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001204/0.1924, allocations: 122.4 kB / 0.7309 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.192e-05/0.1924, allocations: 4.375 kB / 0.7309 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.096e-05/0.1924, allocations: 12.38 kB / 0.7309 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002231/0.1926, allocations: 79.19 kB / 0.731 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/0.1927, allocations: 3.938 kB / 0.731 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.431e-05/0.1927, allocations: 4 kB / 0.731 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.1927, allocations: 3.938 kB / 0.731 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002124/0.1929, allocations: 51.95 kB / 0.7311 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000535/0.1934, allocations: 287.7 kB / 0.7313 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001968/0.1936, allocations: 74.53 kB / 0.7314 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001125/0.1937, allocations: 40.83 kB / 0.7314 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.048e-05/0.1938, allocations: 3.984 kB / 0.7315 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003394/0.1941, allocations: 99.42 kB / 0.7315 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=10): time 1.273e-06/0.1941, allocations: 0 / 0.7315 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10): time 0.0004873/0.1946, allocations: 165.6 kB / 0.7317 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.129e-05/0.1946, allocations: 59.39 kB / 0.7318 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.517e-05/0.1947, allocations: 113.8 kB / 0.7319 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.625e-05/0.1948, allocations: 29.7 kB / 0.7319 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.792e-05/0.1948, allocations: 88.38 kB / 0.732 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.229e-05/0.1948, allocations: 27.78 kB / 0.732 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.948e-05/0.1949, allocations: 29.72 kB / 0.732 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001629/0.1951, allocations: 322.8 kB / 0.7323 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001324/0.1952, allocations: 35.97 kB / 0.7324 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001374/0.1953, allocations: 62.55 kB / 0.7324 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002409/0.1956, allocations: 103.9 kB / 0.7325 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.1956, allocations: 0 / 0.7325 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003138/0.1959, allocations: 145.6 kB / 0.7327 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.1959, allocations: 8 kB / 0.7327 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.1959, allocations: 0 / 0.7327 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.702e-05/0.1959, allocations: 4 kB / 0.7327 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001398/0.1961, allocations: 23.97 kB / 0.7327 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.1961, allocations: 3.938 kB / 0.7327 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.007e-05/0.1961, allocations: 7.953 kB / 0.7327 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.362e-05/0.1962, allocations: 8 kB / 0.7327 GB, free: 12.5 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 12 (firOrdHol.firstTrigger,$PRE.firOrdHol.firstTrigger,firOrdHol.sampleTrigger,$whenCondition1,firOrdHol.c,$PRE.firOrdHol.c,firOrdHol.pre_uSample,$PRE.firOrdHol.pre_uSample,firOrdHol.uSample,$PRE.firOrdHol.uSample,firOrdHol.tSample,$PRE.firOrdHol.tSample) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * 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.0001164/0.1963, allocations: 133.8 kB / 0.7329 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.332e-05/0.1963, allocations: 3.984 kB / 0.7329 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003448/0.1966, allocations: 149.9 kB / 0.733 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.1966, allocations: 0 / 0.733 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.9e-06/0.1966, allocations: 480 / 0.733 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.1966, allocations: 0 / 0.733 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005383/0.1972, allocations: 389.6 kB / 0.7334 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.1972, allocations: 4 kB / 0.7334 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.174e-05/0.1973, allocations: 15.98 kB / 0.7334 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.1973, allocations: 0 / 0.7334 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.698e-06/0.1973, allocations: 0 / 0.7334 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.1973, allocations: 7.875 kB / 0.7334 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.1973, allocations: 4 kB / 0.7334 GB, free: 11.74 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003471/0.1976, allocations: 239.4 kB / 0.7336 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.091e-05/0.1976, allocations: 4 kB / 0.7336 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.956e-05/0.1976, allocations: 3.938 kB / 0.7336 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001057/0.1977, allocations: 11.98 kB / 0.7337 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.872e-05/0.1978, allocations: 11.92 kB / 0.7337 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.476e-06/0.1978, allocations: 4 kB / 0.7337 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.826e-05/0.1979, allocations: 87.27 kB / 0.7338 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.1979, allocations: 0 / 0.7338 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002477/0.1981, allocations: 16 kB / 0.7338 GB, free: 11.36 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (firOrdHol.sampleTrigger,$whenCondition1,firOrdHol.firstTrigger,firOrdHol.tSample,firOrdHol.uSample,firOrdHol.pre_uSample,firOrdHol.c) * Number of discrete states: 2 (firOrdHol.uSample,firOrdHol.c) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0007265/0.1988, allocations: 0.7775 MB / 0.7345 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003195/0.1992, allocations: 97.41 kB / 0.7346 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.1992, allocations: 288 / 0.7346 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001306/0.1993, allocations: 47.84 kB / 0.7347 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002648/0.1996, allocations: 11.94 kB / 0.7347 GB, free: 10.4 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001842/0.2014, allocations: 1.505 MB / 0.7361 GB, free: 8.809 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003365/0.2017, allocations: 0.6884 MB / 0.7368 GB, free: 8.094 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.652e-05/0.2018, allocations: 8.422 kB / 0.7368 GB, free: 8.086 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.785e-05/0.2018, allocations: 15.44 kB / 0.7368 GB, free: 8.07 MB / 0.5606 GB Notification: Performance of SimCode: time 4.91e-07/0.2018, allocations: 4 kB / 0.7368 GB, free: 8.066 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03198/0.2338, allocations: 2.215 MB / 0.739 GB, free: 5.988 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.26/11.5, allocations: 11.44 kB / 0.739 GB, free: 5.98 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold_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_Discrete_Validation_FirstOrderHold.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.362240976999601] Failed to read output from testmodel.py, exit status != 0: 11.604626001000725 11.640900763 11.4430421 Calling exit ...