Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.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.001127/0.001127, allocations: 104.3 kB / 19.72 MB, free: 424 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.0008825/0.0008825, allocations: 218.9 kB / 23.02 MB, free: 2.961 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.9497/0.9497, allocations: 230.6 MB / 256.8 MB, free: 9.605 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 2.035/2.035, allocations: 0.5046 GB / 0.8104 GB, free: 2.801 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.WeeklySchedule,fileNamePrefix="Buildings_13_Buildings_Utilities_IO_Files_Examples_WeeklySchedule",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.WeeklySchedule,fileNamePrefix="Buildings_13_Buildings_Utilities_IO_Files_Examples_WeeklySchedule",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001152/0.001152, allocations: 67.91 kB / 1.177 GB, free: 12.04 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7104/0.7116, allocations: 180 MB / 1.352 GB, free: 1.715 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule): time 0.002128/0.7137, allocations: 1.502 MB / 1.354 GB, free: 208 kB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.001216/0.7149, allocations: 1.2 MB / 1.355 GB, free: 15 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.381e-05/0.715, allocations: 0 / 1.355 GB, free: 15 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001832/0.7151, allocations: 19.88 kB / 1.355 GB, free: 14.98 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001881/0.7153, allocations: 47.7 kB / 1.355 GB, free: 14.93 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001535/0.7155, allocations: 62.36 kB / 1.355 GB, free: 14.87 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.0002333/0.7157, allocations: 147.6 kB / 1.355 GB, free: 14.73 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001397/0.7159, allocations: 39.47 kB / 1.355 GB, free: 14.69 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 8.038e-05/0.7159, allocations: 83.75 kB / 1.355 GB, free: 14.61 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001065/0.716, allocations: 51.72 kB / 1.356 GB, free: 14.56 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 2.723e-05/0.7161, allocations: 8 kB / 1.356 GB, free: 14.55 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 6.426e-05/0.7161, allocations: 27.94 kB / 1.356 GB, free: 14.52 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 7.313e-05/0.7162, allocations: 51.81 kB / 1.356 GB, free: 14.47 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 5.802e-05/0.7163, allocations: 55.7 kB / 1.356 GB, free: 14.42 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.000242/0.7165, allocations: 215.1 kB / 1.356 GB, free: 14.21 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.7165, allocations: 0 / 1.356 GB, free: 14.21 MB / 1.042 GB Notification: Performance of FrontEnd: time 2.254e-06/0.7165, allocations: 0 / 1.356 GB, free: 14.21 MB / 1.042 GB Notification: Performance of Transformations before backend: time 7.684e-06/0.7165, allocations: 0 / 1.356 GB, free: 14.21 MB / 1.042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006026/0.7171, allocations: 429.3 kB / 1.356 GB, free: 13.76 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/0.7172, allocations: 12.92 kB / 1.356 GB, free: 13.75 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.527e-05/0.7172, allocations: 38.75 kB / 1.356 GB, free: 13.7 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.771e-05/0.7173, allocations: 16.84 kB / 1.356 GB, free: 13.68 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000333/0.7176, allocations: 201.9 kB / 1.357 GB, free: 13.46 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001405/0.7178, allocations: 230.1 kB / 1.357 GB, free: 13.19 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.373e-05/0.7178, allocations: 8.359 kB / 1.357 GB, free: 13.18 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002957/0.7181, allocations: 264.3 kB / 1.357 GB, free: 12.89 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.7181, allocations: 0 / 1.357 GB, free: 12.89 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.494e-05/0.7181, allocations: 0 / 1.357 GB, free: 12.89 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.461e-05/0.7181, allocations: 11.98 kB / 1.357 GB, free: 12.88 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.385e-05/0.7182, allocations: 43.97 kB / 1.357 GB, free: 12.84 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006267/0.7188, allocations: 403.5 kB / 1.357 GB, free: 12.4 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 6.139e-05/0.7189, allocations: 34.56 kB / 1.357 GB, free: 12.36 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.317e-05/0.7189, allocations: 28.84 kB / 1.357 GB, free: 12.32 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.681e-05/0.7189, allocations: 7.922 kB / 1.357 GB, free: 12.32 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.291e-05/0.7189, allocations: 34.56 kB / 1.358 GB, free: 12.27 MB / 1.042 GB Notification: Performance of pre-optimization done (n=8): time 1.372e-06/0.7189, allocations: 0 / 1.358 GB, free: 12.27 MB / 1.042 GB Notification: Performance of matching and sorting (n=8): time 0.0002119/0.7192, allocations: 101.6 kB / 1.358 GB, free: 12.17 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.716e-05/0.7192, allocations: 63.28 kB / 1.358 GB, free: 12.09 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001593/0.7193, allocations: 211.8 kB / 1.358 GB, free: 11.87 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 2.005e-05/0.7194, allocations: 29.7 kB / 1.358 GB, free: 11.84 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 6.001e-05/0.7194, allocations: 120.2 kB / 1.358 GB, free: 11.71 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 2.026e-05/0.7194, allocations: 27.75 kB / 1.358 GB, free: 11.69 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.529e-05/0.7195, allocations: 33.7 kB / 1.358 GB, free: 11.65 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 8.336e-05/0.7196, allocations: 326.8 kB / 1.358 GB, free: 11.32 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.741e-05/0.7196, allocations: 23.97 kB / 1.358 GB, free: 11.3 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.585e-05/0.7197, allocations: 106.2 kB / 1.359 GB, free: 11.16 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001183/0.7198, allocations: 134.2 kB / 1.359 GB, free: 10.99 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.7198, allocations: 4 kB / 1.359 GB, free: 10.98 MB / 1.042 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001717/0.72, allocations: 157.3 kB / 1.359 GB, free: 10.82 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.72, allocations: 11.94 kB / 1.359 GB, free: 10.81 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.72, allocations: 0 / 1.359 GB, free: 10.81 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.72, allocations: 7.938 kB / 1.359 GB, free: 10.8 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.924e-05/0.7201, allocations: 27.98 kB / 1.359 GB, free: 10.78 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.7201, allocations: 8.312 kB / 1.359 GB, free: 10.77 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.09e-05/0.7201, allocations: 11.95 kB / 1.359 GB, free: 10.76 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.004e-05/0.7202, allocations: 7.938 kB / 1.359 GB, free: 10.75 MB / 1.042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (12): * Single equations (assignments): 12 * 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 9.884e-05/0.7203, allocations: 149.8 kB / 1.359 GB, free: 10.59 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.084e-05/0.7203, allocations: 15.91 kB / 1.359 GB, free: 10.58 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000168/0.7205, allocations: 115.1 kB / 1.359 GB, free: 10.45 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.7205, allocations: 0 / 1.359 GB, free: 10.45 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.7205, allocations: 3.938 kB / 1.359 GB, free: 10.45 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.125e-06/0.7205, allocations: 0 / 1.359 GB, free: 10.45 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001614/0.7206, allocations: 188.7 kB / 1.359 GB, free: 10.22 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.7206, allocations: 7.938 kB / 1.359 GB, free: 10.21 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.766e-05/0.7207, allocations: 12 kB / 1.359 GB, free: 10.2 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.285e-06/0.7207, allocations: 4 kB / 1.359 GB, free: 10.2 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.244e-06/0.7207, allocations: 3.984 kB / 1.359 GB, free: 10.2 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.7207, allocations: 0 / 1.359 GB, free: 10.2 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.7207, allocations: 3.938 kB / 1.359 GB, free: 10.19 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001437/0.7208, allocations: 191.4 kB / 1.36 GB, free: 9.988 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.561e-05/0.7208, allocations: 15.84 kB / 1.36 GB, free: 9.973 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.503e-05/0.7208, allocations: 4 kB / 1.36 GB, free: 9.969 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001216/0.721, allocations: 19.97 kB / 1.36 GB, free: 9.949 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.791e-05/0.721, allocations: 15.88 kB / 1.36 GB, free: 9.934 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.649e-05/0.721, allocations: 11.98 kB / 1.36 GB, free: 9.922 MB / 1.042 GB Notification: Performance of sorting global known variables: time 9.256e-05/0.7211, allocations: 153.5 kB / 1.36 GB, free: 9.773 MB / 1.042 GB Notification: Performance of sort global known variables: time 6e-08/0.7211, allocations: 4 kB / 1.36 GB, free: 9.77 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0002106/0.7213, allocations: 23.98 kB / 1.36 GB, free: 9.746 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 (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 Backend phase and start with SimCode phase: time 0.0004348/0.7217, allocations: 0.7589 MB / 1.361 GB, free: 8.969 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0001314/0.7219, allocations: 71.83 kB / 1.361 GB, free: 8.898 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.7219, allocations: 0 / 1.361 GB, free: 8.898 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 2.8e-05/0.7219, allocations: 27.92 kB / 1.361 GB, free: 8.871 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002426/0.7221, allocations: 29.44 kB / 1.361 GB, free: 8.844 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001454/0.7236, allocations: 1.913 MB / 1.363 GB, free: 6.785 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.938e-05/0.7237, allocations: 118.5 kB / 1.363 GB, free: 6.648 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 8.483e-05/0.7238, allocations: 56.59 kB / 1.363 GB, free: 6.594 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.889e-05/0.7238, allocations: 43.42 kB / 1.363 GB, free: 6.551 MB / 1.042 GB Notification: Performance of SimCode: time 6.82e-07/0.7238, allocations: 0 / 1.363 GB, free: 6.551 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08323/0.807, allocations: 4.894 MB / 1.368 GB, free: 1.836 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.361/8.168, allocations: 2.062 kB / 1.368 GB, free: 1.836 MB / 1.042 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; mkfifo Buildings_13_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe >> ../files/Buildings_13_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Utilities_IO_Files_Examples_WeeklySchedule_fmu --startTime=-10000 --stopTime=1e+06 --stepSize=404 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Utilities_IO_Files_Examples_WeeklySchedule.fmu) > Buildings_13_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.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.WeeklySchedule_fmpy.pipe ; mkfifo Buildings_13_Buildings.Utilities.IO.Files.Examples.WeeklySchedule_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.IO.Files.Examples.WeeklySchedule_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Utilities.IO.Files.Examples.WeeklySchedule_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Utilities.IO.Files.Examples.WeeklySchedule_fmpy_res.csv --start-time -10000 --stop-time 1e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 404 ../Buildings_13_Buildings_Utilities_IO_Files_Examples_WeeklySchedule.fmu) > Buildings_13_Buildings.Utilities.IO.Files.Examples.WeeklySchedule_fmpy.pipe 2>&1) [Timeout 52.5] fmpy timed out simulating the FMU [Calling sys.exit(0), Time elapsed: 13.186788062565029]