Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler.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.001297/0.001297, allocations: 71.83 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.001408/0.001408, allocations: 169.7 kB / 23.77 MB, free: 4.457 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.455/1.455, 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.9371/0.9371, allocations: 113.9 MB / 374.5 MB, free: 12.84 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.Sampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler") translateModel(IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler") [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.002302/0.002302, allocations: 69.14 kB / 0.555 GB, free: 2.723 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1692/0.1715, allocations: 89.15 MB / 0.6421 GB, free: 9.527 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler): time 0.001989/0.1735, allocations: 0.631 MB / 0.6427 GB, free: 8.898 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001522/0.175, allocations: 1.081 MB / 0.6438 GB, free: 7.805 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.461e-05/0.175, allocations: 7.938 kB / 0.6438 GB, free: 7.797 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.29e-05/0.175, allocations: 0 / 0.6438 GB, free: 7.797 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.471e-05/0.1751, allocations: 7.938 kB / 0.6438 GB, free: 7.789 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002925/0.1754, allocations: 43.81 kB / 0.6438 GB, free: 7.746 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001026/0.1755, allocations: 51.8 kB / 0.6439 GB, free: 7.695 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 8.689e-05/0.1756, allocations: 7.984 kB / 0.6439 GB, free: 7.688 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 7.299e-05/0.1757, allocations: 23.92 kB / 0.6439 GB, free: 7.664 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.65e-05/0.1757, allocations: 23.91 kB / 0.6439 GB, free: 7.641 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.498e-05/0.1757, allocations: 7.938 kB / 0.6439 GB, free: 7.633 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 6.958e-05/0.1758, allocations: 19.98 kB / 0.6439 GB, free: 7.613 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.071e-05/0.1758, allocations: 8 kB / 0.644 GB, free: 7.605 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.435e-05/0.1759, allocations: 15.92 kB / 0.644 GB, free: 7.59 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001439/0.176, allocations: 63.72 kB / 0.644 GB, free: 7.527 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.297e-06/0.176, allocations: 4 kB / 0.644 GB, free: 7.523 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.573e-06/0.176, allocations: 0 / 0.644 GB, free: 7.523 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.176, allocations: 0 / 0.644 GB, free: 7.523 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006056/0.1766, allocations: 282.2 kB / 0.6443 GB, free: 7.215 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.771e-05/0.1767, allocations: 12.03 kB / 0.6443 GB, free: 7.203 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.18e-05/0.1768, allocations: 12.83 kB / 0.6443 GB, free: 7.191 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001145/0.1769, allocations: 122.5 kB / 0.6444 GB, free: 7.047 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.571e-05/0.1769, allocations: 4.375 kB / 0.6444 GB, free: 7.043 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.749e-06/0.1769, allocations: 384 / 0.6444 GB, free: 7.043 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002024/0.1771, allocations: 62.23 kB / 0.6445 GB, free: 6.977 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.1771, allocations: 4.172 kB / 0.6445 GB, free: 6.973 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.927e-05/0.1771, allocations: 3.938 kB / 0.6445 GB, free: 6.969 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.1771, allocations: 0 / 0.6445 GB, free: 6.969 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002037/0.1773, allocations: 43.97 kB / 0.6446 GB, free: 6.926 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004074/0.1777, allocations: 220.5 kB / 0.6448 GB, free: 6.68 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001677/0.1779, allocations: 50.55 kB / 0.6448 GB, free: 6.621 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001064/0.178, allocations: 32.89 kB / 0.6448 GB, free: 6.586 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.825e-05/0.178, allocations: 4 kB / 0.6448 GB, free: 6.582 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002037/0.1782, allocations: 71.38 kB / 0.6449 GB, free: 6.5 MB / 0.545 GB Notification: Performance of pre-optimization done (n=6): time 1.363e-06/0.1782, allocations: 3.938 kB / 0.6449 GB, free: 6.496 MB / 0.545 GB Notification: Performance of matching and sorting (n=6): time 0.0004241/0.1787, allocations: 121.6 kB / 0.645 GB, free: 6.371 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.89e-05/0.1787, allocations: 55.39 kB / 0.6451 GB, free: 6.305 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001005/0.1788, allocations: 105.8 kB / 0.6452 GB, free: 6.191 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.06e-05/0.1788, allocations: 25.7 kB / 0.6452 GB, free: 6.16 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.474e-05/0.1789, allocations: 88.12 kB / 0.6453 GB, free: 6.07 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.02e-05/0.1789, allocations: 11.91 kB / 0.6453 GB, free: 6.059 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.44e-05/0.179, allocations: 21.72 kB / 0.6453 GB, free: 6.031 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001631/0.1791, allocations: 318.8 kB / 0.6456 GB, free: 5.711 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001033/0.1792, allocations: 31.98 kB / 0.6457 GB, free: 5.68 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001205/0.1793, allocations: 55.39 kB / 0.6457 GB, free: 5.613 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002231/0.1796, allocations: 83.33 kB / 0.6458 GB, free: 5.52 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.1796, allocations: 0 / 0.6458 GB, free: 5.52 MB / 0.545 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002816/0.1798, allocations: 109.5 kB / 0.6459 GB, free: 5.406 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.1799, allocations: 8 kB / 0.6459 GB, free: 5.398 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.1799, allocations: 0 / 0.6459 GB, free: 5.398 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.1799, allocations: 0 / 0.6459 GB, free: 5.398 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001052/0.18, allocations: 15.98 kB / 0.6459 GB, free: 5.383 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.18, allocations: 3.938 kB / 0.6459 GB, free: 5.379 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.149e-05/0.1801, allocations: 15.88 kB / 0.6459 GB, free: 5.363 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.03e-05/0.1801, allocations: 4 kB / 0.6459 GB, free: 5.359 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 (sampler1.firstTrigger,$PRE.sampler1.firstTrigger,sampler1.sampleTrigger,$whenCondition1,sampler1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.0001041/0.1802, allocations: 131.3 kB / 0.6461 GB, free: 5.227 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.305e-05/0.1802, allocations: 4 kB / 0.6461 GB, free: 5.223 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002863/0.1805, allocations: 102.1 kB / 0.6462 GB, free: 5.117 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.1805, allocations: 4.562 kB / 0.6462 GB, free: 5.113 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.1805, allocations: 0 / 0.6462 GB, free: 5.113 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.1805, allocations: 0 / 0.6462 GB, free: 5.113 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004639/0.181, allocations: 306 kB / 0.6465 GB, free: 4.777 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.181, allocations: 0 / 0.6465 GB, free: 4.777 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.035e-05/0.181, allocations: 12 kB / 0.6465 GB, free: 4.766 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.458e-06/0.181, allocations: 3.984 kB / 0.6465 GB, free: 4.762 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.234e-06/0.181, allocations: 0 / 0.6465 GB, free: 4.762 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.181, allocations: 0 / 0.6465 GB, free: 4.762 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.181, allocations: 0 / 0.6465 GB, free: 4.762 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003216/0.1814, allocations: 195.4 kB / 0.6467 GB, free: 4.555 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.432e-05/0.1814, allocations: 11.94 kB / 0.6467 GB, free: 4.543 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.366e-05/0.1814, allocations: 0 / 0.6467 GB, free: 4.543 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001037/0.1815, allocations: 15.98 kB / 0.6467 GB, free: 4.527 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.084e-05/0.1815, allocations: 4 kB / 0.6467 GB, free: 4.523 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.038e-05/0.1815, allocations: 0 / 0.6467 GB, free: 4.523 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.826e-05/0.1816, allocations: 87.27 kB / 0.6468 GB, free: 4.438 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.1816, allocations: 0 / 0.6468 GB, free: 4.438 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002427/0.1818, allocations: 12 kB / 0.6468 GB, free: 4.426 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 (sampler1.sampleTrigger,$whenCondition1,sampler1.y,sampler1.firstTrigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * 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.0001318/0.182, allocations: 99.19 kB / 0.6469 GB, free: 4.32 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002699/0.1822, allocations: 79.75 kB / 0.647 GB, free: 4.242 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.1822, allocations: 0 / 0.647 GB, free: 4.242 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001105/0.1823, allocations: 23.98 kB / 0.647 GB, free: 4.219 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002554/0.1826, allocations: 11.98 kB / 0.647 GB, free: 4.207 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003368/0.1829, allocations: 138 kB / 0.6471 GB, free: 4.043 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.533e-05/0.183, allocations: 69.69 kB / 0.6472 GB, free: 3.957 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.864e-05/0.183, allocations: 8.172 kB / 0.6472 GB, free: 3.949 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.005e-05/0.1831, allocations: 12.5 kB / 0.6472 GB, free: 3.934 MB / 0.545 GB Notification: Performance of SimCode: time 3.2e-07/0.1831, allocations: 3.938 kB / 0.6472 GB, free: 3.93 MB / 0.545 GB Notification: Performance of Templates: time 0.00338/0.1864, allocations: 0.8129 MB / 0.648 GB, free: 3.133 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.38606870197691] Failed to read output from testmodel.py, exit status != 0: 0.19502751296386123 0.21000025100000003 0.030889576000000002 Calling exit ...