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.001732/0.001732, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.002133/0.002133, allocations: 215.3 kB / 23.04 MB, free: 5.074 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.562/1.562, allocations: 230.6 MB / 256.8 MB, free: 7.988 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.97/2.97, allocations: 476.7 MB / 0.7715 GB, free: 4.258 MB / 0.6231 GB " [Timeout remaining time 176] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings,fileNamePrefix="Buildings_11_Buildings_Utilities_IO_Files_Validation_WeeklyScheduleWindowsLineEndings",fmuType="cs",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.002051/0.002051, allocations: 62.8 kB / 1.118 GB, free: 39.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3883/0.3903, allocations: 170 MB / 1.284 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings): time 0.003839/0.3942, allocations: 1.529 MB / 1.286 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002046/0.3962, allocations: 1.237 MB / 1.287 GB, free: 8.906 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.212e-05/0.3963, allocations: 4 kB / 1.287 GB, free: 8.902 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002292/0.3965, allocations: 15.86 kB / 1.287 GB, free: 8.887 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001995/0.3967, allocations: 43.78 kB / 1.287 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000248/0.397, allocations: 59.83 kB / 1.287 GB, free: 8.785 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002385/0.3972, allocations: 143.6 kB / 1.287 GB, free: 8.645 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001437/0.3974, allocations: 36.8 kB / 1.287 GB, free: 8.613 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001137/0.3975, allocations: 95.64 kB / 1.287 GB, free: 8.52 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002048/0.3977, allocations: 55.75 kB / 1.287 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.507e-05/0.3977, allocations: 12 kB / 1.287 GB, free: 8.453 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 9.072e-05/0.3978, allocations: 28 kB / 1.287 GB, free: 8.426 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 8.672e-05/0.3979, allocations: 51.81 kB / 1.287 GB, free: 8.375 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 9.051e-05/0.398, allocations: 71.58 kB / 1.287 GB, free: 8.305 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003018/0.3983, allocations: 207.1 kB / 1.288 GB, free: 8.102 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.3983, allocations: 3.984 kB / 1.288 GB, free: 8.098 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.403e-06/0.3983, allocations: 0 / 1.288 GB, free: 8.098 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.781e-06/0.3983, allocations: 0 / 1.288 GB, free: 8.098 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.0007971/0.3991, allocations: 425.3 kB / 1.288 GB, free: 7.652 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.3991, allocations: 8.031 kB / 1.288 GB, free: 7.645 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.06e-05/0.3992, allocations: 4.188 kB / 1.288 GB, free: 7.641 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.095e-05/0.3992, allocations: 38.75 kB / 1.288 GB, free: 7.594 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.198e-05/0.3993, allocations: 16.84 kB / 1.288 GB, free: 7.578 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003417/0.3996, allocations: 198.2 kB / 1.288 GB, free: 7.359 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002244/0.3998, allocations: 222.1 kB / 1.288 GB, free: 7.094 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.801e-05/0.3999, allocations: 16.12 kB / 1.288 GB, free: 7.078 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003812/0.4002, allocations: 153.6 kB / 1.289 GB, free: 6.922 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.4003, allocations: 0 / 1.289 GB, free: 6.922 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.397e-05/0.4003, allocations: 4 kB / 1.289 GB, free: 6.918 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.732e-05/0.4003, allocations: 7.984 kB / 1.289 GB, free: 6.91 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.149e-05/0.4004, allocations: 43.97 kB / 1.289 GB, free: 6.867 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001114/0.4015, allocations: 435.5 kB / 1.289 GB, free: 6.398 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 8.26e-05/0.4016, allocations: 34.56 kB / 1.289 GB, free: 6.355 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.073e-05/0.4016, allocations: 20.84 kB / 1.289 GB, free: 6.332 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.641e-05/0.4017, allocations: 7.938 kB / 1.289 GB, free: 6.324 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.819e-05/0.4017, allocations: 42.56 kB / 1.289 GB, free: 6.273 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=8): time 1.112e-06/0.4017, allocations: 0 / 1.289 GB, free: 6.273 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8): time 0.0002937/0.402, allocations: 105.7 kB / 1.289 GB, free: 6.164 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.05e-05/0.4021, allocations: 63.27 kB / 1.289 GB, free: 6.09 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002537/0.4023, allocations: 211.8 kB / 1.29 GB, free: 5.867 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.025e-05/0.4024, allocations: 29.7 kB / 1.29 GB, free: 5.832 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.557e-05/0.4025, allocations: 120.2 kB / 1.29 GB, free: 5.711 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.431e-05/0.4025, allocations: 31.73 kB / 1.29 GB, free: 5.68 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.697e-05/0.4026, allocations: 37.7 kB / 1.29 GB, free: 5.637 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001626/0.4027, allocations: 326.8 kB / 1.29 GB, free: 5.309 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.372e-05/0.4028, allocations: 19.98 kB / 1.29 GB, free: 5.289 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001332/0.4029, allocations: 102.2 kB / 1.29 GB, free: 5.152 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001854/0.4031, allocations: 146.1 kB / 1.29 GB, free: 4.973 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.4031, allocations: 0 / 1.29 GB, free: 4.973 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002763/0.4034, allocations: 165.3 kB / 1.291 GB, free: 4.805 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.4034, allocations: 4 kB / 1.291 GB, free: 4.801 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.4034, allocations: 4 kB / 1.291 GB, free: 4.797 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.989e-05/0.4034, allocations: 4 kB / 1.291 GB, free: 4.793 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001119/0.4035, allocations: 27.92 kB / 1.291 GB, free: 4.766 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.025e-05/0.4035, allocations: 4 kB / 1.291 GB, free: 4.762 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.627e-05/0.4036, allocations: 11.89 kB / 1.291 GB, free: 4.75 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.588e-05/0.4036, allocations: 8.328 kB / 1.291 GB, free: 4.742 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.0001485/0.4038, allocations: 147.6 kB / 1.291 GB, free: 4.59 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.035e-05/0.4038, allocations: 19.89 kB / 1.291 GB, free: 4.57 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000246/0.4041, allocations: 119.6 kB / 1.291 GB, free: 4.445 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.897e-06/0.4041, allocations: 7.922 kB / 1.291 GB, free: 4.438 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.4041, allocations: 0 / 1.291 GB, free: 4.438 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.4041, allocations: 0 / 1.291 GB, free: 4.438 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002644/0.4044, allocations: 204.6 kB / 1.291 GB, free: 4.195 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.4044, allocations: 3.938 kB / 1.291 GB, free: 4.191 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.25e-05/0.4044, allocations: 15.98 kB / 1.291 GB, free: 4.176 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.4044, allocations: 4 kB / 1.291 GB, free: 4.172 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.778e-06/0.4044, allocations: 4 kB / 1.291 GB, free: 4.168 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.596e-06/0.4044, allocations: 3.938 kB / 1.291 GB, free: 4.164 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.4044, allocations: 0 / 1.291 GB, free: 4.164 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002278/0.4046, allocations: 187.4 kB / 1.291 GB, free: 3.965 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.662e-05/0.4047, allocations: 15.84 kB / 1.291 GB, free: 3.949 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.939e-05/0.4047, allocations: 4 kB / 1.291 GB, free: 3.945 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002639/0.405, allocations: 23.91 kB / 1.291 GB, free: 3.922 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.941e-05/0.405, allocations: 7.984 kB / 1.291 GB, free: 3.914 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.966e-05/0.405, allocations: 15.98 kB / 1.291 GB, free: 3.898 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001642/0.4052, allocations: 153.5 kB / 1.291 GB, free: 3.75 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.4052, allocations: 0 / 1.291 GB, free: 3.75 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003104/0.4055, allocations: 28 kB / 1.291 GB, free: 3.723 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.0007793/0.4063, allocations: 0.7525 MB / 1.292 GB, free: 2.953 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001787/0.4065, allocations: 72.88 kB / 1.292 GB, free: 2.883 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.4065, allocations: 4.25 kB / 1.292 GB, free: 2.879 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.649e-05/0.4065, allocations: 27.92 kB / 1.292 GB, free: 2.852 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003333/0.4068, allocations: 30.08 kB / 1.292 GB, free: 2.824 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002282/0.4091, allocations: 1.924 MB / 1.294 GB, free: 0.7539 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004426/0.4096, allocations: 0.7353 MB / 1.295 GB, free: 15.99 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001307/0.4097, allocations: 55.94 kB / 1.295 GB, free: 15.95 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.295e-05/0.4098, allocations: 43.42 kB / 1.295 GB, free: 15.9 MB / 0.9981 GB Notification: Performance of SimCode: time 3.5e-07/0.4098, allocations: 0 / 1.295 GB, free: 15.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03031/0.4401, allocations: 4.424 MB / 1.299 GB, free: 11.66 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.07/12.51, allocations: 6.562 kB / 1.299 GB, free: 11.66 MB / 0.9981 GB " [Timeout remaining time 287] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_IO_Files_Validation_WeeklyScheduleWindowsLineEndings_fmu --startTime=-10000 --stopTime=1e+06 --stepSize=404 --timeout=400 --tolerance=1e-06 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.mat","/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: 19.6118329190067]