Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.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.001398/0.001398, allocations: 75.75 kB / 20.51 MB, free: 1.121 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.001908/0.001908, allocations: 159.1 kB / 23.76 MB, free: 4.195 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.436/1.436, allocations: 177.2 MB / 204.1 MB, free: 8.957 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 1.05/1.05, allocations: 113.9 MB / 374.5 MB, free: 12.88 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.Logical.Sources.Validation.SampleTriggerPositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime") translateModel(IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime") [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.002097/0.002097, allocations: 70.08 kB / 0.555 GB, free: 2.734 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1656/0.1677, allocations: 89.15 MB / 0.6421 GB, free: 9.547 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime): time 0.002064/0.1698, allocations: 0.7093 MB / 0.6428 GB, free: 8.84 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001524/0.1713, allocations: 1.089 MB / 0.6439 GB, free: 7.738 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.782e-05/0.1713, allocations: 0 / 0.6439 GB, free: 7.738 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.228e-05/0.1714, allocations: 7.922 kB / 0.6439 GB, free: 7.73 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.718e-05/0.1714, allocations: 19.88 kB / 0.6439 GB, free: 7.711 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002992/0.1717, allocations: 47.83 kB / 0.6439 GB, free: 7.664 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001313/0.1719, allocations: 75.77 kB / 0.644 GB, free: 7.59 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001019/0.172, allocations: 16.17 kB / 0.644 GB, free: 7.57 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 7.702e-05/0.172, allocations: 27.92 kB / 0.644 GB, free: 7.543 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.171e-05/0.1721, allocations: 27.84 kB / 0.6441 GB, free: 7.516 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.652e-05/0.1721, allocations: 4 kB / 0.6441 GB, free: 7.512 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 6.275e-05/0.1722, allocations: 19.98 kB / 0.6441 GB, free: 7.492 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.684e-05/0.1722, allocations: 15.97 kB / 0.6441 GB, free: 7.477 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.575e-05/0.1723, allocations: 31.8 kB / 0.6441 GB, free: 7.445 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001663/0.1724, allocations: 87.62 kB / 0.6442 GB, free: 7.359 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.1724, allocations: 0 / 0.6442 GB, free: 7.359 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.893e-06/0.1724, allocations: 0 / 0.6442 GB, free: 7.359 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.259e-06/0.1724, allocations: 0 / 0.6442 GB, free: 7.359 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005454/0.173, allocations: 300.7 kB / 0.6445 GB, free: 7.039 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/0.173, allocations: 11.97 kB / 0.6445 GB, free: 7.027 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.169e-05/0.1731, allocations: 12.83 kB / 0.6445 GB, free: 7.016 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001272/0.1732, allocations: 114.5 kB / 0.6446 GB, free: 6.879 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.506e-05/0.1732, allocations: 8.375 kB / 0.6447 GB, free: 6.871 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.601e-05/0.1732, allocations: 8.359 kB / 0.6447 GB, free: 6.863 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002003/0.1734, allocations: 74.16 kB / 0.6447 GB, free: 6.785 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.1734, allocations: 3.938 kB / 0.6447 GB, free: 6.781 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.475e-05/0.1734, allocations: 4 kB / 0.6447 GB, free: 6.777 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.1734, allocations: 0 / 0.6447 GB, free: 6.777 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001779/0.1736, allocations: 35.97 kB / 0.6448 GB, free: 6.742 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007577/0.1744, allocations: 268.3 kB / 0.645 GB, free: 6.449 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001736/0.1746, allocations: 54.55 kB / 0.6451 GB, free: 6.387 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001049/0.1747, allocations: 32.95 kB / 0.6451 GB, free: 6.352 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.035e-05/0.1747, allocations: 0 / 0.6451 GB, free: 6.352 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002233/0.1749, allocations: 83.41 kB / 0.6452 GB, free: 6.258 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.172e-06/0.1749, allocations: 0 / 0.6452 GB, free: 6.258 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0004445/0.1754, allocations: 133.8 kB / 0.6453 GB, free: 6.121 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.684e-05/0.1754, allocations: 55.41 kB / 0.6454 GB, free: 6.055 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001176/0.1755, allocations: 113.8 kB / 0.6455 GB, free: 5.934 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.155e-05/0.1755, allocations: 29.7 kB / 0.6455 GB, free: 5.898 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.612e-05/0.1756, allocations: 96.08 kB / 0.6456 GB, free: 5.801 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.208e-05/0.1756, allocations: 15.89 kB / 0.6456 GB, free: 5.785 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.312e-05/0.1757, allocations: 29.7 kB / 0.6456 GB, free: 5.75 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001467/0.1758, allocations: 326.8 kB / 0.646 GB, free: 5.422 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001094/0.1759, allocations: 23.98 kB / 0.646 GB, free: 5.398 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001548/0.1761, allocations: 81.86 kB / 0.6461 GB, free: 5.297 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002556/0.1764, allocations: 105.9 kB / 0.6462 GB, free: 5.172 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.1764, allocations: 0 / 0.6462 GB, free: 5.172 MB / 0.545 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000327/0.1767, allocations: 137.4 kB / 0.6463 GB, free: 5.031 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.1767, allocations: 13.55 kB / 0.6463 GB, free: 5.02 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.1767, allocations: 0 / 0.6463 GB, free: 5.02 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.1767, allocations: 4 kB / 0.6463 GB, free: 5.016 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001276/0.1768, allocations: 15.98 kB / 0.6463 GB, free: 5 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.809e-06/0.1769, allocations: 4.281 kB / 0.6463 GB, free: 4.996 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.447e-05/0.1769, allocations: 19.92 kB / 0.6463 GB, free: 4.977 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.535e-05/0.177, allocations: 8 kB / 0.6464 GB, free: 4.969 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 8 (triggeredSampler1.y,$PRE.triggeredSampler1.y,triggeredSampler.y,$PRE.triggeredSampler.y,samTri.y,$whenCondition1,samTri1.y,$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): 11 * 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.0001065/0.1771, allocations: 128.9 kB / 0.6465 GB, free: 4.836 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.31e-05/0.1771, allocations: 7.953 kB / 0.6465 GB, free: 4.828 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.281e-05/0.1771, allocations: 12.44 kB / 0.6465 GB, free: 4.816 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.1771, allocations: 0 / 0.6465 GB, free: 4.816 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.1771, allocations: 0 / 0.6465 GB, free: 4.816 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.93e-06/0.1771, allocations: 3.984 kB / 0.6465 GB, free: 4.812 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004927/0.1776, allocations: 318 kB / 0.6468 GB, free: 4.465 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.1776, allocations: 0 / 0.6468 GB, free: 4.465 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.382e-05/0.1777, allocations: 4 kB / 0.6468 GB, free: 4.461 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.1777, allocations: 0 / 0.6468 GB, free: 4.461 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.275e-05/0.1777, allocations: 7.984 kB / 0.6468 GB, free: 4.453 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.1777, allocations: 4 kB / 0.6468 GB, free: 4.449 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1777, allocations: 0 / 0.6468 GB, free: 4.449 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003302/0.178, allocations: 203.4 kB / 0.647 GB, free: 4.234 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.663e-05/0.178, allocations: 15.88 kB / 0.647 GB, free: 4.219 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.703e-05/0.1781, allocations: 4 kB / 0.647 GB, free: 4.215 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.144e-05/0.1781, allocations: 3.938 kB / 0.647 GB, free: 4.211 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.821e-05/0.1782, allocations: 11.98 kB / 0.647 GB, free: 4.199 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.175e-05/0.1782, allocations: 7.938 kB / 0.6471 GB, free: 4.191 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.545e-05/0.1782, allocations: 91.92 kB / 0.6471 GB, free: 4.102 MB / 0.545 GB Notification: Performance of sort global known variables: time 8.1e-08/0.1782, allocations: 0 / 0.6471 GB, free: 4.102 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002595/0.1785, allocations: 19.94 kB / 0.6472 GB, free: 4.082 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 (samTri1.y,samTri.y,$whenCondition2,$whenCondition1,triggeredSampler.y,triggeredSampler1.y) * Number of discrete states: 0 () * 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.000165/0.1787, allocations: 103.6 kB / 0.6473 GB, free: 3.973 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000307/0.179, allocations: 75.89 kB / 0.6473 GB, free: 3.898 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.179, allocations: 0 / 0.6473 GB, free: 3.898 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001273/0.1791, allocations: 35.91 kB / 0.6474 GB, free: 3.863 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002952/0.1794, allocations: 15.94 kB / 0.6474 GB, free: 3.848 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004172/0.1798, allocations: 162.5 kB / 0.6475 GB, free: 3.656 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.365e-05/0.1799, allocations: 87.25 kB / 0.6476 GB, free: 3.551 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.489e-05/0.1799, allocations: 7.984 kB / 0.6476 GB, free: 3.543 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.985e-05/0.18, allocations: 12.5 kB / 0.6476 GB, free: 3.531 MB / 0.545 GB Notification: Performance of SimCode: time 4.21e-07/0.18, allocations: 0 / 0.6476 GB, free: 3.531 MB / 0.545 GB Notification: Performance of Templates: time 0.004117/0.1841, allocations: 1.005 MB / 0.6486 GB, free: 2.555 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.533791069989093] Failed to read output from testmodel.py, exit status != 0: 0.19274427404161543 0.207571787 0.032072574 Calling exit ...