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.001697/0.001697, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.002031/0.002031, allocations: 210.7 kB / 22.99 MB, free: 4.605 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.492/1.492, allocations: 230.6 MB / 256.8 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 0.9767/0.9767, allocations: 149.9 MB / 463 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.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.002055/0.002055, allocations: 74.02 kB / 0.6415 GB, free: 9.672 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1832/0.1853, allocations: 89.17 MB / 0.7286 GB, free: 0.5625 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler): time 0.002053/0.1873, allocations: 0.7181 MB / 0.7293 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001725/0.1891, allocations: 1.174 MB / 0.7305 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.804e-05/0.1891, allocations: 4 kB / 0.7305 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.338e-05/0.1891, allocations: 3.938 kB / 0.7305 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 9.697e-05/0.1892, allocations: 19.84 kB / 0.7305 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00055/0.1898, allocations: 141.6 kB / 0.7306 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001986/0.19, allocations: 131.7 kB / 0.7308 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001123/0.1901, allocations: 16.16 kB / 0.7308 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001064/0.1902, allocations: 51.91 kB / 0.7308 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001032/0.1903, allocations: 43.81 kB / 0.7309 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.871e-05/0.1903, allocations: 16 kB / 0.7309 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 8.476e-05/0.1904, allocations: 27.98 kB / 0.7309 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.069e-05/0.1905, allocations: 15.92 kB / 0.7309 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.983e-05/0.1905, allocations: 43.84 kB / 0.731 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002174/0.1907, allocations: 123.6 kB / 0.7311 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.1907, allocations: 0 / 0.7311 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.673e-06/0.1908, allocations: 0 / 0.7311 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.7e-06/0.1908, allocations: 0 / 0.7311 GB, free: 14.03 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006903/0.1914, allocations: 347.7 kB / 0.7314 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/0.1915, allocations: 12.03 kB / 0.7314 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001249/0.1916, allocations: 20.81 kB / 0.7314 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000117/0.1917, allocations: 122.4 kB / 0.7316 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.318e-05/0.1918, allocations: 12.38 kB / 0.7316 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.221e-05/0.1918, allocations: 4.375 kB / 0.7316 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002098/0.192, allocations: 70.22 kB / 0.7316 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.192, allocations: 3.938 kB / 0.7316 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.289e-05/0.192, allocations: 4 kB / 0.7316 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.192, allocations: 0 / 0.7316 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00018/0.1922, allocations: 55.89 kB / 0.7317 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004896/0.1927, allocations: 260.4 kB / 0.7319 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001767/0.1929, allocations: 58.58 kB / 0.732 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001004/0.193, allocations: 36.95 kB / 0.732 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.126e-05/0.193, allocations: 0 / 0.732 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002533/0.1932, allocations: 87.34 kB / 0.7321 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 1.243e-06/0.1932, allocations: 4 kB / 0.7321 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.0004501/0.1937, allocations: 149.5 kB / 0.7323 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.36e-05/0.1937, allocations: 59.39 kB / 0.7323 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.96e-05/0.1938, allocations: 116.8 kB / 0.7324 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.758e-05/0.1939, allocations: 37.64 kB / 0.7325 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.129e-05/0.194, allocations: 96.08 kB / 0.7326 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.991e-05/0.194, allocations: 27.78 kB / 0.7326 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.187e-05/0.1941, allocations: 37.7 kB / 0.7326 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001556/0.1942, allocations: 326.8 kB / 0.7329 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001796/0.1944, allocations: 81.66 kB / 0.733 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002063/0.1946, allocations: 118.8 kB / 0.7331 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002814/0.1949, allocations: 150.7 kB / 0.7333 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.1949, allocations: 4 kB / 0.7333 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005509/0.1954, allocations: 244.8 kB / 0.7335 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.567e-05/0.1955, allocations: 36.05 kB / 0.7335 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.1955, allocations: 0 / 0.7335 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.818e-05/0.1955, allocations: 4 kB / 0.7335 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001052/0.1956, allocations: 20.14 kB / 0.7336 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.734e-06/0.1956, allocations: 4 kB / 0.7336 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001992/0.1958, allocations: 31.95 kB / 0.7336 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.209e-05/0.1958, allocations: 8 kB / 0.7336 GB, free: 11.19 MB / 0.5606 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.0002392/0.1961, allocations: 133.7 kB / 0.7337 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.372e-05/0.1961, allocations: 3.953 kB / 0.7337 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003054/0.1964, allocations: 130.2 kB / 0.7339 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.1964, allocations: 4 kB / 0.7339 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.1964, allocations: 0 / 0.7339 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.1964, allocations: 3.984 kB / 0.7339 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004385/0.1968, allocations: 326 kB / 0.7342 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.1969, allocations: 0 / 0.7342 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.771e-05/0.1969, allocations: 7.984 kB / 0.7342 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.29e-06/0.1969, allocations: 4 kB / 0.7342 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.428e-06/0.1969, allocations: 4 kB / 0.7342 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.1969, allocations: 0 / 0.7342 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1969, allocations: 0 / 0.7342 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003252/0.1972, allocations: 227.3 kB / 0.7344 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.227e-05/0.1973, allocations: 7.953 kB / 0.7344 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.596e-05/0.1973, allocations: 3.938 kB / 0.7344 GB, free: 10.28 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.199e-05/0.1974, allocations: 7.984 kB / 0.7344 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.538e-05/0.1974, allocations: 4 kB / 0.7344 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.839e-06/0.1974, allocations: 7.984 kB / 0.7344 GB, free: 10.26 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.829e-05/0.1975, allocations: 95.22 kB / 0.7345 GB, free: 10.17 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.1975, allocations: 0 / 0.7345 GB, free: 10.17 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002604/0.1977, allocations: 27.98 kB / 0.7346 GB, free: 10.14 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 ($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.0001428/0.1979, allocations: 99.25 kB / 0.7347 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004049/0.1983, allocations: 197 kB / 0.7348 GB, free: 9.824 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.1983, allocations: 0 / 0.7348 GB, free: 9.824 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001207/0.1984, allocations: 44.22 kB / 0.7349 GB, free: 9.781 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002748/0.1987, allocations: 15.98 kB / 0.7349 GB, free: 9.766 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004096/0.1991, allocations: 171.2 kB / 0.7351 GB, free: 9.57 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.821e-05/0.1992, allocations: 79.27 kB / 0.7351 GB, free: 9.473 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.506e-05/0.1992, allocations: 7.984 kB / 0.7351 GB, free: 9.465 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.873e-05/0.1992, allocations: 15.44 kB / 0.7352 GB, free: 9.449 MB / 0.5606 GB Notification: Performance of SimCode: time 3.3e-07/0.1992, allocations: 0 / 0.7352 GB, free: 9.449 MB / 0.5606 GB Notification: Performance of Templates: time 0.005225/0.2044, allocations: 1.598 MB / 0.7367 GB, free: 7.895 MB / 0.5606 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 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.839305270463228] Failed to read output from testmodel.py, exit status != 0: 0.21365900710225105 0.22878630100000003 0.034860305 Calling exit ...