Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001899/0.001899, allocations: 111.4 kB / 17.08 MB, free: 5.973 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002099/0.002099, allocations: 193.2 kB / 20.03 MB, free: 3.043 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.498/1.498, allocations: 222.9 MB / 245.7 MB, free: 4.211 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.073/1.073, allocations: 147.6 MB / 445.5 MB, free: 8.441 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime") translateModel(IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002016/0.002016, allocations: 67.7 kB / 0.6114 GB, free: 37.73 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.145/0.147, allocations: 83.17 MB / 0.6926 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime): time 0.002073/0.1491, allocations: 0.7237 MB / 0.6933 GB, free: 12.6 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.00156/0.1507, allocations: 1.068 MB / 0.6943 GB, free: 11.74 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.127e-05/0.1508, allocations: 1.094 kB / 0.6943 GB, free: 11.74 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 3.672e-05/0.1508, allocations: 3.938 kB / 0.6943 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 7.95e-05/0.1509, allocations: 8.969 kB / 0.6943 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.000321/0.1513, allocations: 61.72 kB / 0.6944 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001208/0.1514, allocations: 68.34 kB / 0.6945 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001124/0.1515, allocations: 23.25 kB / 0.6945 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 8.249e-05/0.1516, allocations: 30.77 kB / 0.6945 GB, free: 11.6 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 7.034e-05/0.1517, allocations: 33.72 kB / 0.6946 GB, free: 11.58 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.814e-05/0.1517, allocations: 6.125 kB / 0.6946 GB, free: 11.58 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 7.38e-05/0.1518, allocations: 29.2 kB / 0.6946 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 2.604e-05/0.1518, allocations: 13.12 kB / 0.6946 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 6.012e-05/0.1519, allocations: 35.86 kB / 0.6946 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001552/0.152, allocations: 78.94 kB / 0.6947 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.152, allocations: 4 kB / 0.6947 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.563e-06/0.1521, allocations: 0 / 0.6947 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.009e-06/0.1521, allocations: 0 / 0.6947 GB, free: 11.46 MB / 0.5137 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.0006137/0.1527, allocations: 375.3 kB / 0.6951 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.1527, allocations: 10.03 kB / 0.6951 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.791e-05/0.1528, allocations: 11.73 kB / 0.6951 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001634/0.1529, allocations: 176.8 kB / 0.6953 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.008e-05/0.153, allocations: 2 kB / 0.6953 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.143e-05/0.153, allocations: 16.84 kB / 0.6953 GB, free: 10.85 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002108/0.1532, allocations: 64.41 kB / 0.6953 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.1532, allocations: 5.188 kB / 0.6953 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.199e-05/0.1533, allocations: 3.984 kB / 0.6954 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.1533, allocations: 1.375 kB / 0.6954 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001814/0.1534, allocations: 44.86 kB / 0.6954 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006466/0.1541, allocations: 324.4 kB / 0.6957 GB, free: 10.44 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001689/0.1543, allocations: 52.52 kB / 0.6958 GB, free: 10.4 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001031/0.1544, allocations: 34.11 kB / 0.6958 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.743e-05/0.1544, allocations: 5.234 kB / 0.6958 GB, free: 10.37 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002171/0.1547, allocations: 83.59 kB / 0.6959 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=7): time 1.433e-06/0.1547, allocations: 0 / 0.6959 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of matching and sorting (n=7): time 0.0004176/0.1551, allocations: 127.1 kB / 0.696 GB, free: 10.22 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.636e-05/0.1551, allocations: 58.14 kB / 0.696 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001165/0.1553, allocations: 124.8 kB / 0.6962 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.999e-05/0.1553, allocations: 29.7 kB / 0.6962 GB, free: 10 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.827e-05/0.1554, allocations: 102.8 kB / 0.6963 GB, free: 9.902 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.934e-05/0.1554, allocations: 14.64 kB / 0.6963 GB, free: 9.891 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.584e-05/0.1555, allocations: 35.33 kB / 0.6963 GB, free: 9.859 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001505/0.1556, allocations: 320.2 kB / 0.6966 GB, free: 9.539 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001103/0.1557, allocations: 28.47 kB / 0.6967 GB, free: 9.527 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001437/0.1559, allocations: 82.48 kB / 0.6968 GB, free: 9.445 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002493/0.1561, allocations: 107 kB / 0.6969 GB, free: 9.355 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.1562, allocations: 1.375 kB / 0.6969 GB, free: 9.355 MB / 0.5137 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003132/0.1565, allocations: 136.6 kB / 0.697 GB, free: 9.27 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.1565, allocations: 6.875 kB / 0.697 GB, free: 9.27 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.1565, allocations: 1.375 kB / 0.697 GB, free: 9.27 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.915e-05/0.1565, allocations: 2.75 kB / 0.697 GB, free: 9.27 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001415/0.1567, allocations: 20.34 kB / 0.697 GB, free: 9.262 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.174e-06/0.1567, allocations: 1.375 kB / 0.697 GB, free: 9.262 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.901e-05/0.1568, allocations: 5.5 kB / 0.697 GB, free: 9.262 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.021e-05/0.1568, allocations: 13.48 kB / 0.697 GB, free: 9.254 MB / 0.5137 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.0001121/0.1569, allocations: 131.6 kB / 0.6972 GB, free: 9.121 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.407e-05/0.1569, allocations: 8.078 kB / 0.6972 GB, free: 9.117 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.471e-05/0.157, allocations: 9.75 kB / 0.6972 GB, free: 9.102 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.157, allocations: 0 / 0.6972 GB, free: 9.102 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.157, allocations: 1.375 kB / 0.6972 GB, free: 9.102 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-06/0.157, allocations: 0 / 0.6972 GB, free: 9.102 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005112/0.1575, allocations: 377.5 kB / 0.6975 GB, free: 8.734 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.1575, allocations: 0 / 0.6975 GB, free: 8.734 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.457e-05/0.1576, allocations: 13.48 kB / 0.6976 GB, free: 8.727 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.1576, allocations: 0 / 0.6976 GB, free: 8.727 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.009e-05/0.1576, allocations: 1.375 kB / 0.6976 GB, free: 8.727 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.23e-06/0.1576, allocations: 11.88 kB / 0.6976 GB, free: 8.715 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1576, allocations: 1.375 kB / 0.6976 GB, free: 8.715 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002994/0.1579, allocations: 196.8 kB / 0.6978 GB, free: 8.551 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.274e-05/0.158, allocations: 86.44 kB / 0.6978 GB, free: 8.449 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.978e-05/0.158, allocations: 5.375 kB / 0.6978 GB, free: 8.445 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.541e-05/0.1581, allocations: 12.05 kB / 0.6979 GB, free: 8.438 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.717e-05/0.1582, allocations: 2.75 kB / 0.6979 GB, free: 8.438 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.786e-06/0.1582, allocations: 5.359 kB / 0.6979 GB, free: 8.434 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.707e-05/0.1582, allocations: 88.91 kB / 0.6979 GB, free: 8.355 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1582, allocations: 0 / 0.6979 GB, free: 8.355 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002545/0.1585, allocations: 17.75 kB / 0.698 GB, free: 8.352 MB / 0.5137 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.0001915/0.1587, allocations: 111.8 kB / 0.6981 GB, free: 8.254 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.000312/0.159, allocations: 77 kB / 0.6981 GB, free: 8.223 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.159, allocations: 0 / 0.6981 GB, free: 8.223 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001192/0.1592, allocations: 35.89 kB / 0.6982 GB, free: 8.207 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002696/0.1594, allocations: 19.39 kB / 0.6982 GB, free: 8.195 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003394/0.1598, allocations: 157.3 kB / 0.6983 GB, free: 8.051 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003325/0.1601, allocations: 0.6895 MB / 0.699 GB, free: 7.348 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.245e-05/0.1602, allocations: 5.219 kB / 0.699 GB, free: 7.348 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.938e-05/0.1602, allocations: 10.62 kB / 0.699 GB, free: 7.34 MB / 0.5137 GB Notification: Performance of SimCode: time 2.51e-07/0.1602, allocations: 0 / 0.699 GB, free: 7.34 MB / 0.5137 GB Notification: Performance of Templates: time 0.003969/0.1642, allocations: 0.9845 MB / 0.7 GB, free: 6.512 MB / 0.5137 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.814154002815485] Failed to read output from testmodel.py, exit status != 0: 0.4543763711117208 0.18342971400000002 0.028892731 Calling exit ...