Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Utilities.IO.Files.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.0009039/0.0009039, 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.001324/0.001324, 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.9776/0.9776, allocations: 177.1 MB / 203.5 MB, free: 5.73 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.918/1.918, allocations: 389.6 MB / 0.6343 GB, free: 12.59 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.WeeklySchedule,fileNamePrefix="Buildings_13_Buildings_Utilities_IO_Files_WeeklySchedule",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Files.WeeklySchedule,fileNamePrefix="Buildings_13_Buildings_Utilities_IO_Files_WeeklySchedule",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 1.001 GB, free: 12.4 MB / 0.9167 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.566e-05/1.72e-05, allocations: 2.281 kB / 1.001 GB, free: 12.39 MB / 0.9167 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.WeeklySchedule): time 0.001747/0.001764, allocations: 1.368 MB / 1.002 GB, free: 11.02 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.0001194/0.001883, allocations: 31.84 kB / 1.002 GB, free: 10.98 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.285e-05/0.001936, allocations: 4 kB / 1.002 GB, free: 10.98 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.000158/0.002094, allocations: 23.78 kB / 1.002 GB, free: 10.96 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0001079/0.002202, allocations: 11.94 kB / 1.002 GB, free: 10.95 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 4.308e-06/0.002206, allocations: 0 / 1.002 GB, free: 10.95 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 6.526e-05/0.002272, allocations: 15.92 kB / 1.002 GB, free: 10.93 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 4.242e-05/0.002314, allocations: 4 kB / 1.002 GB, free: 10.93 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 4.882e-05/0.002363, allocations: 15.92 kB / 1.002 GB, free: 10.91 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 4.605e-05/0.002409, allocations: 4 kB / 1.002 GB, free: 10.91 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 1.699e-05/0.002426, allocations: 0 / 1.002 GB, free: 10.91 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 4.854e-05/0.002475, allocations: 11.92 kB / 1.002 GB, free: 10.89 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 4.118e-05/0.002516, allocations: 4 kB / 1.002 GB, free: 10.89 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 1.889e-05/0.002535, allocations: 7.938 kB / 1.002 GB, free: 10.88 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 9.39e-05/0.002628, allocations: 19.98 kB / 1.002 GB, free: 10.86 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 1.934e-06/0.00263, allocations: 0 / 1.002 GB, free: 10.86 MB / 0.9167 GB Notification: Performance of FrontEnd: time 6.61e-07/0.002631, allocations: 0 / 1.002 GB, free: 10.86 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 4.178e-06/0.002635, allocations: 0 / 1.002 GB, free: 10.86 MB / 0.9167 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.0002759/0.002911, allocations: 266.2 kB / 1.002 GB, free: 10.57 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.336e-05/0.002955, allocations: 17.33 kB / 1.002 GB, free: 10.55 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.952e-05/0.003014, allocations: 30.75 kB / 1.002 GB, free: 10.52 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.32e-05/0.003037, allocations: 8.828 kB / 1.002 GB, free: 10.51 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001503/0.003188, allocations: 113.7 kB / 1.003 GB, free: 10.37 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.546e-06/0.003196, allocations: 4.375 kB / 1.003 GB, free: 10.37 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.005e-06/0.003204, allocations: 4.359 kB / 1.003 GB, free: 10.36 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.25e-05/0.003297, allocations: 34.27 kB / 1.003 GB, free: 10.32 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.003304, allocations: 192 / 1.003 GB, free: 10.32 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.584e-06/0.003312, allocations: 384 / 1.003 GB, free: 10.32 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.876e-05/0.00333, allocations: 8.125 kB / 1.003 GB, free: 10.32 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.899e-05/0.003349, allocations: 4 kB / 1.003 GB, free: 10.31 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002341/0.003583, allocations: 220 kB / 1.003 GB, free: 10.05 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 4.207e-05/0.003625, allocations: 22.52 kB / 1.003 GB, free: 10.02 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.735e-05/0.003643, allocations: 8.922 kB / 1.003 GB, free: 10.01 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.286e-05/0.003656, allocations: 4 kB / 1.003 GB, free: 10.01 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.682e-05/0.003672, allocations: 34.5 kB / 1.003 GB, free: 9.965 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=1): time 6.61e-07/0.003673, allocations: 0 / 1.003 GB, free: 9.965 MB / 0.9167 GB Notification: Performance of matching and sorting (n=1): time 0.0001156/0.003789, allocations: 37.69 kB / 1.003 GB, free: 9.922 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.573e-05/0.003814, allocations: 55.34 kB / 1.003 GB, free: 9.855 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.998e-05/0.003894, allocations: 117.8 kB / 1.003 GB, free: 9.73 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 9.638e-06/0.003904, allocations: 25.7 kB / 1.003 GB, free: 9.699 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 3.296e-05/0.003937, allocations: 88.14 kB / 1.003 GB, free: 9.609 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.063e-05/0.003948, allocations: 3.953 kB / 1.003 GB, free: 9.605 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.045e-05/0.003968, allocations: 9.719 kB / 1.003 GB, free: 9.59 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8e-05/0.004048, allocations: 327 kB / 1.004 GB, free: 9.262 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.736e-06/0.004057, allocations: 0 / 1.004 GB, free: 9.262 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.31e-06/0.004062, allocations: 0 / 1.004 GB, free: 9.262 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.945e-05/0.004082, allocations: 12.86 kB / 1.004 GB, free: 9.246 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.004083, allocations: 0 / 1.004 GB, free: 9.246 MB / 0.9167 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.037e-05/0.004123, allocations: 45.56 kB / 1.004 GB, free: 9.195 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.004136, allocations: 8 kB / 1.004 GB, free: 9.188 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.427e-06/0.004139, allocations: 0 / 1.004 GB, free: 9.188 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.869e-06/0.004149, allocations: 0 / 1.004 GB, free: 9.188 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.287e-05/0.004192, allocations: 4.031 kB / 1.004 GB, free: 9.184 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.004197, allocations: 4 kB / 1.004 GB, free: 9.18 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.378e-06/0.004206, allocations: 4 kB / 1.004 GB, free: 9.176 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.559e-06/0.004211, allocations: 0 / 1.004 GB, free: 9.176 MB / 0.9167 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.082e-05/0.004261, allocations: 106.7 kB / 1.004 GB, free: 9.062 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.435e-05/0.004276, allocations: 11.89 kB / 1.004 GB, free: 9.051 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.705e-05/0.004343, allocations: 45.09 kB / 1.004 GB, free: 8.996 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.004347, allocations: 4 kB / 1.004 GB, free: 8.992 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.00435, allocations: 0 / 1.004 GB, free: 8.992 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.004353, allocations: 0 / 1.004 GB, free: 8.992 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001001/0.004453, allocations: 128.8 kB / 1.004 GB, free: 8.824 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-07/0.004453, allocations: 3.938 kB / 1.004 GB, free: 8.82 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.115e-06/0.004461, allocations: 4 kB / 1.004 GB, free: 8.816 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.004463, allocations: 7.875 kB / 1.004 GB, free: 8.809 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.43e-06/0.004469, allocations: 0 / 1.004 GB, free: 8.809 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.51e-07/0.004469, allocations: 0 / 1.004 GB, free: 8.809 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.00447, allocations: 0 / 1.004 GB, free: 8.809 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.15e-05/0.004531, allocations: 131.5 kB / 1.004 GB, free: 8.664 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 7.023e-06/0.004538, allocations: 7.938 kB / 1.004 GB, free: 8.656 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.395e-06/0.004547, allocations: 0 / 1.004 GB, free: 8.656 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.324e-05/0.00457, allocations: 0 / 1.004 GB, free: 8.656 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.432e-05/0.004584, allocations: 8.016 kB / 1.004 GB, free: 8.648 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.314e-06/0.004587, allocations: 4 kB / 1.004 GB, free: 8.645 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.508e-05/0.004622, allocations: 87.28 kB / 1.004 GB, free: 8.559 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.004622, allocations: 0 / 1.004 GB, free: 8.559 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001642/0.004786, allocations: 7.953 kB / 1.004 GB, free: 8.551 MB / 0.9167 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.00035/0.005136, allocations: 0.6915 MB / 1.005 GB, free: 7.836 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 5.066e-05/0.005187, allocations: 4 kB / 1.005 GB, free: 7.832 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.172e-06/0.005188, allocations: 0 / 1.005 GB, free: 7.832 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 5.09e-06/0.005193, allocations: 4 kB / 1.005 GB, free: 7.828 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001473/0.00534, allocations: 0 / 1.005 GB, free: 7.828 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008179/0.006158, allocations: 1.183 MB / 1.006 GB, free: 6.562 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.646e-05/0.006205, allocations: 63.34 kB / 1.006 GB, free: 6.48 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 3.338e-05/0.006238, allocations: 8.141 kB / 1.006 GB, free: 6.473 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.943e-05/0.006268, allocations: 12.5 kB / 1.006 GB, free: 6.461 MB / 0.9167 GB Notification: Performance of SimCode: time 6.51e-07/0.006268, allocations: 0 / 1.006 GB, free: 6.461 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07721/0.08348, allocations: 2.033 MB / 1.008 GB, free: 4.566 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.759/6.843, allocations: 6.75 kB / 1.008 GB, free: 4.562 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_13_Buildings.Utilities.IO.Files.WeeklySchedule.pipe ; mkfifo Buildings_13_Buildings.Utilities.IO.Files.WeeklySchedule.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.IO.Files.WeeklySchedule.pipe >> ../files/Buildings_13_Buildings.Utilities.IO.Files.WeeklySchedule.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Utilities_IO_Files_WeeklySchedule_fmu --startTime=-10000 --stopTime=1e+06 --stepSize=100 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Utilities_IO_Files_WeeklySchedule.fmu) > Buildings_13_Buildings.Utilities.IO.Files.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.WeeklySchedule_fmpy.pipe ; mkfifo Buildings_13_Buildings.Utilities.IO.Files.WeeklySchedule_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.IO.Files.WeeklySchedule_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Utilities.IO.Files.WeeklySchedule_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Utilities.IO.Files.WeeklySchedule_fmpy_res.csv --start-time -10000 --stop-time 1e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 100 ../Buildings_13_Buildings_Utilities_IO_Files_WeeklySchedule.fmu) > Buildings_13_Buildings.Utilities.IO.Files.WeeklySchedule_fmpy.pipe 2>&1) [Timeout 52.5] fmpy timed out simulating the FMU [Calling sys.exit(0), Time elapsed: 11.41056484170258]