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.001814/0.001814, allocations: 71.59 kB / 20.51 MB, free: 1.285 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.002335/0.002335, allocations: 161.7 kB / 23.76 MB, free: 4.469 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.439/1.439, allocations: 177.2 MB / 204.1 MB, free: 8.969 MB / 190.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.944/0.944, allocations: 113.9 MB / 374.5 MB, free: 12.87 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: translateModel(IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler") translateModel(IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler") [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.00217/0.00217, allocations: 70.38 kB / 0.555 GB, free: 2.758 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1631/0.1653, allocations: 89.15 MB / 0.6421 GB, free: 9.555 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler): time 0.002101/0.1674, allocations: 0.717 MB / 0.6428 GB, free: 8.84 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00164/0.169, allocations: 1.182 MB / 0.6439 GB, free: 7.645 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.335e-05/0.169, allocations: 0 / 0.6439 GB, free: 7.645 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.534e-05/0.1691, allocations: 7.922 kB / 0.6439 GB, free: 7.637 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.306e-05/0.1692, allocations: 15.88 kB / 0.644 GB, free: 7.621 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005365/0.1697, allocations: 138.3 kB / 0.6441 GB, free: 7.488 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002127/0.1699, allocations: 131.7 kB / 0.6442 GB, free: 7.359 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 9.779e-05/0.17, allocations: 12.17 kB / 0.6442 GB, free: 7.344 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001051/0.1701, allocations: 51.91 kB / 0.6443 GB, free: 7.293 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001057/0.1702, allocations: 47.8 kB / 0.6443 GB, free: 7.246 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.9e-05/0.1702, allocations: 8 kB / 0.6443 GB, free: 7.238 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 7.874e-05/0.1703, allocations: 24 kB / 0.6443 GB, free: 7.215 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.006e-05/0.1704, allocations: 15.92 kB / 0.6444 GB, free: 7.199 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 7.313e-05/0.1704, allocations: 47.89 kB / 0.6444 GB, free: 7.152 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002033/0.1706, allocations: 135.5 kB / 0.6445 GB, free: 7.02 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.1706, allocations: 0 / 0.6445 GB, free: 7.02 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.273e-06/0.1706, allocations: 0 / 0.6445 GB, free: 7.02 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.1706, allocations: 0 / 0.6445 GB, free: 7.02 MB / 0.545 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.0005865/0.1712, allocations: 343.7 kB / 0.6449 GB, free: 6.648 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/0.1713, allocations: 12.02 kB / 0.6449 GB, free: 6.637 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.991e-05/0.1714, allocations: 12.89 kB / 0.6449 GB, free: 6.625 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001072/0.1715, allocations: 114.4 kB / 0.645 GB, free: 6.488 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.663e-05/0.1715, allocations: 4.375 kB / 0.645 GB, free: 6.484 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.864e-05/0.1715, allocations: 16.38 kB / 0.645 GB, free: 6.469 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002106/0.1717, allocations: 70.22 kB / 0.6451 GB, free: 6.395 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.1717, allocations: 7.875 kB / 0.6451 GB, free: 6.387 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.523e-05/0.1717, allocations: 7.969 kB / 0.6451 GB, free: 6.379 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.1717, allocations: 0 / 0.6451 GB, free: 6.379 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001916/0.1719, allocations: 47.95 kB / 0.6451 GB, free: 6.332 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004686/0.1724, allocations: 264.5 kB / 0.6454 GB, free: 6.043 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001854/0.1726, allocations: 62.48 kB / 0.6455 GB, free: 5.973 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001137/0.1727, allocations: 28.95 kB / 0.6455 GB, free: 5.941 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.102e-05/0.1727, allocations: 0 / 0.6455 GB, free: 5.941 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002517/0.173, allocations: 95.36 kB / 0.6456 GB, free: 5.836 MB / 0.545 GB Notification: Performance of pre-optimization done (n=8): time 1.132e-06/0.173, allocations: 0 / 0.6456 GB, free: 5.836 MB / 0.545 GB Notification: Performance of matching and sorting (n=8): time 0.0004935/0.1735, allocations: 153.8 kB / 0.6457 GB, free: 5.68 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.82e-05/0.1735, allocations: 59.33 kB / 0.6458 GB, free: 5.609 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001168/0.1736, allocations: 121.8 kB / 0.6459 GB, free: 5.48 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.986e-05/0.1737, allocations: 29.7 kB / 0.6459 GB, free: 5.445 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.332e-05/0.1737, allocations: 108 kB / 0.646 GB, free: 5.336 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.547e-05/0.1738, allocations: 15.8 kB / 0.646 GB, free: 5.32 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.683e-05/0.1738, allocations: 37.7 kB / 0.6461 GB, free: 5.277 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001678/0.174, allocations: 326.8 kB / 0.6464 GB, free: 4.949 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001935/0.1742, allocations: 81.66 kB / 0.6465 GB, free: 4.863 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002216/0.1744, allocations: 126.8 kB / 0.6466 GB, free: 4.715 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000302/0.1747, allocations: 146.7 kB / 0.6467 GB, free: 4.547 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.1747, allocations: 0 / 0.6467 GB, free: 4.547 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005141/0.1752, allocations: 252.8 kB / 0.647 GB, free: 4.281 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.299e-05/0.1753, allocations: 33.7 kB / 0.647 GB, free: 4.242 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/0.1753, allocations: 0 / 0.647 GB, free: 4.242 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.1753, allocations: 0 / 0.647 GB, free: 4.242 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001044/0.1754, allocations: 15.98 kB / 0.647 GB, free: 4.227 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.008e-05/0.1754, allocations: 8.062 kB / 0.647 GB, free: 4.219 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002336/0.1757, allocations: 40.11 kB / 0.6471 GB, free: 4.18 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.052e-05/0.1757, allocations: 4 kB / 0.6471 GB, free: 4.176 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.0001241/0.1758, allocations: 136.5 kB / 0.6472 GB, free: 4.035 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.635e-05/0.1758, allocations: 7.953 kB / 0.6472 GB, free: 4.027 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003178/0.1761, allocations: 122.1 kB / 0.6473 GB, free: 3.902 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.1761, allocations: 0 / 0.6473 GB, free: 3.902 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.1761, allocations: 3.984 kB / 0.6473 GB, free: 3.898 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.1761, allocations: 4 kB / 0.6473 GB, free: 3.895 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000455/0.1766, allocations: 318.1 kB / 0.6476 GB, free: 3.547 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.1766, allocations: 0 / 0.6476 GB, free: 3.547 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.375e-05/0.1767, allocations: 11.98 kB / 0.6476 GB, free: 3.535 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.1767, allocations: 0 / 0.6476 GB, free: 3.535 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.392e-05/0.1767, allocations: 4 kB / 0.6476 GB, free: 3.531 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.1767, allocations: 0 / 0.6476 GB, free: 3.531 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/0.1767, allocations: 7.984 kB / 0.6477 GB, free: 3.523 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003487/0.177, allocations: 227.3 kB / 0.6479 GB, free: 3.285 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.175e-05/0.177, allocations: 3.953 kB / 0.6479 GB, free: 3.281 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.829e-05/0.1771, allocations: 4 kB / 0.6479 GB, free: 3.277 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.094e-05/0.1772, allocations: 15.92 kB / 0.6479 GB, free: 3.262 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.006e-05/0.1772, allocations: 3.984 kB / 0.6479 GB, free: 3.258 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.251e-05/0.1772, allocations: 4 kB / 0.6479 GB, free: 3.254 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.838e-05/0.1773, allocations: 95.2 kB / 0.648 GB, free: 3.16 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.1773, allocations: 0 / 0.648 GB, free: 3.16 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002784/0.1776, allocations: 24 kB / 0.648 GB, free: 3.137 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.0001367/0.1777, allocations: 107.2 kB / 0.6481 GB, free: 3.023 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004136/0.1781, allocations: 193 kB / 0.6483 GB, free: 2.816 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1781, allocations: 0 / 0.6483 GB, free: 2.816 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001216/0.1782, allocations: 35.92 kB / 0.6483 GB, free: 2.781 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000274/0.1785, allocations: 23 kB / 0.6484 GB, free: 2.762 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003647/0.1789, allocations: 179.2 kB / 0.6485 GB, free: 2.555 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.061e-05/0.1789, allocations: 75.28 kB / 0.6486 GB, free: 2.461 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.084e-05/0.179, allocations: 7.984 kB / 0.6486 GB, free: 2.453 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.823e-05/0.179, allocations: 16.5 kB / 0.6486 GB, free: 2.438 MB / 0.545 GB Notification: Performance of SimCode: time 2.9e-07/0.179, allocations: 0 / 0.6486 GB, free: 2.438 MB / 0.545 GB Notification: Performance of Templates: time 0.004579/0.1836, allocations: 1.556 MB / 0.6501 GB, free: 0.9141 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.makefile [Timeout 660] (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 & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.38750236609485] Failed to read output from testmodel.py, exit status != 0: 0.19207726698368788 0.20648754400000002 0.032739424 Calling exit ...