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.0008199/0.0008199, allocations: 80.52 kB / 19.95 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.001344/0.001344, allocations: 173.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.919/0.919, allocations: 177.1 MB / 203.5 MB, free: 5.723 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.921/1.921, allocations: 389.6 MB / 0.6343 GB, free: 12.57 MB / 0.6042 GB " [Timeout remaining time 178] 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 1.192e-06/1.192e-06, allocations: 0 / 1.001 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 8.926e-06/1.012e-05, allocations: 2.281 kB / 1.001 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule): time 0.001802/0.001812, allocations: 1.502 MB / 1.002 GB, free: 11.99 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001267/0.00308, allocations: 1.208 MB / 1.003 GB, free: 10.78 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.609e-05/0.003136, allocations: 11.94 kB / 1.003 GB, free: 10.77 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0001544/0.00329, allocations: 23.78 kB / 1.003 GB, free: 10.74 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0001603/0.00345, allocations: 43.72 kB / 1.003 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001239/0.003574, allocations: 51.91 kB / 1.003 GB, free: 10.65 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001467/0.003721, allocations: 151.5 kB / 1.004 GB, free: 10.5 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001173/0.003838, allocations: 41.22 kB / 1.004 GB, free: 10.46 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 9.639e-05/0.003935, allocations: 107.7 kB / 1.004 GB, free: 10.35 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 9.183e-05/0.004027, allocations: 43.89 kB / 1.004 GB, free: 10.31 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.756e-05/0.004054, allocations: 12 kB / 1.004 GB, free: 10.3 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 5.392e-05/0.004108, allocations: 27.98 kB / 1.004 GB, free: 10.27 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 5.552e-05/0.004164, allocations: 43.83 kB / 1.004 GB, free: 10.23 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 4.796e-05/0.004212, allocations: 51.83 kB / 1.004 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001976/0.004409, allocations: 211.4 kB / 1.004 GB, free: 9.969 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.004412, allocations: 4 kB / 1.004 GB, free: 9.965 MB / 0.9636 GB Notification: Performance of FrontEnd: time 6.21e-07/0.004412, allocations: 0 / 1.004 GB, free: 9.965 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.807e-06/0.004416, allocations: 0 / 1.004 GB, free: 9.965 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0004798/0.004896, allocations: 429.3 kB / 1.004 GB, free: 9.516 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.378e-05/0.00493, allocations: 13.34 kB / 1.004 GB, free: 9.504 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.907e-05/0.004969, allocations: 42.73 kB / 1.005 GB, free: 9.453 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.512e-05/0.005014, allocations: 16.84 kB / 1.005 GB, free: 9.438 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002256/0.00524, allocations: 193.4 kB / 1.005 GB, free: 9.223 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001163/0.005356, allocations: 230.2 kB / 1.005 GB, free: 8.949 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.768e-06/0.005366, allocations: 4.375 kB / 1.005 GB, free: 8.945 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002467/0.005612, allocations: 264.9 kB / 1.005 GB, free: 8.656 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.542e-06/0.005619, allocations: 4.188 kB / 1.005 GB, free: 8.652 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.439e-05/0.005633, allocations: 3.938 kB / 1.005 GB, free: 8.648 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.074e-05/0.005654, allocations: 11.98 kB / 1.005 GB, free: 8.637 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.917e-05/0.005713, allocations: 43.92 kB / 1.005 GB, free: 8.594 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005908/0.006304, allocations: 399.6 kB / 1.006 GB, free: 8.16 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 5.489e-05/0.006359, allocations: 38.52 kB / 1.006 GB, free: 8.113 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.146e-05/0.00639, allocations: 25 kB / 1.006 GB, free: 8.086 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.809e-05/0.006408, allocations: 0 / 1.006 GB, free: 8.086 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.154e-05/0.00643, allocations: 42.55 kB / 1.006 GB, free: 8.035 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=8): time 7.32e-07/0.006431, allocations: 0 / 1.006 GB, free: 8.035 MB / 0.9636 GB Notification: Performance of matching and sorting (n=8): time 0.0001917/0.006622, allocations: 105.5 kB / 1.006 GB, free: 7.926 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.226e-05/0.006645, allocations: 55.41 kB / 1.006 GB, free: 7.859 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001449/0.00679, allocations: 211.9 kB / 1.006 GB, free: 7.641 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.914e-05/0.006809, allocations: 25.7 kB / 1.006 GB, free: 7.609 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 5.697e-05/0.006866, allocations: 124.1 kB / 1.006 GB, free: 7.484 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.761e-05/0.006883, allocations: 27.75 kB / 1.006 GB, free: 7.457 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.476e-05/0.006918, allocations: 37.7 kB / 1.006 GB, free: 7.414 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.421e-05/0.007002, allocations: 326.8 kB / 1.007 GB, free: 7.086 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.83e-05/0.007041, allocations: 23.98 kB / 1.007 GB, free: 7.062 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.434e-05/0.007115, allocations: 102.2 kB / 1.007 GB, free: 6.926 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001207/0.007236, allocations: 142.1 kB / 1.007 GB, free: 6.75 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.00724, allocations: 11.94 kB / 1.007 GB, free: 6.738 MB / 0.9636 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001676/0.007408, allocations: 153.6 kB / 1.007 GB, free: 6.582 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.007422, allocations: 4 kB / 1.007 GB, free: 6.578 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.007428, allocations: 7.984 kB / 1.007 GB, free: 6.57 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.007442, allocations: 4 kB / 1.007 GB, free: 6.566 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.713e-05/0.007519, allocations: 23.94 kB / 1.007 GB, free: 6.543 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.007527, allocations: 7.984 kB / 1.007 GB, free: 6.535 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.264e-05/0.00757, allocations: 15.89 kB / 1.007 GB, free: 6.52 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.099e-05/0.007581, allocations: 7.938 kB / 1.007 GB, free: 6.512 MB / 0.9636 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.052e-05/0.007671, allocations: 144.4 kB / 1.007 GB, free: 6.363 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.248e-05/0.007704, allocations: 19.84 kB / 1.007 GB, free: 6.344 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001688/0.007872, allocations: 115.1 kB / 1.007 GB, free: 6.223 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.007874, allocations: 0 / 1.007 GB, free: 6.223 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.007878, allocations: 0 / 1.007 GB, free: 6.223 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.007883, allocations: 3.984 kB / 1.007 GB, free: 6.219 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001642/0.008047, allocations: 192.5 kB / 1.008 GB, free: 5.988 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.008049, allocations: 4 kB / 1.008 GB, free: 5.984 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.124e-05/0.00808, allocations: 8 kB / 1.008 GB, free: 5.977 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.636e-06/0.008084, allocations: 4 kB / 1.008 GB, free: 5.973 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.857e-06/0.008093, allocations: 4 kB / 1.008 GB, free: 5.969 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.008094, allocations: 0 / 1.008 GB, free: 5.969 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.008095, allocations: 0 / 1.008 GB, free: 5.969 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001425/0.008237, allocations: 195.7 kB / 1.008 GB, free: 5.762 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.674e-05/0.008254, allocations: 15.89 kB / 1.008 GB, free: 5.746 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.468e-05/0.008269, allocations: 0 / 1.008 GB, free: 5.746 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001245/0.008393, allocations: 19.98 kB / 1.008 GB, free: 5.727 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.137e-05/0.008415, allocations: 15.95 kB / 1.008 GB, free: 5.711 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.522e-05/0.00843, allocations: 7.984 kB / 1.008 GB, free: 5.703 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 9.794e-05/0.008528, allocations: 153.5 kB / 1.008 GB, free: 5.555 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.008528, allocations: 0 / 1.008 GB, free: 5.555 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002226/0.008751, allocations: 35.88 kB / 1.008 GB, free: 5.52 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 (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.0004453/0.009196, allocations: 0.7496 MB / 1.009 GB, free: 4.75 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001429/0.009339, allocations: 76.39 kB / 1.009 GB, free: 4.676 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.009341, allocations: 0 / 1.009 GB, free: 4.676 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 2.699e-05/0.009368, allocations: 24.12 kB / 1.009 GB, free: 4.652 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002417/0.009609, allocations: 23.92 kB / 1.009 GB, free: 4.629 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001701/0.01131, allocations: 1.917 MB / 1.011 GB, free: 2.555 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.471e-05/0.01138, allocations: 122.8 kB / 1.011 GB, free: 2.418 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 7.664e-05/0.01146, allocations: 52.44 kB / 1.011 GB, free: 2.367 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.301e-05/0.01151, allocations: 48.48 kB / 1.011 GB, free: 2.32 MB / 0.9636 GB Notification: Performance of SimCode: time 4.71e-07/0.01152, allocations: 3.938 kB / 1.011 GB, free: 2.316 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08124/0.09275, allocations: 5.002 MB / 1.016 GB, free: 13.49 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.447/7.539, allocations: 7.688 kB / 1.016 GB, free: 13.48 MB / 0.9792 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: 12.133935583755374]