Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.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.001331/0.001331, allocations: 113.7 kB / 17.12 MB, free: 5.945 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.001387/0.001387, allocations: 208 kB / 20.09 MB, free: 2.996 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.1 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.9864/0.9864, allocations: 150 MB / 459.5 MB, free: 5.664 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.TriggeredSampler,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Discrete_Validation_TriggeredSampler",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Discrete_Validation_TriggeredSampler",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.001953/0.001953, allocations: 70.62 kB / 0.6361 GB, free: 30.36 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1477/0.1496, allocations: 89.13 MB / 0.7231 GB, free: 4.109 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler): time 0.002007/0.1516, allocations: 0.7383 MB / 0.7239 GB, free: 3.371 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001569/0.1532, allocations: 1.207 MB / 0.725 GB, free: 2.152 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.947e-05/0.1533, allocations: 0 / 0.725 GB, free: 2.152 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.748e-05/0.1533, allocations: 3.938 kB / 0.7251 GB, free: 2.148 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.417e-05/0.1534, allocations: 19.86 kB / 0.7251 GB, free: 2.129 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004826/0.1538, allocations: 134.2 kB / 0.7252 GB, free: 2 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001964/0.154, allocations: 139.7 kB / 0.7253 GB, free: 1.863 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.479e-05/0.1541, allocations: 16.17 kB / 0.7253 GB, free: 1.844 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 8.982e-05/0.1542, allocations: 47.91 kB / 0.7254 GB, free: 1.797 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001112/0.1543, allocations: 55.8 kB / 0.7254 GB, free: 1.742 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.432e-05/0.1544, allocations: 8 kB / 0.7255 GB, free: 1.734 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 8.039e-05/0.1544, allocations: 31.92 kB / 0.7255 GB, free: 1.703 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.21e-05/0.1545, allocations: 12 kB / 0.7255 GB, free: 1.691 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 7.615e-05/0.1545, allocations: 51.72 kB / 0.7255 GB, free: 1.641 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000206/0.1548, allocations: 135.8 kB / 0.7257 GB, free: 1.504 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.1548, allocations: 0 / 0.7257 GB, free: 1.504 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.323e-06/0.1548, allocations: 0 / 0.7257 GB, free: 1.504 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.814e-06/0.1548, allocations: 0 / 0.7257 GB, free: 1.504 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006185/0.1554, allocations: 416.9 kB / 0.7261 GB, free: 1.043 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.1554, allocations: 8.031 kB / 0.7261 GB, free: 1.035 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.238e-05/0.1555, allocations: 38.73 kB / 0.7261 GB, free: 0.9883 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.164e-05/0.1556, allocations: 16.89 kB / 0.7261 GB, free: 0.9727 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001446/0.1557, allocations: 176.2 kB / 0.7263 GB, free: 0.7617 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.539e-05/0.1557, allocations: 4.375 kB / 0.7263 GB, free: 0.7578 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.577e-05/0.1557, allocations: 8.375 kB / 0.7263 GB, free: 0.75 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002102/0.156, allocations: 77.95 kB / 0.7264 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.194e-06/0.156, allocations: 4 kB / 0.7264 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.156, allocations: 0 / 0.7264 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.156, allocations: 0 / 0.7264 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002024/0.1562, allocations: 55.89 kB / 0.7264 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00054/0.1567, allocations: 332.7 kB / 0.7268 GB, free: 240 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001794/0.1569, allocations: 54.55 kB / 0.7268 GB, free: 176 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001132/0.157, allocations: 40.98 kB / 0.7269 GB, free: 132 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.94e-05/0.157, allocations: 4 kB / 0.7269 GB, free: 128 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002385/0.1573, allocations: 91.28 kB / 0.7269 GB, free: 24 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=8): time 1.303e-06/0.1573, allocations: 0 / 0.7269 GB, free: 24 kB / 0.5294 GB Notification: Performance of matching and sorting (n=8): time 0.0004791/0.1577, allocations: 145.6 kB / 0.7271 GB, free: 15.88 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.16e-05/0.1578, allocations: 59.39 kB / 0.7271 GB, free: 15.8 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001042/0.1579, allocations: 128.6 kB / 0.7273 GB, free: 15.67 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.963e-05/0.1579, allocations: 29.7 kB / 0.7273 GB, free: 15.64 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.323e-05/0.158, allocations: 96.08 kB / 0.7274 GB, free: 15.54 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.853e-05/0.158, allocations: 27.78 kB / 0.7274 GB, free: 15.51 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.508e-05/0.1581, allocations: 37.7 kB / 0.7274 GB, free: 15.47 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001349/0.1582, allocations: 322.8 kB / 0.7278 GB, free: 15.14 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001767/0.1584, allocations: 55.95 kB / 0.7278 GB, free: 15.09 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001827/0.1586, allocations: 89.12 kB / 0.7279 GB, free: 14.98 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003025/0.1589, allocations: 150.7 kB / 0.728 GB, free: 14.81 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.1589, allocations: 4 kB / 0.728 GB, free: 14.81 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004745/0.1594, allocations: 211.1 kB / 0.7282 GB, free: 14.59 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.951e-05/0.1594, allocations: 43.36 kB / 0.7283 GB, free: 14.54 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.1594, allocations: 0 / 0.7283 GB, free: 14.54 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.1594, allocations: 4 kB / 0.7283 GB, free: 14.54 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000103/0.1595, allocations: 19.92 kB / 0.7283 GB, free: 14.52 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.577e-05/0.1596, allocations: 7.984 kB / 0.7283 GB, free: 14.51 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002082/0.1598, allocations: 27.97 kB / 0.7283 GB, free: 14.48 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.283e-05/0.1598, allocations: 11.92 kB / 0.7283 GB, free: 14.47 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 (triSam1.y,$PRE.triSam1.y,triSam.y,$PRE.triSam.y,booPul.y,$PRE.booPul.y,$whenCondition3,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * 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.000105/0.1599, allocations: 125.8 kB / 0.7285 GB, free: 14.34 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.568e-05/0.1599, allocations: 7.953 kB / 0.7285 GB, free: 14.33 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003261/0.1602, allocations: 125.9 kB / 0.7286 GB, free: 14.2 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.187e-06/0.1602, allocations: 3.984 kB / 0.7286 GB, free: 14.19 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.1602, allocations: 0 / 0.7286 GB, free: 14.19 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.1602, allocations: 0 / 0.7286 GB, free: 14.19 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00049/0.1607, allocations: 378.4 kB / 0.729 GB, free: 13.77 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.1607, allocations: 3.938 kB / 0.729 GB, free: 13.76 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.63e-05/0.1608, allocations: 15.98 kB / 0.729 GB, free: 13.75 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.1608, allocations: 0 / 0.729 GB, free: 13.75 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.256e-06/0.1608, allocations: 0 / 0.729 GB, free: 13.75 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.943e-06/0.1608, allocations: 7.938 kB / 0.729 GB, free: 13.74 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.1608, allocations: 0 / 0.729 GB, free: 13.74 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003341/0.1612, allocations: 211.5 kB / 0.7292 GB, free: 13.52 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.866e-05/0.1612, allocations: 85.05 kB / 0.7293 GB, free: 13.41 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.782e-05/0.1612, allocations: 8 kB / 0.7293 GB, free: 13.41 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.871e-05/0.1613, allocations: 11.92 kB / 0.7293 GB, free: 13.39 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.954e-05/0.1613, allocations: 8 kB / 0.7293 GB, free: 13.39 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.921e-06/0.1614, allocations: 0 / 0.7293 GB, free: 13.39 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.724e-05/0.1614, allocations: 95.2 kB / 0.7294 GB, free: 13.29 MB / 0.545 GB Notification: Performance of sort global known variables: time 6e-08/0.1614, allocations: 0 / 0.7294 GB, free: 13.29 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002596/0.1617, allocations: 28 kB / 0.7294 GB, free: 13.27 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: 6 ($whenCondition3,$whenCondition1,$whenCondition2,booPul.y,triSam.y,triSam1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0006844/0.1624, allocations: 0.7481 MB / 0.7301 GB, free: 12.49 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003988/0.1628, allocations: 171.3 kB / 0.7303 GB, free: 12.31 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.1628, allocations: 0 / 0.7303 GB, free: 12.31 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001348/0.1629, allocations: 43.91 kB / 0.7304 GB, free: 12.27 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002719/0.1632, allocations: 15.86 kB / 0.7304 GB, free: 12.25 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002214/0.1654, allocations: 1.729 MB / 0.7321 GB, free: 10.41 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000299/0.1657, allocations: 0.6846 MB / 0.7327 GB, free: 9.695 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.339e-05/0.1657, allocations: 7.984 kB / 0.7327 GB, free: 9.688 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.663e-05/0.1658, allocations: 19.44 kB / 0.7328 GB, free: 9.668 MB / 0.545 GB Notification: Performance of SimCode: time 2.8e-07/0.1658, allocations: 0 / 0.7328 GB, free: 9.668 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02417/0.1899, allocations: 2.564 MB / 0.7353 GB, free: 7.223 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.088/8.278, allocations: 19.2 kB / 0.7353 GB, free: 7.207 MB / 0.545 GB " [Timeout remaining time 652] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler_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_TriggeredSampler.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.26872301590629] Failed to read output from testmodel.py, exit status != 0: 8.349758713971823 8.380402232 8.220588909 Calling exit ...