Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler.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.001736/0.001736, allocations: 104.3 kB / 19.69 MB, free: 1.945 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.002069/0.002069, allocations: 221.2 kB / 23 MB, free: 4.973 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.539/1.539, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.018/1.018, allocations: 149.9 MB / 463 MB, free: 10.39 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.Sampler,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Discrete_Validation_Sampler",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Discrete_Validation_Sampler",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.002275/0.002275, allocations: 66.8 kB / 0.6411 GB, free: 10.18 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1769/0.1792, allocations: 89.18 MB / 0.7281 GB, free: 1.07 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler): time 0.002082/0.1812, allocations: 0.6408 MB / 0.7288 GB, free: 440 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001615/0.1829, allocations: 1.073 MB / 0.7298 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.616e-05/0.1829, allocations: 4 kB / 0.7298 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.53e-05/0.1829, allocations: 7.922 kB / 0.7298 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.918e-05/0.183, allocations: 7.938 kB / 0.7298 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000339/0.1834, allocations: 43.83 kB / 0.7299 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001211/0.1835, allocations: 47.86 kB / 0.7299 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001044/0.1836, allocations: 3.984 kB / 0.7299 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 9.248e-05/0.1837, allocations: 31.86 kB / 0.73 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.042e-05/0.1837, allocations: 19.92 kB / 0.73 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.782e-05/0.1837, allocations: 4 kB / 0.73 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 8.008e-05/0.1838, allocations: 19.97 kB / 0.73 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.644e-05/0.1839, allocations: 12 kB / 0.73 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.99e-05/0.1839, allocations: 15.92 kB / 0.73 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001727/0.1841, allocations: 64 kB / 0.7301 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.1841, allocations: 0 / 0.7301 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.004e-06/0.1841, allocations: 0 / 0.7301 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.422e-06/0.1841, allocations: 0 / 0.7301 GB, free: 15.07 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006284/0.1847, allocations: 294.2 kB / 0.7304 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.1847, allocations: 8.031 kB / 0.7304 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.722e-05/0.1848, allocations: 34.75 kB / 0.7304 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.165e-05/0.1849, allocations: 8.891 kB / 0.7304 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001115/0.185, allocations: 110.5 kB / 0.7305 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.255e-05/0.185, allocations: 4.312 kB / 0.7305 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.791e-05/0.185, allocations: 4.375 kB / 0.7305 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002034/0.1852, allocations: 66.16 kB / 0.7306 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.1852, allocations: 7.938 kB / 0.7306 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.967e-06/0.1852, allocations: 4 kB / 0.7306 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.1852, allocations: 0 / 0.7306 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001816/0.1854, allocations: 43.95 kB / 0.7307 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004734/0.1859, allocations: 247.8 kB / 0.7309 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000175/0.1861, allocations: 54.48 kB / 0.7309 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001082/0.1862, allocations: 32.95 kB / 0.731 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.453e-05/0.1862, allocations: 4 kB / 0.731 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002277/0.1864, allocations: 67.39 kB / 0.731 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=6): time 1.503e-06/0.1864, allocations: 0 / 0.731 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of matching and sorting (n=6): time 0.0004174/0.1868, allocations: 121.6 kB / 0.7312 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.886e-05/0.1869, allocations: 51.41 kB / 0.7312 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.798e-05/0.187, allocations: 109.8 kB / 0.7313 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.133e-05/0.187, allocations: 33.7 kB / 0.7313 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.285e-05/0.1871, allocations: 88.12 kB / 0.7314 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.495e-05/0.1871, allocations: 11.91 kB / 0.7314 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.381e-05/0.1872, allocations: 21.72 kB / 0.7315 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001587/0.1873, allocations: 318.8 kB / 0.7318 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001028/0.1874, allocations: 31.92 kB / 0.7318 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001281/0.1875, allocations: 51.39 kB / 0.7318 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002152/0.1878, allocations: 87.31 kB / 0.7319 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.1878, allocations: 0 / 0.7319 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002882/0.1881, allocations: 97.58 kB / 0.732 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/0.1881, allocations: 8 kB / 0.732 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.1881, allocations: 3.938 kB / 0.732 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.165e-05/0.1881, allocations: 0 / 0.732 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001099/0.1882, allocations: 20.08 kB / 0.732 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.171e-06/0.1882, allocations: 0 / 0.732 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.786e-05/0.1883, allocations: 11.95 kB / 0.7321 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.45e-05/0.1883, allocations: 8.484 kB / 0.7321 GB, free: 12.82 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 (sampler1.firstTrigger,$PRE.sampler1.firstTrigger,sampler1.sampleTrigger,$whenCondition1,sampler1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.0001073/0.1884, allocations: 124.7 kB / 0.7322 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.459e-05/0.1884, allocations: 4 kB / 0.7322 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003041/0.1887, allocations: 102 kB / 0.7323 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.354e-06/0.1887, allocations: 8 kB / 0.7323 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.1887, allocations: 4 kB / 0.7323 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.1887, allocations: 0 / 0.7323 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004863/0.1892, allocations: 325.5 kB / 0.7326 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.1892, allocations: 4 kB / 0.7326 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.92e-05/0.1893, allocations: 7.984 kB / 0.7326 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.1893, allocations: 0 / 0.7326 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.014e-05/0.1893, allocations: 4 kB / 0.7326 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.1893, allocations: 3.938 kB / 0.7326 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.1893, allocations: 4 kB / 0.7326 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003051/0.1896, allocations: 191.4 kB / 0.7328 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.084e-05/0.1896, allocations: 7.953 kB / 0.7328 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.528e-05/0.1896, allocations: 0 / 0.7328 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.615e-05/0.1897, allocations: 7.984 kB / 0.7328 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.686e-05/0.1898, allocations: 11.94 kB / 0.7328 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.504e-05/0.1898, allocations: 7.938 kB / 0.7328 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.963e-05/0.1899, allocations: 83.27 kB / 0.7329 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.1899, allocations: 0 / 0.7329 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002516/0.1901, allocations: 16 kB / 0.7329 GB, free: 11.84 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: 4 (sampler1.sampleTrigger,$whenCondition1,sampler1.y,sampler1.firstTrigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * 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.0006975/0.1908, allocations: 0.7167 MB / 0.7336 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002713/0.1911, allocations: 71.81 kB / 0.7337 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.1911, allocations: 0 / 0.7337 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001121/0.1912, allocations: 36.23 kB / 0.7337 GB, free: 11 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002776/0.1915, allocations: 21.89 kB / 0.7338 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001885/0.1934, allocations: 1.372 MB / 0.7351 GB, free: 9.504 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.038e-05/0.1934, allocations: 71.3 kB / 0.7352 GB, free: 9.414 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.616e-05/0.1935, allocations: 7.984 kB / 0.7352 GB, free: 9.406 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.746e-05/0.1935, allocations: 15.44 kB / 0.7352 GB, free: 9.391 MB / 0.5606 GB Notification: Performance of SimCode: time 7.01e-07/0.1935, allocations: 0 / 0.7352 GB, free: 9.391 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0291/0.2226, allocations: 2.298 MB / 0.7374 GB, free: 7.234 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.38/11.6, allocations: 12.36 kB / 0.7375 GB, free: 7.227 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler_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_Sampler.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.670852266717702] Failed to read output from testmodel.py, exit status != 0: 11.70963336713612 11.724972016 11.537764477 Calling exit ...