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.001352/0.001352, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.001494/0.001494, allocations: 215.5 kB / 22.99 MB, free: 4.977 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.597/1.597, allocations: 230.6 MB / 256.8 MB, free: 7.805 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 1.012/1.012, allocations: 149.9 MB / 463.1 MB, free: 10.35 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.002265/0.002265, allocations: 65.86 kB / 0.6411 GB, free: 10.13 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1888/0.191, allocations: 89.17 MB / 0.7281 GB, free: 1.035 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold): time 0.002169/0.1932, allocations: 0.662 MB / 0.7288 GB, free: 380 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001645/0.1949, allocations: 1.096 MB / 0.7299 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.225e-05/0.1949, allocations: 4 kB / 0.7299 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.498e-05/0.1949, allocations: 7.875 kB / 0.7299 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.666e-05/0.195, allocations: 15.86 kB / 0.7299 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002974/0.1953, allocations: 47.89 kB / 0.7299 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001199/0.1954, allocations: 75.77 kB / 0.73 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 7.626e-05/0.1955, allocations: 4 kB / 0.73 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 7.391e-05/0.1956, allocations: 27.92 kB / 0.73 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.88e-05/0.1957, allocations: 31.89 kB / 0.7301 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.628e-05/0.1957, allocations: 4 kB / 0.7301 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 7.4e-05/0.1957, allocations: 23.98 kB / 0.7301 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.627e-05/0.1958, allocations: 15.92 kB / 0.7301 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.955e-05/0.1958, allocations: 23.91 kB / 0.7301 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001595/0.196, allocations: 87.91 kB / 0.7302 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.196, allocations: 0 / 0.7302 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.202e-06/0.196, allocations: 0 / 0.7302 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.801e-06/0.196, allocations: 4 kB / 0.7302 GB, free: 14.89 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.0006197/0.1966, allocations: 310.1 kB / 0.7305 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.498e-05/0.1966, allocations: 8.031 kB / 0.7305 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.785e-05/0.1967, allocations: 38.73 kB / 0.7306 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.877e-05/0.1968, allocations: 8.938 kB / 0.7306 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001155/0.1969, allocations: 114.5 kB / 0.7307 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.085e-05/0.1969, allocations: 384 / 0.7307 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.449e-05/0.1969, allocations: 16.36 kB / 0.7307 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002145/0.1971, allocations: 78.16 kB / 0.7308 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.1971, allocations: 3.938 kB / 0.7308 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.003e-05/0.1972, allocations: 0 / 0.7308 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.1972, allocations: 0 / 0.7308 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001972/0.1974, allocations: 59.94 kB / 0.7308 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00053/0.1979, allocations: 275.7 kB / 0.7311 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002015/0.1981, allocations: 74.48 kB / 0.7312 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001193/0.1982, allocations: 40.83 kB / 0.7312 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.393e-05/0.1982, allocations: 0 / 0.7312 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002675/0.1985, allocations: 87.36 kB / 0.7313 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=10): time 1.713e-06/0.1985, allocations: 0 / 0.7313 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10): time 0.0004926/0.199, allocations: 177.7 kB / 0.7315 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.614e-05/0.1991, allocations: 59.41 kB / 0.7315 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.512e-05/0.1992, allocations: 113.8 kB / 0.7316 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.455e-05/0.1992, allocations: 29.7 kB / 0.7316 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.126e-05/0.1992, allocations: 88.31 kB / 0.7317 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.289e-05/0.1993, allocations: 31.77 kB / 0.7318 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.408e-05/0.1993, allocations: 37.7 kB / 0.7318 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001389/0.1995, allocations: 318.8 kB / 0.7321 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001167/0.1996, allocations: 39.97 kB / 0.7321 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001395/0.1997, allocations: 64.94 kB / 0.7322 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002272/0.2, allocations: 96.39 kB / 0.7323 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.2, allocations: 3.938 kB / 0.7323 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003225/0.2003, allocations: 145.6 kB / 0.7324 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.2003, allocations: 8 kB / 0.7324 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.2003, allocations: 0 / 0.7324 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.2003, allocations: 0 / 0.7324 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001212/0.2004, allocations: 23.97 kB / 0.7325 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.2004, allocations: 0 / 0.7325 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.234e-05/0.2005, allocations: 15.95 kB / 0.7325 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.17e-05/0.2005, allocations: 4 kB / 0.7325 GB, free: 12.36 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.0001077/0.2006, allocations: 129.7 kB / 0.7326 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.358e-05/0.2006, allocations: 8 kB / 0.7326 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003352/0.201, allocations: 149.9 kB / 0.7328 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.201, allocations: 4 kB / 0.7328 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.201, allocations: 0 / 0.7328 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.201, allocations: 0 / 0.7328 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005253/0.2015, allocations: 369.9 kB / 0.7331 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.2015, allocations: 0 / 0.7331 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.734e-05/0.2016, allocations: 20.06 kB / 0.7331 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.2016, allocations: 3.938 kB / 0.7331 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.152e-05/0.2016, allocations: 4 kB / 0.7331 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.2016, allocations: 4 kB / 0.7331 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.2016, allocations: 3.984 kB / 0.7332 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003505/0.202, allocations: 239.3 kB / 0.7334 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.208e-06/0.202, allocations: 4 kB / 0.7334 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.814e-05/0.202, allocations: 3.938 kB / 0.7334 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001056/0.2021, allocations: 12.23 kB / 0.7334 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.659e-05/0.2021, allocations: 15.92 kB / 0.7334 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.057e-05/0.2021, allocations: 8 kB / 0.7334 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.665e-05/0.2022, allocations: 83.27 kB / 0.7335 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6e-08/0.2022, allocations: 0 / 0.7335 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002379/0.2024, allocations: 20 kB / 0.7335 GB, free: 11.21 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.0007011/0.2031, allocations: 0.7851 MB / 0.7343 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002917/0.2034, allocations: 95.88 kB / 0.7344 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.2034, allocations: 0 / 0.7344 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001333/0.2036, allocations: 43.97 kB / 0.7344 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002678/0.2038, allocations: 12.3 kB / 0.7344 GB, free: 10.26 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001814/0.2056, allocations: 1.508 MB / 0.7359 GB, free: 8.66 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.703e-05/0.2057, allocations: 75.27 kB / 0.736 GB, free: 8.566 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.427e-05/0.2057, allocations: 8.438 kB / 0.736 GB, free: 8.559 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.758e-05/0.2058, allocations: 19.42 kB / 0.736 GB, free: 8.539 MB / 0.5606 GB Notification: Performance of SimCode: time 4.3e-07/0.2058, allocations: 0 / 0.736 GB, free: 8.539 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02961/0.2354, allocations: 2.644 MB / 0.7386 GB, free: 6.043 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/11.56, allocations: 4.781 kB / 0.7386 GB, free: 6.043 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.582214990165085] Failed to read output from testmodel.py, exit status != 0: 11.669506737962365 11.685979235 11.486691844 Calling exit ...