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.001691/0.001691, allocations: 119.2 kB / 19.7 MB, free: 2.188 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.002033/0.002033, allocations: 220 kB / 23 MB, free: 5.004 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.504/1.504, allocations: 230.6 MB / 256.8 MB, free: 7.992 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.9378/0.9378, allocations: 150 MB / 463.2 MB, free: 10.51 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: "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Discrete_Validation_TriggeredSampler",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Discrete_Validation_TriggeredSampler",fmuType="me",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.002166/0.002166, allocations: 62.59 kB / 0.6413 GB, free: 10.38 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1818/0.1839, allocations: 89.17 MB / 0.7283 GB, free: 1.266 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler): time 0.002029/0.186, allocations: 0.7438 MB / 0.7291 GB, free: 0.5195 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001778/0.1877, allocations: 1.209 MB / 0.7302 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.871e-05/0.1878, allocations: 0 / 0.7302 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 4.143e-05/0.1878, allocations: 7.875 kB / 0.7303 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 8.914e-05/0.1879, allocations: 15.94 kB / 0.7303 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005543/0.1885, allocations: 147.6 kB / 0.7304 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.000199/0.1887, allocations: 119.8 kB / 0.7305 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001064/0.1888, allocations: 24.11 kB / 0.7305 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001154/0.1889, allocations: 51.89 kB / 0.7306 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001144/0.189, allocations: 39.89 kB / 0.7306 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.584e-05/0.1891, allocations: 15.94 kB / 0.7306 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 7.817e-05/0.1891, allocations: 31.98 kB / 0.7307 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.775e-05/0.1892, allocations: 19.97 kB / 0.7307 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 7.392e-05/0.1892, allocations: 47.78 kB / 0.7307 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000209/0.1894, allocations: 127.8 kB / 0.7309 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.1894, allocations: 0 / 0.7309 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.673e-06/0.1894, allocations: 0 / 0.7309 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.095e-05/0.1895, allocations: 0 / 0.7309 GB, free: 14.66 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.0006707/0.1901, allocations: 343.8 kB / 0.7312 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 6.865e-05/0.1902, allocations: 12.03 kB / 0.7312 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.934e-05/0.1902, allocations: 38.73 kB / 0.7312 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001207/0.1904, allocations: 16.89 kB / 0.7313 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001224/0.1905, allocations: 120.5 kB / 0.7314 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.538e-05/0.1905, allocations: 8.375 kB / 0.7314 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.199e-05/0.1905, allocations: 12.36 kB / 0.7314 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002271/0.1908, allocations: 73.91 kB / 0.7315 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.1908, allocations: 0 / 0.7315 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.662e-05/0.1908, allocations: 11.94 kB / 0.7315 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.1908, allocations: 0 / 0.7315 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001907/0.191, allocations: 47.95 kB / 0.7315 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005791/0.1916, allocations: 311.7 kB / 0.7318 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001879/0.1918, allocations: 54.55 kB / 0.7319 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001001/0.1919, allocations: 28.95 kB / 0.7319 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.722e-05/0.1919, allocations: 8 kB / 0.7319 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002761/0.1922, allocations: 91.39 kB / 0.732 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 1.352e-06/0.1922, allocations: 0 / 0.732 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.0004693/0.1926, allocations: 141.8 kB / 0.7321 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.844e-05/0.1927, allocations: 63.41 kB / 0.7322 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001112/0.1928, allocations: 121.8 kB / 0.7323 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.653e-05/0.1928, allocations: 29.7 kB / 0.7323 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.684e-05/0.1929, allocations: 92.09 kB / 0.7324 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.243e-05/0.1929, allocations: 27.78 kB / 0.7324 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.169e-05/0.193, allocations: 37.7 kB / 0.7325 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001431/0.1931, allocations: 322.8 kB / 0.7328 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001536/0.1933, allocations: 51.97 kB / 0.7328 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001755/0.1935, allocations: 93.05 kB / 0.7329 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002834/0.1938, allocations: 158.7 kB / 0.7331 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.1938, allocations: 0 / 0.7331 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004607/0.1942, allocations: 211.1 kB / 0.7333 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.355e-05/0.1943, allocations: 37.86 kB / 0.7333 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-06/0.1943, allocations: 4 kB / 0.7333 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.1943, allocations: 0 / 0.7333 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001035/0.1944, allocations: 15.98 kB / 0.7333 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.117e-05/0.1944, allocations: 12 kB / 0.7333 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002014/0.1946, allocations: 35.95 kB / 0.7334 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.082e-05/0.1946, allocations: 7.938 kB / 0.7334 GB, free: 11.82 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.0001123/0.1947, allocations: 128.6 kB / 0.7335 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.696e-05/0.1947, allocations: 7.953 kB / 0.7335 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003004/0.195, allocations: 125.9 kB / 0.7336 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.195, allocations: 0 / 0.7336 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.1951, allocations: 0 / 0.7336 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.102e-06/0.1951, allocations: 3.984 kB / 0.7336 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004536/0.1955, allocations: 353.5 kB / 0.734 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.1955, allocations: 0 / 0.734 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.949e-05/0.1956, allocations: 11.98 kB / 0.734 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.1956, allocations: 48 / 0.734 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.143e-05/0.1956, allocations: 3.984 kB / 0.734 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.457e-06/0.1956, allocations: 3.938 kB / 0.734 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.1956, allocations: 7.938 kB / 0.734 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003092/0.1959, allocations: 215.4 kB / 0.7342 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.437e-05/0.1959, allocations: 15.89 kB / 0.7342 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.744e-05/0.1959, allocations: 3.984 kB / 0.7342 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.491e-05/0.196, allocations: 11.94 kB / 0.7342 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.387e-05/0.1961, allocations: 3.984 kB / 0.7342 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.222e-06/0.1961, allocations: 4 kB / 0.7343 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.44e-05/0.1961, allocations: 97.34 kB / 0.7343 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.1961, allocations: 4 kB / 0.7343 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002601/0.1964, allocations: 24 kB / 0.7344 GB, free: 10.74 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.0006437/0.197, allocations: 0.7514 MB / 0.7351 GB, free: 9.961 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003809/0.1974, allocations: 167.3 kB / 0.7353 GB, free: 9.785 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.1974, allocations: 0 / 0.7353 GB, free: 9.785 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001143/0.1975, allocations: 31.97 kB / 0.7353 GB, free: 9.754 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002774/0.1978, allocations: 23.86 kB / 0.7353 GB, free: 9.73 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002125/0.1999, allocations: 1.712 MB / 0.737 GB, free: 7.898 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003123/0.2002, allocations: 0.6923 MB / 0.7377 GB, free: 7.18 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.276e-05/0.2003, allocations: 7.984 kB / 0.7377 GB, free: 7.172 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.636e-05/0.2003, allocations: 19.44 kB / 0.7377 GB, free: 7.152 MB / 0.5606 GB Notification: Performance of SimCode: time 3.8e-07/0.2003, allocations: 0 / 0.7377 GB, free: 7.152 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02932/0.2296, allocations: 2.7 MB / 0.7403 GB, free: 4.605 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.25/11.48, allocations: 9.562 kB / 0.7403 GB, free: 4.598 MB / 0.5606 GB " [Timeout remaining time 648] (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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Controls_OBC_CDL_Discrete_Validation_TriggeredSampler.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.355892917999881] Failed to read output from testmodel.py, exit status != 0: 11.583028033001028 11.606408151 11.412263663 Calling exit ...