Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.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.001577/0.001577, allocations: 114.5 kB / 17.13 MB, free: 6.027 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.00203/0.00203, allocations: 207.2 kB / 20.1 MB, free: 3.074 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.461/1.461, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.9328/0.9328, allocations: 150 MB / 459.5 MB, free: 5.332 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.ZeroOrderHold,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Discrete_Validation_ZeroOrderHold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Discrete_Validation_ZeroOrderHold",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.002043/0.002043, allocations: 67.31 kB / 0.6361 GB, free: 30.48 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1515/0.1535, allocations: 89.14 MB / 0.7231 GB, free: 4.082 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold): time 0.001811/0.1553, allocations: 0.6631 MB / 0.7238 GB, free: 3.422 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001411/0.1567, allocations: 1.11 MB / 0.7249 GB, free: 2.301 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.316e-05/0.1568, allocations: 0 / 0.7249 GB, free: 2.301 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.57e-05/0.1568, allocations: 7.938 kB / 0.7249 GB, free: 2.293 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.788e-05/0.1569, allocations: 3.938 kB / 0.7249 GB, free: 2.289 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002811/0.1571, allocations: 43.83 kB / 0.7249 GB, free: 2.246 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001102/0.1573, allocations: 51.84 kB / 0.725 GB, free: 2.195 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.124e-05/0.1574, allocations: 8 kB / 0.725 GB, free: 2.188 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 7.067e-05/0.1574, allocations: 23.91 kB / 0.725 GB, free: 2.164 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.049e-05/0.1575, allocations: 27.91 kB / 0.725 GB, free: 2.137 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.472e-05/0.1575, allocations: 4 kB / 0.725 GB, free: 2.133 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 7.453e-05/0.1576, allocations: 19.98 kB / 0.7251 GB, free: 2.113 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.068e-05/0.1576, allocations: 11.94 kB / 0.7251 GB, free: 2.102 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.388e-05/0.1576, allocations: 27.91 kB / 0.7251 GB, free: 2.074 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001545/0.1578, allocations: 67.94 kB / 0.7252 GB, free: 2.008 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.1578, allocations: 3.984 kB / 0.7252 GB, free: 2.004 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.552e-06/0.1578, allocations: 0 / 0.7252 GB, free: 2.004 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.059e-06/0.1578, allocations: 0 / 0.7252 GB, free: 2.004 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006219/0.1584, allocations: 367.3 kB / 0.7255 GB, free: 1.594 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.1585, allocations: 8.031 kB / 0.7255 GB, free: 1.586 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.307e-05/0.1585, allocations: 46.75 kB / 0.7256 GB, free: 1.531 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.354e-05/0.1586, allocations: 4.922 kB / 0.7256 GB, free: 1.527 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000132/0.1587, allocations: 172.3 kB / 0.7257 GB, free: 1.32 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.446e-06/0.1587, allocations: 384 / 0.7257 GB, free: 1.32 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.698e-05/0.1587, allocations: 8.375 kB / 0.7257 GB, free: 1.312 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001978/0.1589, allocations: 74.14 kB / 0.7258 GB, free: 1.234 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.1589, allocations: 3.938 kB / 0.7258 GB, free: 1.23 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.788e-06/0.159, allocations: 0 / 0.7258 GB, free: 1.23 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.647e-06/0.159, allocations: 0 / 0.7258 GB, free: 1.23 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001933/0.1591, allocations: 47.95 kB / 0.7259 GB, free: 1.184 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004357/0.1596, allocations: 276.8 kB / 0.7261 GB, free: 0.8633 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001689/0.1598, allocations: 58.42 kB / 0.7262 GB, free: 0.7969 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001058/0.1599, allocations: 32.97 kB / 0.7262 GB, free: 0.7617 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.654e-05/0.1599, allocations: 4 kB / 0.7262 GB, free: 0.7578 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000208/0.1601, allocations: 75.44 kB / 0.7263 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=7): time 1.332e-06/0.1601, allocations: 0 / 0.7263 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of matching and sorting (n=7): time 0.0004273/0.1605, allocations: 121.6 kB / 0.7264 GB, free: 0.5469 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.038e-05/0.1606, allocations: 67.28 kB / 0.7265 GB, free: 480 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.231e-05/0.1607, allocations: 105.8 kB / 0.7266 GB, free: 364 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.164e-05/0.1607, allocations: 29.7 kB / 0.7266 GB, free: 328 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.874e-05/0.1607, allocations: 84.12 kB / 0.7267 GB, free: 240 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.63e-05/0.1608, allocations: 23.8 kB / 0.7267 GB, free: 216 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.839e-05/0.1608, allocations: 21.72 kB / 0.7267 GB, free: 188 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000147/0.1609, allocations: 322.8 kB / 0.727 GB, free: 15.86 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001079/0.1611, allocations: 31.97 kB / 0.7271 GB, free: 15.83 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001242/0.1612, allocations: 52.28 kB / 0.7271 GB, free: 15.76 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000225/0.1614, allocations: 96.19 kB / 0.7272 GB, free: 15.65 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.1614, allocations: 0 / 0.7272 GB, free: 15.65 MB / 0.545 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003023/0.1617, allocations: 117.5 kB / 0.7273 GB, free: 15.53 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.1617, allocations: 8 kB / 0.7273 GB, free: 15.52 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.1617, allocations: 0 / 0.7273 GB, free: 15.52 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.1617, allocations: 4.125 kB / 0.7273 GB, free: 15.52 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001131/0.1619, allocations: 19.98 kB / 0.7273 GB, free: 15.5 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.321e-05/0.1619, allocations: 7.922 kB / 0.7274 GB, free: 15.49 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.96e-05/0.1619, allocations: 7.953 kB / 0.7274 GB, free: 15.48 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.29e-05/0.162, allocations: 8 kB / 0.7274 GB, free: 15.48 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 (zerOrdHol.firstTrigger,$PRE.zerOrdHol.firstTrigger,zerOrdHol.sampleTrigger,$whenCondition1,$PRE.zerOrdHol.ySample,zerOrdHol.ySample) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 9.326e-05/0.162, allocations: 123.2 kB / 0.7275 GB, free: 15.35 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.405e-05/0.1621, allocations: 4 kB / 0.7275 GB, free: 15.34 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003033/0.1624, allocations: 113.9 kB / 0.7276 GB, free: 15.22 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.1624, allocations: 0 / 0.7276 GB, free: 15.22 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.1624, allocations: 256 / 0.7276 GB, free: 15.22 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.1624, allocations: 4 kB / 0.7276 GB, free: 15.21 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004769/0.1628, allocations: 362.4 kB / 0.728 GB, free: 14.8 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.1629, allocations: 0 / 0.728 GB, free: 14.8 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.801e-05/0.1629, allocations: 11.98 kB / 0.728 GB, free: 14.79 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.1629, allocations: 4 kB / 0.728 GB, free: 14.79 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.356e-06/0.1629, allocations: 0 / 0.728 GB, free: 14.79 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.1629, allocations: 4.125 kB / 0.728 GB, free: 14.79 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.1629, allocations: 0 / 0.728 GB, free: 14.79 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003035/0.1632, allocations: 199.4 kB / 0.7282 GB, free: 14.57 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.352e-05/0.1633, allocations: 92.94 kB / 0.7283 GB, free: 14.46 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.653e-05/0.1633, allocations: 0 / 0.7283 GB, free: 14.46 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001017/0.1634, allocations: 15.98 kB / 0.7283 GB, free: 14.45 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.366e-05/0.1635, allocations: 11.92 kB / 0.7283 GB, free: 14.44 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.424e-05/0.1635, allocations: 4 kB / 0.7283 GB, free: 14.43 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.679e-05/0.1635, allocations: 83.28 kB / 0.7284 GB, free: 14.35 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.1635, allocations: 0 / 0.7284 GB, free: 14.35 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002497/0.1638, allocations: 12 kB / 0.7284 GB, free: 14.34 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: 4 (zerOrdHol.sampleTrigger,$whenCondition1,zerOrdHol.ySample,zerOrdHol.firstTrigger) * Number of discrete states: 1 (zerOrdHol.ySample) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0006559/0.1644, allocations: 0.7325 MB / 0.7291 GB, free: 13.58 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002699/0.1647, allocations: 67.89 kB / 0.7292 GB, free: 13.52 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.1647, allocations: 0 / 0.7292 GB, free: 13.52 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000119/0.1648, allocations: 40.28 kB / 0.7292 GB, free: 13.48 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002585/0.1651, allocations: 11.94 kB / 0.7292 GB, free: 13.46 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001779/0.1668, allocations: 1.421 MB / 0.7306 GB, free: 11.95 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003049/0.1672, allocations: 0.6846 MB / 0.7313 GB, free: 11.23 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.5e-05/0.1672, allocations: 11.92 kB / 0.7313 GB, free: 11.22 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.587e-05/0.1672, allocations: 19.44 kB / 0.7313 GB, free: 11.21 MB / 0.545 GB Notification: Performance of SimCode: time 3.01e-07/0.1672, allocations: 0 / 0.7313 GB, free: 11.21 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02359/0.1908, allocations: 1.82 MB / 0.7331 GB, free: 9.512 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.519/8.71, allocations: 11.45 kB / 0.7331 GB, free: 9.504 MB / 0.545 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold_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_ZeroOrderHold.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.542976594064385] Failed to read output from testmodel.py, exit status != 0: 8.779227359918877 8.799861016 8.638625857 Calling exit ...