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.001593/0.001593, allocations: 96.42 kB / 20.45 MB, free: 1.262 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.001464/0.001464, allocations: 212 kB / 23.74 MB, free: 4.445 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.448/1.448, allocations: 230.6 MB / 257.5 MB, free: 7.793 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 1.023/1.023, allocations: 149.9 MB / 463.8 MB, free: 10.36 MB / 366.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.002148/0.002148, allocations: 62.88 kB / 0.6423 GB, free: 9.625 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1911/0.1933, allocations: 89.17 MB / 0.7294 GB, free: 0.5195 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime): time 0.002289/0.1956, allocations: 0.7224 MB / 0.7301 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001462/0.197, allocations: 1.092 MB / 0.7312 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.363e-05/0.1971, allocations: 0 / 0.7312 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.571e-05/0.1971, allocations: 3.938 kB / 0.7312 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.498e-05/0.1972, allocations: 19.81 kB / 0.7312 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003255/0.1975, allocations: 55.81 kB / 0.7312 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001252/0.1976, allocations: 67.78 kB / 0.7313 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001133/0.1977, allocations: 24.16 kB / 0.7313 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 7.723e-05/0.1978, allocations: 23.92 kB / 0.7313 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.193e-05/0.1979, allocations: 31.84 kB / 0.7314 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.848e-05/0.1979, allocations: 4 kB / 0.7314 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 6.119e-05/0.198, allocations: 12 kB / 0.7314 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.797e-05/0.198, allocations: 19.97 kB / 0.7314 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.553e-05/0.198, allocations: 31.86 kB / 0.7314 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001603/0.1982, allocations: 83.62 kB / 0.7315 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.1982, allocations: 0 / 0.7315 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.542e-06/0.1982, allocations: 0 / 0.7315 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.621e-06/0.1982, allocations: 0 / 0.7315 GB, free: 14.32 MB / 0.5606 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.0005523/0.1988, allocations: 306 kB / 0.7318 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.557e-05/0.1988, allocations: 8.031 kB / 0.7318 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.263e-05/0.1988, allocations: 8.891 kB / 0.7318 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001163/0.199, allocations: 110.5 kB / 0.7319 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.792e-05/0.199, allocations: 8.375 kB / 0.7319 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.947e-05/0.199, allocations: 8.375 kB / 0.732 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002026/0.1992, allocations: 70.16 kB / 0.732 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.1992, allocations: 7.875 kB / 0.732 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.1992, allocations: 0 / 0.732 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.439e-06/0.1992, allocations: 0 / 0.732 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001689/0.1994, allocations: 43.95 kB / 0.7321 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006112/0.2, allocations: 264.4 kB / 0.7323 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001809/0.2002, allocations: 58.48 kB / 0.7324 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.279e-05/0.2003, allocations: 24.97 kB / 0.7324 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.632e-05/0.2003, allocations: 4 kB / 0.7324 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000223/0.2005, allocations: 75.38 kB / 0.7325 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 1.283e-06/0.2005, allocations: 0 / 0.7325 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7): time 0.0004493/0.201, allocations: 133.5 kB / 0.7326 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.098e-05/0.201, allocations: 59.41 kB / 0.7327 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001175/0.2011, allocations: 118.8 kB / 0.7328 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.21e-05/0.2012, allocations: 29.7 kB / 0.7328 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.444e-05/0.2012, allocations: 92.08 kB / 0.7329 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.156e-05/0.2013, allocations: 19.84 kB / 0.7329 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.381e-05/0.2013, allocations: 29.7 kB / 0.7329 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001598/0.2015, allocations: 326.8 kB / 0.7333 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001055/0.2016, allocations: 27.97 kB / 0.7333 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001362/0.2017, allocations: 77.81 kB / 0.7334 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002335/0.2019, allocations: 105.9 kB / 0.7335 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.2019, allocations: 0 / 0.7335 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003013/0.2022, allocations: 137.5 kB / 0.7336 GB, free: 12 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.2023, allocations: 10.03 kB / 0.7336 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.2023, allocations: 0 / 0.7336 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.719e-05/0.2023, allocations: 4 kB / 0.7336 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001302/0.2024, allocations: 27.86 kB / 0.7336 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.2024, allocations: 4.219 kB / 0.7336 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.979e-05/0.2025, allocations: 15.92 kB / 0.7336 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.294e-05/0.2025, allocations: 4 kB / 0.7336 GB, free: 11.93 MB / 0.5606 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.0001043/0.2026, allocations: 125.8 kB / 0.7338 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.418e-05/0.2026, allocations: 7.953 kB / 0.7338 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.174e-05/0.2027, allocations: 12.36 kB / 0.7338 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.2027, allocations: 7.938 kB / 0.7338 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.2027, allocations: 0 / 0.7338 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.2027, allocations: 0 / 0.7338 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004698/0.2031, allocations: 318.1 kB / 0.7341 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.2031, allocations: 0 / 0.7341 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.212e-05/0.2032, allocations: 11.92 kB / 0.7341 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.053e-06/0.2032, allocations: 0 / 0.7341 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.166e-06/0.2032, allocations: 0 / 0.7341 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.2032, allocations: 4 kB / 0.7341 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.2032, allocations: 0 / 0.7341 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002987/0.2035, allocations: 207.8 kB / 0.7343 GB, free: 11.19 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.139e-05/0.2035, allocations: 7.953 kB / 0.7343 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.508e-05/0.2035, allocations: 0 / 0.7343 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.244e-05/0.2036, allocations: 7.984 kB / 0.7343 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.027e-05/0.2037, allocations: 8 kB / 0.7343 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.883e-06/0.2037, allocations: 3.938 kB / 0.7343 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.124e-05/0.2037, allocations: 95.27 kB / 0.7344 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7.1e-08/0.2037, allocations: 0 / 0.7344 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002513/0.204, allocations: 15.94 kB / 0.7344 GB, free: 11.05 MB / 0.5606 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.0001668/0.2041, allocations: 115.2 kB / 0.7346 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002853/0.2044, allocations: 79.94 kB / 0.7346 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.2044, allocations: 0 / 0.7346 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001093/0.2045, allocations: 27.98 kB / 0.7347 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002824/0.2048, allocations: 16.48 kB / 0.7347 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003935/0.2052, allocations: 196.2 kB / 0.7349 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.807e-05/0.2053, allocations: 83.2 kB / 0.7349 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.705e-05/0.2053, allocations: 11.44 kB / 0.7349 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of SimCode: time 3.61e-07/0.2053, allocations: 0 / 0.7349 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of Templates: time 0.003103/0.2084, allocations: 1.066 MB / 0.736 GB, free: 9.422 MB / 0.5606 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 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.967936913948506] Failed to read output from testmodel.py, exit status != 0: 0.21719306195154786 0.230922976 0.029774104000000003 Calling exit ...