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.001715/0.001715, 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.001957/0.001957, allocations: 213.6 kB / 23.75 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.46/1.46, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.9625/0.9625, allocations: 149.9 MB / 463.8 MB, free: 10.37 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.002075/0.002075, allocations: 72.11 kB / 0.6423 GB, free: 9.684 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1802/0.1823, allocations: 89.17 MB / 0.7294 GB, free: 0.5781 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler): time 0.002168/0.1844, allocations: 0.7243 MB / 0.7301 GB, free: 15.85 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001649/0.1861, allocations: 1.186 MB / 0.7312 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.626e-05/0.1861, allocations: 3.938 kB / 0.7312 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.595e-05/0.1862, allocations: 7.875 kB / 0.7312 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.105e-05/0.1862, allocations: 11.92 kB / 0.7312 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005231/0.1867, allocations: 150.7 kB / 0.7314 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001944/0.1869, allocations: 119.8 kB / 0.7315 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.187, allocations: 12.17 kB / 0.7315 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001006/0.1871, allocations: 59.83 kB / 0.7316 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001143/0.1873, allocations: 38.95 kB / 0.7316 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.813e-05/0.1873, allocations: 12 kB / 0.7316 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 7.834e-05/0.1874, allocations: 23.98 kB / 0.7316 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.764e-05/0.1874, allocations: 19.91 kB / 0.7317 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 7.069e-05/0.1875, allocations: 43.86 kB / 0.7317 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002063/0.1877, allocations: 131.5 kB / 0.7318 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.1877, allocations: 4 kB / 0.7318 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.453e-06/0.1877, allocations: 0 / 0.7318 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.21e-06/0.1877, allocations: 0 / 0.7318 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.0006399/0.1883, allocations: 343.8 kB / 0.7322 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.1884, allocations: 12.03 kB / 0.7322 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001058/0.1885, allocations: 8.891 kB / 0.7322 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001258/0.1886, allocations: 122.4 kB / 0.7323 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.737e-05/0.1886, allocations: 4.375 kB / 0.7323 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.608e-05/0.1886, allocations: 12.38 kB / 0.7323 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002136/0.1888, allocations: 78.16 kB / 0.7324 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.1889, allocations: 3.938 kB / 0.7324 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/0.1889, allocations: 0 / 0.7324 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-06/0.1889, allocations: 0 / 0.7324 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001851/0.1891, allocations: 47.95 kB / 0.7324 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004821/0.1895, allocations: 268.3 kB / 0.7327 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001935/0.1897, allocations: 58.55 kB / 0.7328 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001026/0.1898, allocations: 32.89 kB / 0.7328 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.887e-05/0.1899, allocations: 4 kB / 0.7328 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002473/0.1901, allocations: 87.36 kB / 0.7329 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 1.462e-06/0.1901, allocations: 0 / 0.7329 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.0004683/0.1906, allocations: 157.6 kB / 0.733 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.673e-05/0.1906, allocations: 51.41 kB / 0.7331 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001188/0.1907, allocations: 121.8 kB / 0.7332 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.075e-05/0.1908, allocations: 33.64 kB / 0.7332 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.473e-05/0.1908, allocations: 96.09 kB / 0.7333 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.918e-05/0.1909, allocations: 23.78 kB / 0.7333 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.721e-05/0.191, allocations: 33.7 kB / 0.7334 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001729/0.1911, allocations: 326.8 kB / 0.7337 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001841/0.1913, allocations: 81.66 kB / 0.7338 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002223/0.1915, allocations: 122.8 kB / 0.7339 GB, free: 11.74 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003174/0.1919, allocations: 150.7 kB / 0.734 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.1919, allocations: 0 / 0.734 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004978/0.1924, allocations: 248.8 kB / 0.7343 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.588e-05/0.1924, allocations: 39.88 kB / 0.7343 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.1924, allocations: 0 / 0.7343 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.738e-05/0.1924, allocations: 4 kB / 0.7343 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001004/0.1925, allocations: 11.98 kB / 0.7343 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.356e-06/0.1925, allocations: 4 kB / 0.7343 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002019/0.1927, allocations: 36.11 kB / 0.7343 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.928e-05/0.1928, allocations: 11.94 kB / 0.7344 GB, free: 11.2 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.0001183/0.1929, allocations: 124.3 kB / 0.7345 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.741e-05/0.1929, allocations: 19.97 kB / 0.7345 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003117/0.1932, allocations: 126 kB / 0.7346 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.1932, allocations: 0 / 0.7346 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.1932, allocations: 3.938 kB / 0.7346 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.1932, allocations: 7.938 kB / 0.7346 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000437/0.1937, allocations: 322.1 kB / 0.7349 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.1937, allocations: 0 / 0.7349 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.137e-05/0.1937, allocations: 11.98 kB / 0.7349 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.1937, allocations: 0 / 0.7349 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.145e-05/0.1937, allocations: 4 kB / 0.7349 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.1937, allocations: 0 / 0.7349 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.1937, allocations: 0 / 0.7349 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003353/0.1941, allocations: 223.8 kB / 0.7352 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.224e-05/0.1941, allocations: 7.938 kB / 0.7352 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.847e-05/0.1941, allocations: 4 kB / 0.7352 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.42e-05/0.1942, allocations: 8 kB / 0.7352 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.833e-05/0.1942, allocations: 3.984 kB / 0.7352 GB, free: 10.28 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.396e-06/0.1942, allocations: 4 kB / 0.7352 GB, free: 10.28 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.64e-05/0.1943, allocations: 95.2 kB / 0.7353 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.1943, allocations: 0 / 0.7353 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002744/0.1946, allocations: 28 kB / 0.7353 GB, free: 10.16 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.0001625/0.1947, allocations: 107.2 kB / 0.7354 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004146/0.1952, allocations: 189 kB / 0.7356 GB, free: 9.84 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.1952, allocations: 4 kB / 0.7356 GB, free: 9.836 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001262/0.1953, allocations: 43.97 kB / 0.7356 GB, free: 9.793 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002856/0.1956, allocations: 15.64 kB / 0.7356 GB, free: 9.781 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004054/0.196, allocations: 209.2 kB / 0.7358 GB, free: 9.543 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.424e-05/0.196, allocations: 75.27 kB / 0.7359 GB, free: 9.449 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.469e-05/0.1961, allocations: 15.44 kB / 0.7359 GB, free: 9.434 MB / 0.5606 GB Notification: Performance of SimCode: time 3.2e-07/0.1961, allocations: 0 / 0.7359 GB, free: 9.434 MB / 0.5606 GB Notification: Performance of Templates: time 0.003192/0.1993, allocations: 1.308 MB / 0.7372 GB, free: 8.133 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: 7.961761623155326] Failed to read output from testmodel.py, exit status != 0: 0.20800311816856265 0.22266228500000002 0.031831993 Calling exit ...