Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001718/0.001718, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001484/0.001484, allocations: 214 kB / 22.25 MB, free: 5.258 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.496/1.496, allocations: 230.6 MB / 256 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.225/3.225, allocations: 0.4892 GB / 0.7944 GB, free: 35.61 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Utilities_IO_Files_Validation_WeeklyScheduleWindowsLineEndings",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings,fileNamePrefix="Buildings_12_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.00209/0.00209, allocations: 64.73 kB / 1.153 GB, free: 25.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3955/0.3976, allocations: 176.1 MB / 1.325 GB, free: 2.398 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings): time 0.002946/0.4005, allocations: 1.51 MB / 1.327 GB, free: 0.8828 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001821/0.4024, allocations: 1.2 MB / 1.328 GB, free: 15.68 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.089e-05/0.4024, allocations: 3.938 kB / 1.328 GB, free: 15.67 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001861/0.4026, allocations: 19.86 kB / 1.328 GB, free: 15.65 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002194/0.4028, allocations: 47.77 kB / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001898/0.403, allocations: 53.3 kB / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002191/0.4032, allocations: 151.6 kB / 1.328 GB, free: 15.41 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001451/0.4034, allocations: 33.5 kB / 1.328 GB, free: 15.37 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001088/0.4035, allocations: 87.7 kB / 1.328 GB, free: 15.29 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001712/0.4037, allocations: 51.7 kB / 1.328 GB, free: 15.23 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.477e-05/0.4037, allocations: 12 kB / 1.328 GB, free: 15.22 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 9.631e-05/0.4038, allocations: 27.98 kB / 1.328 GB, free: 15.2 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.841e-05/0.4039, allocations: 43.89 kB / 1.328 GB, free: 15.15 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 9.187e-05/0.404, allocations: 71.64 kB / 1.328 GB, free: 15.08 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003072/0.4043, allocations: 207.1 kB / 1.328 GB, free: 14.88 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.4043, allocations: 0 / 1.328 GB, free: 14.88 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.573e-06/0.4043, allocations: 0 / 1.328 GB, free: 14.88 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.4043, allocations: 0 / 1.328 GB, free: 14.88 MB / 1.029 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.0008119/0.4051, allocations: 421.3 kB / 1.329 GB, free: 14.44 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.835e-05/0.4052, allocations: 12.03 kB / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.768e-05/0.4052, allocations: 42.73 kB / 1.329 GB, free: 14.38 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.045e-05/0.4053, allocations: 20.84 kB / 1.329 GB, free: 14.36 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003702/0.4057, allocations: 206.5 kB / 1.329 GB, free: 14.13 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002325/0.4059, allocations: 226.2 kB / 1.329 GB, free: 13.86 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.44e-05/0.4059, allocations: 8.312 kB / 1.329 GB, free: 13.85 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000438/0.4064, allocations: 268.3 kB / 1.33 GB, free: 13.56 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.4064, allocations: 0 / 1.33 GB, free: 13.56 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.416e-05/0.4064, allocations: 4 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.909e-05/0.4064, allocations: 8 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.516e-05/0.4065, allocations: 43.97 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001135/0.4077, allocations: 403.5 kB / 1.33 GB, free: 13.07 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 8.307e-05/0.4077, allocations: 38.56 kB / 1.33 GB, free: 13.02 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.63e-05/0.4078, allocations: 24.78 kB / 1.33 GB, free: 12.99 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.151e-05/0.4078, allocations: 8 kB / 1.33 GB, free: 12.98 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.562e-05/0.4079, allocations: 34.56 kB / 1.33 GB, free: 12.94 MB / 1.029 GB Notification: Performance of pre-optimization done (n=8): time 1.233e-06/0.4079, allocations: 0 / 1.33 GB, free: 12.94 MB / 1.029 GB Notification: Performance of matching and sorting (n=8): time 0.0003144/0.4082, allocations: 109.7 kB / 1.33 GB, free: 12.83 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.928e-05/0.4082, allocations: 59.33 kB / 1.33 GB, free: 12.76 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002352/0.4085, allocations: 207.8 kB / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.148e-05/0.4085, allocations: 29.7 kB / 1.331 GB, free: 12.51 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.741e-05/0.4086, allocations: 128.2 kB / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.93e-05/0.4086, allocations: 27.8 kB / 1.331 GB, free: 12.35 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.791e-05/0.4087, allocations: 33.64 kB / 1.331 GB, free: 12.31 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001544/0.4088, allocations: 326.8 kB / 1.331 GB, free: 11.98 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.705e-05/0.4089, allocations: 27.92 kB / 1.331 GB, free: 11.96 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001228/0.409, allocations: 106.2 kB / 1.331 GB, free: 11.82 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001821/0.4092, allocations: 138.2 kB / 1.331 GB, free: 11.64 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.4092, allocations: 7.938 kB / 1.331 GB, free: 11.64 MB / 1.029 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002513/0.4094, allocations: 149.3 kB / 1.331 GB, free: 11.48 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.4094, allocations: 8 kB / 1.331 GB, free: 11.48 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.4095, allocations: 4 kB / 1.331 GB, free: 11.47 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.4095, allocations: 4 kB / 1.331 GB, free: 11.47 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001051/0.4096, allocations: 20.36 kB / 1.331 GB, free: 11.45 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.095e-05/0.4096, allocations: 15.88 kB / 1.331 GB, free: 11.43 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.778e-05/0.4097, allocations: 15.89 kB / 1.332 GB, free: 11.42 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.677e-05/0.4097, allocations: 15.98 kB / 1.332 GB, free: 11.4 MB / 1.029 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.0001222/0.4098, allocations: 133.8 kB / 1.332 GB, free: 11.26 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.689e-05/0.4098, allocations: 19.89 kB / 1.332 GB, free: 11.24 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002289/0.4101, allocations: 121.1 kB / 1.332 GB, free: 11.12 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.4101, allocations: 4 kB / 1.332 GB, free: 11.11 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.4101, allocations: 3.938 kB / 1.332 GB, free: 11.11 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.4101, allocations: 0 / 1.332 GB, free: 11.11 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002303/0.4103, allocations: 184.7 kB / 1.332 GB, free: 10.89 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.4103, allocations: 7.984 kB / 1.332 GB, free: 10.88 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.621e-05/0.4104, allocations: 15.94 kB / 1.332 GB, free: 10.86 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.4104, allocations: 0 / 1.332 GB, free: 10.86 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.786e-06/0.4104, allocations: 4 kB / 1.332 GB, free: 10.86 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.4104, allocations: 0 / 1.332 GB, free: 10.86 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.4104, allocations: 7.875 kB / 1.332 GB, free: 10.85 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002114/0.4106, allocations: 187.4 kB / 1.332 GB, free: 10.65 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.458e-05/0.4106, allocations: 15.89 kB / 1.332 GB, free: 10.64 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.929e-05/0.4106, allocations: 4 kB / 1.332 GB, free: 10.63 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002334/0.4109, allocations: 19.98 kB / 1.332 GB, free: 10.61 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.09e-05/0.4109, allocations: 11.92 kB / 1.332 GB, free: 10.6 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.501e-05/0.4109, allocations: 11.98 kB / 1.332 GB, free: 10.59 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001532/0.4111, allocations: 157.5 kB / 1.332 GB, free: 10.44 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4111, allocations: 0 / 1.332 GB, free: 10.44 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002943/0.4114, allocations: 27.94 kB / 1.332 GB, free: 10.41 MB / 1.029 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.000735/0.4121, allocations: 0.7646 MB / 1.333 GB, free: 9.625 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001827/0.4123, allocations: 67.89 kB / 1.333 GB, free: 9.559 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.4123, allocations: 0 / 1.333 GB, free: 9.559 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 4.264e-05/0.4123, allocations: 23.94 kB / 1.333 GB, free: 9.535 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003163/0.4126, allocations: 24.67 kB / 1.333 GB, free: 9.512 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002113/0.4148, allocations: 1.91 MB / 1.335 GB, free: 7.449 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000125/0.4149, allocations: 122.1 kB / 1.335 GB, free: 7.309 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001269/0.415, allocations: 56.69 kB / 1.335 GB, free: 7.262 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.453e-05/0.4151, allocations: 43.42 kB / 1.335 GB, free: 7.219 MB / 1.029 GB Notification: Performance of SimCode: time 4.51e-07/0.4151, allocations: 4 kB / 1.335 GB, free: 7.215 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03538/0.4505, allocations: 4.927 MB / 1.34 GB, free: 2.469 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.89/12.34, allocations: 9.531 kB / 1.34 GB, free: 2.465 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.pipe ; mkfifo Buildings_12_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.pipe >> ../files/Buildings_12_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Utilities_IO_Files_Validation_WeeklyScheduleWindowsLineEndings.fmu > Buildings_12_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_IO_Files_Validation_WeeklyScheduleWindowsLineEndings.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 19.249011882115155]