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.001249/0.001249, allocations: 80.55 kB / 19.96 MB, free: 4.602 MB / 18.57 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.001498/0.001498, allocations: 177.2 kB / 23.24 MB, free: 1.324 MB / 18.57 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.9676/0.9676, allocations: 177.1 MB / 203.5 MB, free: 5.762 MB / 186.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.957/1.957, allocations: 389.6 MB / 0.6343 GB, free: 12.59 MB / 0.6042 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 2.024e-06/2.024e-06, allocations: 0 / 1.001 GB, free: 13.54 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.843e-05/3.046e-05, allocations: 6.078 kB / 1.001 GB, free: 13.54 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.003036/0.003067, allocations: 1.389 MB / 1.002 GB, free: 12.14 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0001642/0.003231, allocations: 43.83 kB / 1.002 GB, free: 12.09 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.356e-05/0.003295, allocations: 7.875 kB / 1.002 GB, free: 12.09 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0001852/0.00348, allocations: 3.938 kB / 1.002 GB, free: 12.08 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0001385/0.003618, allocations: 15.92 kB / 1.002 GB, free: 12.07 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 5.972e-06/0.003624, allocations: 0 / 1.002 GB, free: 12.07 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 9.487e-05/0.003719, allocations: 15.94 kB / 1.002 GB, free: 12.05 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 5.22e-05/0.003771, allocations: 11.97 kB / 1.002 GB, free: 12.04 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 5.731e-05/0.003829, allocations: 7.938 kB / 1.002 GB, free: 12.03 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 5.31e-05/0.003882, allocations: 7.984 kB / 1.002 GB, free: 12.02 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.811e-05/0.0039, allocations: 4 kB / 1.002 GB, free: 12.02 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 5.034e-05/0.00395, allocations: 11.94 kB / 1.002 GB, free: 12.01 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 4.765e-05/0.003998, allocations: 7.938 kB / 1.002 GB, free: 12 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.952e-05/0.004017, allocations: 4 kB / 1.002 GB, free: 12 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001187/0.004136, allocations: 31.89 kB / 1.002 GB, free: 11.96 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.405e-06/0.004139, allocations: 0 / 1.002 GB, free: 11.96 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.553e-06/0.00414, allocations: 0 / 1.002 GB, free: 11.96 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.004145, allocations: 0 / 1.002 GB, free: 11.96 MB / 0.9636 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.000323/0.004468, allocations: 258.2 kB / 1.002 GB, free: 11.68 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.803e-05/0.004516, allocations: 9.344 kB / 1.002 GB, free: 11.67 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.09e-05/0.004557, allocations: 34.75 kB / 1.002 GB, free: 11.63 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.951e-05/0.004587, allocations: 8.891 kB / 1.002 GB, free: 11.62 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002162/0.004803, allocations: 113.8 kB / 1.003 GB, free: 11.48 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.026e-05/0.004813, allocations: 384 / 1.003 GB, free: 11.48 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.267e-06/0.004822, allocations: 4.359 kB / 1.003 GB, free: 11.48 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000104/0.004926, allocations: 30.27 kB / 1.003 GB, free: 11.45 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.004936, allocations: 4.125 kB / 1.003 GB, free: 11.44 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.548e-06/0.004945, allocations: 384 / 1.003 GB, free: 11.44 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.423e-05/0.00497, allocations: 8.109 kB / 1.003 GB, free: 11.43 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.45e-05/0.004994, allocations: 8 kB / 1.003 GB, free: 11.43 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001444/0.005138, allocations: 120.8 kB / 1.003 GB, free: 11.27 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 4.986e-05/0.005188, allocations: 26.58 kB / 1.003 GB, free: 11.23 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.16e-05/0.00521, allocations: 8.844 kB / 1.003 GB, free: 11.22 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.779e-05/0.005228, allocations: 0 / 1.003 GB, free: 11.22 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.341e-05/0.005251, allocations: 38.56 kB / 1.003 GB, free: 11.17 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=1): time 1.082e-06/0.005252, allocations: 0 / 1.003 GB, free: 11.17 MB / 0.9636 GB Notification: Performance of matching and sorting (n=1): time 0.0001344/0.005387, allocations: 37.66 kB / 1.003 GB, free: 11.13 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.304e-05/0.00543, allocations: 59.34 kB / 1.003 GB, free: 11.06 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.57e-05/0.005525, allocations: 113.8 kB / 1.003 GB, free: 10.94 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 8.592e-05/0.005611, allocations: 29.7 kB / 1.003 GB, free: 10.9 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.37e-05/0.005645, allocations: 84.12 kB / 1.003 GB, free: 10.82 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.98e-05/0.005665, allocations: 4.953 kB / 1.003 GB, free: 10.81 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.127e-05/0.005696, allocations: 17.72 kB / 1.003 GB, free: 10.79 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.797e-05/0.005784, allocations: 310.8 kB / 1.003 GB, free: 10.48 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.058e-05/0.005795, allocations: 7.938 kB / 1.003 GB, free: 10.47 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.374e-06/0.005802, allocations: 3.938 kB / 1.003 GB, free: 10.46 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.07e-05/0.005833, allocations: 20.78 kB / 1.003 GB, free: 10.44 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.005836, allocations: 4 kB / 1.003 GB, free: 10.44 MB / 0.9636 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.814e-05/0.005894, allocations: 37.66 kB / 1.004 GB, free: 10.39 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/0.005906, allocations: 4 kB / 1.004 GB, free: 10.39 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.005911, allocations: 4.094 kB / 1.004 GB, free: 10.39 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.005923, allocations: 0 / 1.004 GB, free: 10.39 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.279e-05/0.005976, allocations: 7.938 kB / 1.004 GB, free: 10.38 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.005981, allocations: 0 / 1.004 GB, free: 10.38 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.355e-05/0.005994, allocations: 0 / 1.004 GB, free: 10.38 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.64e-06/0.006, allocations: 0 / 1.004 GB, free: 10.38 MB / 0.9636 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 6.674e-05/0.006067, allocations: 120.5 kB / 1.004 GB, free: 10.25 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.624e-06/0.006074, allocations: 0 / 1.004 GB, free: 10.25 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.478e-05/0.006159, allocations: 41.11 kB / 1.004 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.006162, allocations: 3.984 kB / 1.004 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.006167, allocations: 7.969 kB / 1.004 GB, free: 10.19 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.848e-06/0.006171, allocations: 4 kB / 1.004 GB, free: 10.19 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.36e-05/0.006255, allocations: 124.7 kB / 1.004 GB, free: 10.02 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.006258, allocations: 3.984 kB / 1.004 GB, free: 10.02 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.343e-05/0.006271, allocations: 0 / 1.004 GB, free: 10.02 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.006274, allocations: 0 / 1.004 GB, free: 10.02 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.953e-06/0.006281, allocations: 4 kB / 1.004 GB, free: 10.02 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.006282, allocations: 0 / 1.004 GB, free: 10.02 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.006284, allocations: 3.938 kB / 1.004 GB, free: 10.01 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.411e-05/0.006348, allocations: 65.03 kB / 1.004 GB, free: 9.93 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 7.554e-06/0.006356, allocations: 8.016 kB / 1.004 GB, free: 9.922 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.202e-05/0.006368, allocations: 4 kB / 1.004 GB, free: 9.918 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.824e-06/0.006376, allocations: 0 / 1.004 GB, free: 9.918 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.633e-05/0.006392, allocations: 3.938 kB / 1.004 GB, free: 9.914 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.334e-06/0.006394, allocations: 0 / 1.004 GB, free: 9.914 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 4.422e-05/0.006439, allocations: 91.27 kB / 1.004 GB, free: 9.824 MB / 0.9636 GB Notification: Performance of sort global known variables: time 8.1e-08/0.006439, allocations: 0 / 1.004 GB, free: 9.824 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001979/0.006637, allocations: 4 kB / 1.004 GB, free: 9.82 MB / 0.9636 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.0004097/0.007046, allocations: 0.6133 MB / 1.005 GB, free: 9.184 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 7.097e-05/0.007117, allocations: 19.94 kB / 1.005 GB, free: 9.164 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.007119, allocations: 0 / 1.005 GB, free: 9.164 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 5.139e-06/0.007124, allocations: 0 / 1.005 GB, free: 9.164 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001453/0.007269, allocations: 7.938 kB / 1.005 GB, free: 9.156 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001007/0.008276, allocations: 1.106 MB / 1.006 GB, free: 7.965 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.621e-05/0.008322, allocations: 67.5 kB / 1.006 GB, free: 7.879 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 3.94e-05/0.008362, allocations: 3.984 kB / 1.006 GB, free: 7.875 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.057e-05/0.008392, allocations: 12.5 kB / 1.006 GB, free: 7.863 MB / 0.9636 GB Notification: Performance of SimCode: time 6.11e-07/0.008393, allocations: 0 / 1.006 GB, free: 7.863 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08604/0.09443, allocations: 2.034 MB / 1.008 GB, free: 5.965 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.273/7.367, allocations: 3 kB / 1.008 GB, free: 5.965 MB / 0.9636 GB " [Timeout remaining time 293] (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: 12.209520584903657]