Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.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.0008917/0.0008917, allocations: 104.3 kB / 19.72 MB, free: 428 kB / 13.93 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.001038/0.001038, allocations: 214.8 kB / 23.02 MB, free: 2.965 MB / 13.93 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 0.9767/0.9767, allocations: 230.6 MB / 256.8 MB, free: 9.586 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.99/1.99, allocations: 0.5045 GB / 0.8104 GB, free: 2.727 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19,fileNamePrefix="Buildings_13_Buildings_Utilities_IO_Files_Examples_WeeklySchedule7to19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19,fileNamePrefix="Buildings_13_Buildings_Utilities_IO_Files_Examples_WeeklySchedule7to19",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001017/0.001017, allocations: 71.89 kB / 1.177 GB, free: 11.98 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7438/0.7448, allocations: 180 MB / 1.352 GB, free: 1.66 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.002022/0.7468, allocations: 1.397 MB / 1.354 GB, free: 260 kB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.0001267/0.7469, allocations: 40.36 kB / 1.354 GB, free: 220 kB / 1.026 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.54e-05/0.747, allocations: 8 kB / 1.354 GB, free: 212 kB / 1.026 GB Notification: Performance of NFTyping.typeComponents: time 0.0001669/0.7472, allocations: 11.92 kB / 1.354 GB, free: 200 kB / 1.026 GB Notification: Performance of NFTyping.typeBindings: time 0.0001102/0.7473, allocations: 15.88 kB / 1.354 GB, free: 184 kB / 1.026 GB Notification: Performance of NFTyping.typeClassSections: time 4.879e-06/0.7473, allocations: 0 / 1.354 GB, free: 184 kB / 1.026 GB Notification: Performance of NFFlatten.flatten: time 6.883e-05/0.7473, allocations: 15.98 kB / 1.354 GB, free: 168 kB / 1.026 GB Notification: Performance of NFFlatten.resolveConnections: time 4.483e-05/0.7474, allocations: 0 / 1.354 GB, free: 168 kB / 1.026 GB Notification: Performance of NFEvalConstants.evaluate: time 3.619e-05/0.7474, allocations: 15.86 kB / 1.354 GB, free: 152 kB / 1.026 GB Notification: Performance of NFSimplifyModel.simplify: time 4.862e-05/0.7475, allocations: 7.984 kB / 1.354 GB, free: 144 kB / 1.026 GB Notification: Performance of NFPackage.collectConstants: time 1.602e-05/0.7475, allocations: 3.938 kB / 1.354 GB, free: 140 kB / 1.026 GB Notification: Performance of NFFlatten.collectFunctions: time 4.513e-05/0.7475, allocations: 12 kB / 1.354 GB, free: 128 kB / 1.026 GB Notification: Performance of NFScalarize.scalarize: time 4.017e-05/0.7476, allocations: 0 / 1.354 GB, free: 128 kB / 1.026 GB Notification: Performance of NFVerifyModel.verify: time 1.907e-05/0.7476, allocations: 15.88 kB / 1.354 GB, free: 112 kB / 1.026 GB Notification: Performance of NFConvertDAE.convert: time 0.0001084/0.7477, allocations: 38.08 kB / 1.354 GB, free: 76 kB / 1.026 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.7477, allocations: 0 / 1.354 GB, free: 76 kB / 1.026 GB Notification: Performance of FrontEnd: time 2.525e-06/0.7477, allocations: 0 / 1.354 GB, free: 76 kB / 1.026 GB Notification: Performance of Transformations before backend: time 4.99e-06/0.7477, allocations: 0 / 1.354 GB, free: 76 kB / 1.026 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002893/0.748, allocations: 256 kB / 1.354 GB, free: 15.79 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/0.748, allocations: 8.922 kB / 1.354 GB, free: 15.79 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.712e-05/0.7481, allocations: 30.75 kB / 1.354 GB, free: 15.75 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.253e-05/0.7481, allocations: 4.938 kB / 1.354 GB, free: 15.74 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001818/0.7483, allocations: 122.5 kB / 1.354 GB, free: 15.6 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.406e-06/0.7483, allocations: 4.375 kB / 1.354 GB, free: 15.59 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.272e-06/0.7483, allocations: 384 / 1.354 GB, free: 15.59 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.103e-05/0.7484, allocations: 38.19 kB / 1.354 GB, free: 15.55 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.7484, allocations: 3.938 kB / 1.354 GB, free: 15.55 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.404e-06/0.7484, allocations: 0 / 1.354 GB, free: 15.55 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.801e-05/0.7484, allocations: 4 kB / 1.354 GB, free: 15.54 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.427e-05/0.7484, allocations: 3.984 kB / 1.354 GB, free: 15.54 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001146/0.7485, allocations: 120.8 kB / 1.355 GB, free: 15.38 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 3.938e-05/0.7486, allocations: 22.61 kB / 1.355 GB, free: 15.35 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.646e-05/0.7486, allocations: 8.844 kB / 1.355 GB, free: 15.34 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.049e-05/0.7486, allocations: 8.062 kB / 1.355 GB, free: 15.33 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.982e-05/0.7486, allocations: 34.5 kB / 1.355 GB, free: 15.29 MB / 1.042 GB Notification: Performance of pre-optimization done (n=1): time 6.61e-07/0.7486, allocations: 0 / 1.355 GB, free: 15.29 MB / 1.042 GB Notification: Performance of matching and sorting (n=1): time 0.0001229/0.7488, allocations: 45.58 kB / 1.355 GB, free: 15.23 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.642e-05/0.7488, allocations: 51.41 kB / 1.355 GB, free: 15.17 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.963e-05/0.7489, allocations: 113.8 kB / 1.355 GB, free: 15.05 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 8.576e-06/0.7489, allocations: 25.7 kB / 1.355 GB, free: 15.02 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003/0.7492, allocations: 92.12 kB / 1.355 GB, free: 14.93 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 1.924e-05/0.7492, allocations: 0 / 1.355 GB, free: 14.93 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.995e-05/0.7492, allocations: 9.719 kB / 1.355 GB, free: 14.91 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 7.662e-05/0.7493, allocations: 323 kB / 1.355 GB, free: 14.59 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.045e-05/0.7493, allocations: 0 / 1.355 GB, free: 14.59 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.394e-06/0.7493, allocations: 3.938 kB / 1.355 GB, free: 14.58 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.211e-05/0.7493, allocations: 12.86 kB / 1.355 GB, free: 14.57 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.7493, allocations: 0 / 1.355 GB, free: 14.57 MB / 1.042 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.822e-05/0.7494, allocations: 37.69 kB / 1.355 GB, free: 14.52 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.7494, allocations: 13.97 kB / 1.355 GB, free: 14.51 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.7494, allocations: 0 / 1.355 GB, free: 14.51 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.7494, allocations: 0 / 1.355 GB, free: 14.51 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.222e-05/0.7495, allocations: 96 / 1.355 GB, free: 14.51 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.7495, allocations: 4 kB / 1.355 GB, free: 14.51 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.019e-05/0.7495, allocations: 8 kB / 1.355 GB, free: 14.5 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.749e-06/0.7495, allocations: 3.938 kB / 1.355 GB, free: 14.5 MB / 1.042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 5.179e-05/0.7495, allocations: 109.8 kB / 1.355 GB, free: 14.38 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.071e-06/0.7495, allocations: 11.89 kB / 1.355 GB, free: 14.37 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.799e-05/0.7496, allocations: 49.05 kB / 1.355 GB, free: 14.31 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.7496, allocations: 0 / 1.355 GB, free: 14.31 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.7496, allocations: 0 / 1.355 GB, free: 14.31 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.7496, allocations: 3.984 kB / 1.355 GB, free: 14.31 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.057e-05/0.7497, allocations: 120.8 kB / 1.356 GB, free: 14.15 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.7497, allocations: 4 kB / 1.356 GB, free: 14.14 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.083e-05/0.7497, allocations: 7.984 kB / 1.356 GB, free: 14.14 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.7497, allocations: 3.938 kB / 1.356 GB, free: 14.13 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.561e-06/0.7497, allocations: 0 / 1.356 GB, free: 14.13 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.41e-07/0.7497, allocations: 0 / 1.356 GB, free: 14.13 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.7497, allocations: 0 / 1.356 GB, free: 14.13 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.795e-05/0.7498, allocations: 61.08 kB / 1.356 GB, free: 14.05 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.101e-05/0.7498, allocations: 15.94 kB / 1.356 GB, free: 14.04 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.225e-05/0.7498, allocations: 3.938 kB / 1.356 GB, free: 14.04 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.079e-06/0.7498, allocations: 3.938 kB / 1.356 GB, free: 14.03 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.12e-05/0.7498, allocations: 4.031 kB / 1.356 GB, free: 14.03 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.914e-06/0.7498, allocations: 0 / 1.356 GB, free: 14.03 MB / 1.042 GB Notification: Performance of sorting global known variables: time 3.301e-05/0.7498, allocations: 95.56 kB / 1.356 GB, free: 13.93 MB / 1.042 GB Notification: Performance of sort global known variables: time 6.1e-08/0.7498, allocations: 4 kB / 1.356 GB, free: 13.93 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0001293/0.75, allocations: 0 / 1.356 GB, free: 13.93 MB / 1.042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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 Backend phase and start with SimCode phase: time 0.0003251/0.7503, allocations: 0.6174 MB / 1.356 GB, free: 13.29 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 6.85e-05/0.7504, allocations: 7.938 kB / 1.356 GB, free: 13.28 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.7504, allocations: 0 / 1.356 GB, free: 13.28 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 4.829e-06/0.7504, allocations: 4 kB / 1.356 GB, free: 13.27 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001145/0.7505, allocations: 4 kB / 1.356 GB, free: 13.27 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007504/0.7512, allocations: 1.104 MB / 1.357 GB, free: 12.09 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.306e-05/0.7513, allocations: 63.28 kB / 1.358 GB, free: 12 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 3.505e-05/0.7513, allocations: 8.141 kB / 1.358 GB, free: 12 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.272e-05/0.7514, allocations: 11.44 kB / 1.358 GB, free: 11.98 MB / 1.042 GB Notification: Performance of SimCode: time 6.91e-07/0.7514, allocations: 0 / 1.358 GB, free: 11.98 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08475/0.8361, allocations: 1.884 MB / 1.359 GB, free: 10.24 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.453/8.289, allocations: 5.156 kB / 1.359 GB, free: 10.23 MB / 1.042 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; mkfifo Buildings_13_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe >> ../files/Buildings_13_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Utilities_IO_Files_Examples_WeeklySchedule7to19_fmu --startTime=0 --stopTime=1.2096e+06 --stepSize=483.84 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Utilities_IO_Files_Examples_WeeklySchedule7to19.fmu) > Buildings_13_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe 2>&1) [Timeout 52.5] OMSimulator failed or timed out simulating it; the others still get to run it (rm -f Buildings_13_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19_fmpy.pipe ; mkfifo Buildings_13_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19_fmpy_res.csv --start-time 0 --stop-time 1.2096e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 483.84 ../Buildings_13_Buildings_Utilities_IO_Files_Examples_WeeklySchedule7to19.fmu) > Buildings_13_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19_fmpy.pipe 2>&1) [Timeout 52.5] fmpy timed out simulating the FMU [Calling sys.exit(0), Time elapsed: 13.238864361308515]