Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.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.001358/0.001358, allocations: 106.2 kB / 16.45 MB, free: 6.508 MB / 14.72 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.001513/0.001513, allocations: 213.7 kB / 19.43 MB, free: 3.648 MB / 14.72 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 1.452/1.452, allocations: 230.6 MB / 252.8 MB, free: 9.102 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.826/2.826, allocations: 476.7 MB / 0.7672 GB, free: 5.195 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.Validation.WeeklyScheduleWindowsLineEndings,fileNamePrefix="Buildings_11_Buildings_Utilities_IO_Files_Validation_WeeklyScheduleWindowsLineEndings",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings,fileNamePrefix="Buildings_11_Buildings_Utilities_IO_Files_Validation_WeeklyScheduleWindowsLineEndings",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002073/0.002073, allocations: 71.89 kB / 1.112 GB, free: 1.496 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7769/0.779, allocations: 169.9 MB / 1.278 GB, free: 13.34 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings): time 0.002959/0.782, allocations: 1.515 MB / 1.28 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001666/0.7836, allocations: 1.146 MB / 1.281 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.137e-05/0.7837, allocations: 0 / 1.281 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001742/0.7839, allocations: 23.78 kB / 1.281 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001858/0.784, allocations: 43.78 kB / 1.281 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001929/0.7842, allocations: 55.86 kB / 1.281 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002154/0.7845, allocations: 147.5 kB / 1.281 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001579/0.7846, allocations: 58.91 kB / 1.281 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 9.795e-05/0.7847, allocations: 75.78 kB / 1.281 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001997/0.7849, allocations: 63.69 kB / 1.281 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.368e-05/0.7849, allocations: 8 kB / 1.281 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 7.275e-05/0.785, allocations: 28 kB / 1.281 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 8.63e-05/0.7851, allocations: 51.81 kB / 1.281 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 8.995e-05/0.7852, allocations: 75.58 kB / 1.281 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002892/0.7855, allocations: 199.2 kB / 1.282 GB, free: 9.855 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.7855, allocations: 4 kB / 1.282 GB, free: 9.852 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.372e-06/0.7855, allocations: 0 / 1.282 GB, free: 9.852 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.252e-06/0.7855, allocations: 4 kB / 1.282 GB, free: 9.848 MB / 0.9825 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.0007677/0.7863, allocations: 0.4907 MB / 1.282 GB, free: 9.309 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.7863, allocations: 8.031 kB / 1.282 GB, free: 9.301 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.507e-05/0.7864, allocations: 42.73 kB / 1.282 GB, free: 9.25 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.995e-05/0.7864, allocations: 16.84 kB / 1.282 GB, free: 9.234 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003371/0.7868, allocations: 257.2 kB / 1.282 GB, free: 8.945 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001583/0.7869, allocations: 119.3 kB / 1.283 GB, free: 8.805 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.912e-05/0.7869, allocations: 16.34 kB / 1.283 GB, free: 8.789 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003577/0.7873, allocations: 157.5 kB / 1.283 GB, free: 8.629 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.944e-06/0.7873, allocations: 4 kB / 1.283 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.202e-05/0.7873, allocations: 4 kB / 1.283 GB, free: 8.621 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.243e-05/0.7874, allocations: 11.98 kB / 1.283 GB, free: 8.609 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.099e-05/0.7874, allocations: 43.97 kB / 1.283 GB, free: 8.566 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001094/0.7885, allocations: 456.4 kB / 1.283 GB, free: 8.07 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 7.52e-05/0.7886, allocations: 34.56 kB / 1.283 GB, free: 8.027 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.632e-05/0.7887, allocations: 24.84 kB / 1.283 GB, free: 8 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.786e-05/0.7887, allocations: 12.12 kB / 1.283 GB, free: 7.988 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.945e-05/0.7887, allocations: 38.5 kB / 1.283 GB, free: 7.941 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=8): time 1.182e-06/0.7887, allocations: 4 kB / 1.283 GB, free: 7.938 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8): time 0.0002812/0.789, allocations: 101.6 kB / 1.283 GB, free: 7.832 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.995e-05/0.7891, allocations: 55.34 kB / 1.283 GB, free: 7.766 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002444/0.7893, allocations: 215.8 kB / 1.284 GB, free: 7.535 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.127e-05/0.7893, allocations: 25.7 kB / 1.284 GB, free: 7.504 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001063/0.7894, allocations: 124.2 kB / 1.284 GB, free: 7.379 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.379e-05/0.7895, allocations: 31.73 kB / 1.284 GB, free: 7.348 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.249e-05/0.7895, allocations: 37.66 kB / 1.284 GB, free: 7.305 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001577/0.7897, allocations: 322.8 kB / 1.284 GB, free: 6.98 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.572e-05/0.7897, allocations: 27.97 kB / 1.284 GB, free: 6.953 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001238/0.7899, allocations: 110.1 kB / 1.284 GB, free: 6.809 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001931/0.7901, allocations: 138.2 kB / 1.284 GB, free: 6.637 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/0.7901, allocations: 4 kB / 1.284 GB, free: 6.633 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002668/0.7903, allocations: 153.3 kB / 1.285 GB, free: 6.477 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.7903, allocations: 4 kB / 1.285 GB, free: 6.473 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.7904, allocations: 4 kB / 1.285 GB, free: 6.469 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.785e-05/0.7904, allocations: 7.938 kB / 1.285 GB, free: 6.461 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001045/0.7905, allocations: 23.98 kB / 1.285 GB, free: 6.438 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.003e-05/0.7905, allocations: 7.938 kB / 1.285 GB, free: 6.43 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.64e-05/0.7906, allocations: 11.95 kB / 1.285 GB, free: 6.418 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.452e-05/0.7906, allocations: 4.344 kB / 1.285 GB, free: 6.414 MB / 0.9825 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 0.0001415/0.7907, allocations: 153.7 kB / 1.285 GB, free: 6.254 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.63e-05/0.7908, allocations: 15.91 kB / 1.285 GB, free: 6.238 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002326/0.791, allocations: 122.5 kB / 1.285 GB, free: 6.109 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.552e-06/0.791, allocations: 0 / 1.285 GB, free: 6.109 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.791, allocations: 3.938 kB / 1.285 GB, free: 6.105 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.791, allocations: 0 / 1.285 GB, free: 6.105 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002789/0.7913, allocations: 233.5 kB / 1.285 GB, free: 5.828 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.7913, allocations: 0 / 1.285 GB, free: 5.828 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.206e-05/0.7914, allocations: 12 kB / 1.285 GB, free: 5.816 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.7914, allocations: 4 kB / 1.285 GB, free: 5.812 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.305e-05/0.7914, allocations: 8 kB / 1.285 GB, free: 5.805 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.7914, allocations: 0 / 1.285 GB, free: 5.805 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.7914, allocations: 3.938 kB / 1.285 GB, free: 5.801 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002136/0.7916, allocations: 187.4 kB / 1.285 GB, free: 5.602 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.034e-05/0.7917, allocations: 96.94 kB / 1.285 GB, free: 5.488 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.766e-05/0.7917, allocations: 0 / 1.285 GB, free: 5.488 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002681/0.7919, allocations: 27.98 kB / 1.285 GB, free: 5.461 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.562e-05/0.792, allocations: 11.92 kB / 1.286 GB, free: 5.449 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.516e-05/0.792, allocations: 11.98 kB / 1.286 GB, free: 5.438 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001664/0.7922, allocations: 161.5 kB / 1.286 GB, free: 5.281 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.7922, allocations: 0 / 1.286 GB, free: 5.281 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000308/0.7925, allocations: 31.94 kB / 1.286 GB, free: 5.25 MB / 0.9825 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.0006987/0.7932, allocations: 0.7508 MB / 1.286 GB, free: 4.48 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000169/0.7933, allocations: 68.34 kB / 1.287 GB, free: 4.414 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.7933, allocations: 12.17 kB / 1.287 GB, free: 4.402 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 5.219e-05/0.7934, allocations: 23.94 kB / 1.287 GB, free: 4.379 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003009/0.7937, allocations: 19.92 kB / 1.287 GB, free: 4.359 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002204/0.7959, allocations: 1.924 MB / 1.288 GB, free: 2.289 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004087/0.7963, allocations: 0.7392 MB / 1.289 GB, free: 1.523 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001229/0.7964, allocations: 56.97 kB / 1.289 GB, free: 1.477 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.667e-05/0.7965, allocations: 47.41 kB / 1.289 GB, free: 1.43 MB / 0.9825 GB Notification: Performance of SimCode: time 3.41e-07/0.7965, allocations: 0 / 1.289 GB, free: 1.43 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0305/0.827, allocations: 4.284 MB / 1.293 GB, free: 13.34 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.472/9.299, allocations: 6.625 kB / 1.293 GB, free: 13.33 MB / 0.9981 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.pipe ; mkfifo Buildings_11_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.pipe >> ../files/Buildings_11_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings_res.csv --start-time -10000 --stop-time 1e+06 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 404 Buildings_11_Buildings_Utilities_IO_Files_Validation_WeeklyScheduleWindowsLineEndings.fmu > Buildings_11_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_IO_Files_Validation_WeeklyScheduleWindowsLineEndings.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.473928633145988]