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.001487/0.001487, allocations: 114 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.001566/0.001566, allocations: 211.2 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.499/1.499, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.9944/0.9944, allocations: 150 MB / 459.5 MB, free: 5.648 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.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.002021/0.002021, allocations: 78 kB / 0.6361 GB, free: 30.41 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1626/0.1647, allocations: 89.12 MB / 0.7231 GB, free: 4.059 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold): time 0.001999/0.1667, allocations: 0.6745 MB / 0.7238 GB, free: 3.383 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001527/0.1682, allocations: 1.114 MB / 0.7249 GB, free: 2.258 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.923e-05/0.1682, allocations: 0 / 0.7249 GB, free: 2.258 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.411e-05/0.1683, allocations: 3.938 kB / 0.7249 GB, free: 2.254 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.747e-05/0.1683, allocations: 19.86 kB / 0.7249 GB, free: 2.234 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002864/0.1686, allocations: 43.83 kB / 0.725 GB, free: 2.191 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001268/0.1688, allocations: 71.88 kB / 0.725 GB, free: 2.121 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.173e-05/0.1689, allocations: 8 kB / 0.725 GB, free: 2.113 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 8.232e-05/0.1689, allocations: 27.92 kB / 0.7251 GB, free: 2.086 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.373e-05/0.169, allocations: 35.83 kB / 0.7251 GB, free: 2.051 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.959e-05/0.169, allocations: 8 kB / 0.7251 GB, free: 2.043 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 8.209e-05/0.1691, allocations: 31.86 kB / 0.7251 GB, free: 2.012 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.11e-05/0.1691, allocations: 11.98 kB / 0.7251 GB, free: 2 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.592e-05/0.1692, allocations: 31.86 kB / 0.7252 GB, free: 1.969 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001778/0.1694, allocations: 79.97 kB / 0.7252 GB, free: 1.891 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.279e-06/0.1694, allocations: 0 / 0.7252 GB, free: 1.891 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.813e-06/0.1694, allocations: 0 / 0.7252 GB, free: 1.891 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.221e-06/0.1694, allocations: 0 / 0.7252 GB, free: 1.891 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0007014/0.1701, allocations: 396.9 kB / 0.7256 GB, free: 1.449 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.1701, allocations: 8.031 kB / 0.7256 GB, free: 1.441 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.703e-05/0.1702, allocations: 34.75 kB / 0.7257 GB, free: 1.398 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.383e-05/0.1703, allocations: 12.89 kB / 0.7257 GB, free: 1.387 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001344/0.1704, allocations: 172.4 kB / 0.7258 GB, free: 1.18 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.062e-05/0.1704, allocations: 4.312 kB / 0.7258 GB, free: 1.176 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.884e-05/0.1704, allocations: 8.375 kB / 0.7259 GB, free: 1.168 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002603/0.1707, allocations: 89.86 kB / 0.7259 GB, free: 1.078 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.1707, allocations: 3.938 kB / 0.7259 GB, free: 1.074 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/0.1707, allocations: 0 / 0.7259 GB, free: 1.074 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.1707, allocations: 0 / 0.7259 GB, free: 1.074 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002273/0.1709, allocations: 59.95 kB / 0.726 GB, free: 1.016 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005632/0.1715, allocations: 312.7 kB / 0.7263 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002144/0.1717, allocations: 78.47 kB / 0.7264 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001263/0.1718, allocations: 36.83 kB / 0.7264 GB, free: 0.5352 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.46e-05/0.1719, allocations: 8 kB / 0.7264 GB, free: 0.5273 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000271/0.1721, allocations: 95.48 kB / 0.7265 GB, free: 432 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=10): time 1.382e-06/0.1721, allocations: 0 / 0.7265 GB, free: 432 kB / 0.5294 GB Notification: Performance of matching and sorting (n=10): time 0.0005239/0.1727, allocations: 165.5 kB / 0.7267 GB, free: 260 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.191e-05/0.1727, allocations: 59.78 kB / 0.7267 GB, free: 188 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001013/0.1728, allocations: 113.8 kB / 0.7268 GB, free: 64 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.75e-05/0.1729, allocations: 33.7 kB / 0.7269 GB, free: 24 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 8.365e-05/0.1729, allocations: 84.38 kB / 0.7269 GB, free: 15.93 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.87e-05/0.173, allocations: 35.7 kB / 0.727 GB, free: 15.9 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.904e-05/0.173, allocations: 33.7 kB / 0.727 GB, free: 15.86 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001722/0.1732, allocations: 318.8 kB / 0.7273 GB, free: 15.54 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001399/0.1734, allocations: 43.97 kB / 0.7274 GB, free: 15.5 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001493/0.1735, allocations: 60.23 kB / 0.7274 GB, free: 15.43 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002592/0.1738, allocations: 102.5 kB / 0.7275 GB, free: 15.32 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.1738, allocations: 0 / 0.7275 GB, free: 15.32 MB / 0.545 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003453/0.1741, allocations: 141.5 kB / 0.7276 GB, free: 15.18 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.1741, allocations: 4 kB / 0.7276 GB, free: 15.17 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.1741, allocations: 4 kB / 0.7277 GB, free: 15.17 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.1741, allocations: 0 / 0.7277 GB, free: 15.17 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001371/0.1743, allocations: 27.97 kB / 0.7277 GB, free: 15.14 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.648e-06/0.1743, allocations: 3.984 kB / 0.7277 GB, free: 15.14 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.15e-05/0.1744, allocations: 11.95 kB / 0.7277 GB, free: 15.12 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.091e-05/0.1744, allocations: 4.062 kB / 0.7277 GB, free: 15.12 MB / 0.545 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.0001135/0.1745, allocations: 137.6 kB / 0.7278 GB, free: 14.98 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.541e-05/0.1745, allocations: 4 kB / 0.7278 GB, free: 14.97 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003822/0.1749, allocations: 141.9 kB / 0.728 GB, free: 14.82 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.1749, allocations: 3.938 kB / 0.728 GB, free: 14.82 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.1749, allocations: 4 kB / 0.728 GB, free: 14.81 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.1749, allocations: 0 / 0.728 GB, free: 14.81 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006012/0.1755, allocations: 406.4 kB / 0.7284 GB, free: 14.36 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.1755, allocations: 0 / 0.7284 GB, free: 14.36 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.678e-05/0.1756, allocations: 15.98 kB / 0.7284 GB, free: 14.34 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.1756, allocations: 0 / 0.7284 GB, free: 14.34 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.012e-05/0.1756, allocations: 0 / 0.7284 GB, free: 14.34 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.1756, allocations: 4 kB / 0.7284 GB, free: 14.34 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.1756, allocations: 0 / 0.7284 GB, free: 14.34 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003904/0.176, allocations: 243.4 kB / 0.7286 GB, free: 14.09 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.911e-05/0.176, allocations: 81.11 kB / 0.7287 GB, free: 13.99 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.106e-05/0.1761, allocations: 4 kB / 0.7287 GB, free: 13.98 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001092/0.1762, allocations: 7.984 kB / 0.7287 GB, free: 13.98 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.361e-05/0.1762, allocations: 11.92 kB / 0.7287 GB, free: 13.96 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.336e-05/0.1762, allocations: 8 kB / 0.7287 GB, free: 13.96 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.74e-05/0.1763, allocations: 95.45 kB / 0.7288 GB, free: 13.86 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.1763, allocations: 0 / 0.7288 GB, free: 13.86 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002626/0.1766, allocations: 20 kB / 0.7288 GB, free: 13.84 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: 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.00083/0.1774, allocations: 0.7709 MB / 0.7296 GB, free: 13.05 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003563/0.1777, allocations: 95.88 kB / 0.7297 GB, free: 12.95 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.1777, allocations: 0 / 0.7297 GB, free: 12.95 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001615/0.1779, allocations: 47.89 kB / 0.7297 GB, free: 12.91 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003031/0.1782, allocations: 15.94 kB / 0.7297 GB, free: 12.89 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002001/0.1802, allocations: 1.496 MB / 0.7312 GB, free: 11.3 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000341/0.1805, allocations: 0.6883 MB / 0.7319 GB, free: 10.59 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.002e-05/0.1806, allocations: 16.42 kB / 0.7319 GB, free: 10.57 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.148e-05/0.1806, allocations: 23.38 kB / 0.7319 GB, free: 10.55 MB / 0.545 GB Notification: Performance of SimCode: time 3.6e-07/0.1806, allocations: 0 / 0.7319 GB, free: 10.55 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02684/0.2075, allocations: 2.068 MB / 0.7339 GB, free: 8.621 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.9/8.108, allocations: 9.734 kB / 0.7339 GB, free: 8.613 MB / 0.545 GB " [Timeout remaining time 652] (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: 12.07661159709096] Failed to read output from testmodel.py, exit status != 0: 8.176055372925475 8.19655527 8.023690148 Calling exit ...