Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.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.001741/0.001741, allocations: 114.2 kB / 17.84 MB, free: 5.312 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.002171/0.002171, allocations: 203.2 kB / 20.8 MB, free: 2.371 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.592/1.592, allocations: 230.6 MB / 254.2 MB, free: 15.08 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.028/1.028, allocations: 150 MB / 460.2 MB, free: 5.676 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: "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Sources_Validation_SampleTrigger",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Sources_Validation_SampleTrigger",fmuType="cs",version="2.0",platforms={"static"}) [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.002034/0.002034, allocations: 74.34 kB / 0.6368 GB, free: 30.35 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1812/0.1833, allocations: 89.13 MB / 0.7239 GB, free: 4.059 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger): time 0.001949/0.1852, allocations: 0.7339 MB / 0.7246 GB, free: 3.324 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001691/0.1869, allocations: 1.102 MB / 0.7257 GB, free: 2.211 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.96e-05/0.187, allocations: 4 kB / 0.7257 GB, free: 2.207 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.223e-05/0.187, allocations: 3.938 kB / 0.7257 GB, free: 2.203 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.721e-05/0.1871, allocations: 15.86 kB / 0.7257 GB, free: 2.188 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002873/0.1874, allocations: 59.81 kB / 0.7257 GB, free: 2.129 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.000206/0.1876, allocations: 67.84 kB / 0.7258 GB, free: 2.062 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001021/0.1877, allocations: 16.11 kB / 0.7258 GB, free: 2.043 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 7.38e-05/0.1877, allocations: 27.92 kB / 0.7258 GB, free: 2.016 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.7e-05/0.1878, allocations: 35.83 kB / 0.7259 GB, free: 1.98 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.717e-05/0.1878, allocations: 8 kB / 0.7259 GB, free: 1.973 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 6.837e-05/0.1879, allocations: 23.92 kB / 0.7259 GB, free: 1.949 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.102e-05/0.1879, allocations: 11.98 kB / 0.7259 GB, free: 1.938 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.508e-05/0.188, allocations: 27.81 kB / 0.7259 GB, free: 1.91 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002353/0.1882, allocations: 91.89 kB / 0.726 GB, free: 1.82 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.1882, allocations: 0 / 0.726 GB, free: 1.82 MB / 0.5294 GB Notification: Performance of FrontEnd: time 9.92e-07/0.1882, allocations: 0 / 0.726 GB, free: 1.82 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.949e-06/0.1882, allocations: 0 / 0.726 GB, free: 1.82 MB / 0.5294 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.0005961/0.1888, allocations: 387.1 kB / 0.7264 GB, free: 1.391 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.1888, allocations: 8.031 kB / 0.7264 GB, free: 1.383 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.82e-05/0.1889, allocations: 4.188 kB / 0.7264 GB, free: 1.379 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.387e-05/0.1889, allocations: 38.73 kB / 0.7264 GB, free: 1.332 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.014e-05/0.1889, allocations: 8.938 kB / 0.7265 GB, free: 1.324 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001495/0.1891, allocations: 176.3 kB / 0.7266 GB, free: 1.113 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.771e-05/0.1891, allocations: 8.375 kB / 0.7266 GB, free: 1.105 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.434e-05/0.1891, allocations: 4.375 kB / 0.7266 GB, free: 1.102 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002055/0.1893, allocations: 69.78 kB / 0.7267 GB, free: 1.027 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.1893, allocations: 0 / 0.7267 GB, free: 1.027 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.556e-06/0.1893, allocations: 0 / 0.7267 GB, free: 1.027 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.1893, allocations: 4 kB / 0.7267 GB, free: 1.023 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00019/0.1895, allocations: 51.89 kB / 0.7268 GB, free: 0.9727 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006986/0.1902, allocations: 320.7 kB / 0.7271 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001818/0.1904, allocations: 50.55 kB / 0.7271 GB, free: 0.5508 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000106/0.1905, allocations: 32.95 kB / 0.7271 GB, free: 0.5156 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.39e-05/0.1905, allocations: 4.031 kB / 0.7271 GB, free: 0.5117 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002511/0.1908, allocations: 75.38 kB / 0.7272 GB, free: 436 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=7): time 3.416e-06/0.1908, allocations: 3.984 kB / 0.7272 GB, free: 432 kB / 0.5294 GB Notification: Performance of matching and sorting (n=7): time 0.0004462/0.1912, allocations: 137.5 kB / 0.7274 GB, free: 288 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.767e-05/0.1913, allocations: 55.41 kB / 0.7274 GB, free: 220 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002172/0.1915, allocations: 125.8 kB / 0.7275 GB, free: 84 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.122e-05/0.1915, allocations: 25.7 kB / 0.7275 GB, free: 52 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 8.642e-05/0.1916, allocations: 96.08 kB / 0.7276 GB, free: 15.95 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.06e-05/0.1916, allocations: 15.84 kB / 0.7277 GB, free: 15.94 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.812e-05/0.1917, allocations: 33.7 kB / 0.7277 GB, free: 15.9 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001555/0.1919, allocations: 318.8 kB / 0.728 GB, free: 15.58 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000119/0.192, allocations: 31.98 kB / 0.728 GB, free: 15.55 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001543/0.1921, allocations: 69.98 kB / 0.7281 GB, free: 15.46 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002563/0.1924, allocations: 109.9 kB / 0.7282 GB, free: 15.33 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.1924, allocations: 0 / 0.7282 GB, free: 15.33 MB / 0.545 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004179/0.1928, allocations: 137.4 kB / 0.7283 GB, free: 15.19 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.1928, allocations: 11.92 kB / 0.7283 GB, free: 15.18 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.1928, allocations: 4 kB / 0.7283 GB, free: 15.17 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.1928, allocations: 0 / 0.7283 GB, free: 15.17 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001249/0.193, allocations: 15.98 kB / 0.7284 GB, free: 15.16 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.041e-05/0.193, allocations: 7.938 kB / 0.7284 GB, free: 15.15 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.902e-05/0.1931, allocations: 20.09 kB / 0.7284 GB, free: 15.13 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.953e-05/0.1931, allocations: 11.94 kB / 0.7284 GB, free: 15.12 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.0002073/0.1933, allocations: 119.6 kB / 0.7285 GB, free: 14.99 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.354e-05/0.1933, allocations: 4 kB / 0.7285 GB, free: 14.99 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.696e-05/0.1933, allocations: 4.375 kB / 0.7285 GB, free: 14.98 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.1933, allocations: 0 / 0.7285 GB, free: 14.98 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.1933, allocations: 0 / 0.7285 GB, free: 14.98 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.581e-06/0.1933, allocations: 3.984 kB / 0.7285 GB, free: 14.97 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005179/0.1939, allocations: 382.4 kB / 0.7289 GB, free: 14.54 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.1939, allocations: 0 / 0.7289 GB, free: 14.54 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.736e-05/0.1939, allocations: 11.98 kB / 0.7289 GB, free: 14.53 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.1939, allocations: 0 / 0.7289 GB, free: 14.53 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.388e-06/0.1939, allocations: 3.938 kB / 0.7289 GB, free: 14.53 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.1939, allocations: 3.938 kB / 0.7289 GB, free: 14.52 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1939, allocations: 0 / 0.7289 GB, free: 14.52 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003209/0.1943, allocations: 211.4 kB / 0.7291 GB, free: 14.3 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.878e-05/0.1943, allocations: 81.06 kB / 0.7292 GB, free: 14.2 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.908e-05/0.1943, allocations: 3.938 kB / 0.7292 GB, free: 14.2 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.641e-05/0.1944, allocations: 7.984 kB / 0.7292 GB, free: 14.19 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.774e-05/0.1945, allocations: 11.98 kB / 0.7292 GB, free: 14.18 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.831e-06/0.1945, allocations: 0 / 0.7292 GB, free: 14.18 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.831e-05/0.1945, allocations: 98.88 kB / 0.7293 GB, free: 14.09 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.01e-07/0.1945, allocations: 4 kB / 0.7293 GB, free: 14.08 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002562/0.1948, allocations: 19.94 kB / 0.7293 GB, free: 14.06 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.0006904/0.1955, allocations: 0.7319 MB / 0.73 GB, free: 13.3 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002958/0.1958, allocations: 83.81 kB / 0.7301 GB, free: 13.22 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.1958, allocations: 0 / 0.7301 GB, free: 13.22 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001248/0.1959, allocations: 31.98 kB / 0.7301 GB, free: 13.19 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000262/0.1962, allocations: 7.984 kB / 0.7302 GB, free: 13.18 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001944/0.1981, allocations: 1.525 MB / 0.7316 GB, free: 11.54 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003606/0.1985, allocations: 0.6885 MB / 0.7323 GB, free: 10.82 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.662e-05/0.1985, allocations: 8 kB / 0.7323 GB, free: 10.82 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.362e-05/0.1986, allocations: 23.42 kB / 0.7323 GB, free: 10.79 MB / 0.545 GB Notification: Performance of SimCode: time 2.91e-07/0.1986, allocations: 0 / 0.7323 GB, free: 10.79 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02297/0.2215, allocations: 2.146 MB / 0.7344 GB, free: 8.805 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.29/8.512, allocations: 5.75 kB / 0.7344 GB, free: 8.801 MB / 0.545 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Sources_Validation_SampleTrigger_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Sources_Validation_SampleTrigger.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.698089029989205] Failed to read output from testmodel.py, exit status != 0: 8.636706076969858 8.665325548 8.472403502 Calling exit ...