Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001335/0.001335, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.001656/0.001656, allocations: 217.8 kB / 23.03 MB, free: 4.922 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.527/1.527, allocations: 230.6 MB / 256.8 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.213/3.213, allocations: 0.5003 GB / 0.8062 GB, free: 28.28 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Utilities_IO_Files_Validation_WeeklyScheduleWindowsLineEndings",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings,fileNamePrefix="Buildings_latest_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.002081/0.002081, allocations: 60.78 kB / 1.17 GB, free: 19.56 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4064/0.4084, allocations: 179 MB / 1.345 GB, free: 15.95 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings): time 0.003942/0.4124, allocations: 1.498 MB / 1.347 GB, free: 14.44 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002003/0.4144, allocations: 1.196 MB / 1.348 GB, free: 13.23 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.467e-05/0.4144, allocations: 3.938 kB / 1.348 GB, free: 13.23 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0002115/0.4147, allocations: 23.84 kB / 1.348 GB, free: 13.21 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0002416/0.4149, allocations: 47.77 kB / 1.348 GB, free: 13.16 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002005/0.4151, allocations: 61.92 kB / 1.348 GB, free: 13.1 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002218/0.4153, allocations: 143.6 kB / 1.348 GB, free: 12.96 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001601/0.4155, allocations: 37.5 kB / 1.348 GB, free: 12.93 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001111/0.4156, allocations: 87.69 kB / 1.348 GB, free: 12.84 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000177/0.4158, allocations: 55.7 kB / 1.348 GB, free: 12.79 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 4.534e-05/0.4158, allocations: 12 kB / 1.348 GB, free: 12.77 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 8.311e-05/0.4159, allocations: 24 kB / 1.348 GB, free: 12.75 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001028/0.416, allocations: 55.81 kB / 1.348 GB, free: 12.7 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 8.635e-05/0.4161, allocations: 59.7 kB / 1.348 GB, free: 12.64 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0003001/0.4164, allocations: 211.1 kB / 1.349 GB, free: 12.43 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.4164, allocations: 0 / 1.349 GB, free: 12.43 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.302e-06/0.4164, allocations: 0 / 1.349 GB, free: 12.43 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.071e-06/0.4164, allocations: 0 / 1.349 GB, free: 12.43 MB / 1.045 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.0007052/0.4171, allocations: 421.3 kB / 1.349 GB, free: 11.99 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.4171, allocations: 12.03 kB / 1.349 GB, free: 11.98 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.509e-05/0.4172, allocations: 192 / 1.349 GB, free: 11.98 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.177e-05/0.4172, allocations: 42.73 kB / 1.349 GB, free: 11.93 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.753e-05/0.4173, allocations: 24.8 kB / 1.349 GB, free: 11.9 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003119/0.4176, allocations: 201.9 kB / 1.349 GB, free: 11.68 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001995/0.4178, allocations: 226.2 kB / 1.35 GB, free: 11.41 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.715e-05/0.4178, allocations: 12.12 kB / 1.35 GB, free: 11.4 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003967/0.4182, allocations: 259.2 kB / 1.35 GB, free: 11.12 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.704e-06/0.4182, allocations: 0 / 1.35 GB, free: 11.12 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.046e-05/0.4182, allocations: 0 / 1.35 GB, free: 11.12 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.679e-05/0.4183, allocations: 11.98 kB / 1.35 GB, free: 11.11 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.377e-05/0.4184, allocations: 47.91 kB / 1.35 GB, free: 11.06 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001062/0.4194, allocations: 407.6 kB / 1.35 GB, free: 10.62 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 7.325e-05/0.4195, allocations: 34.5 kB / 1.35 GB, free: 10.57 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.386e-05/0.4195, allocations: 24.84 kB / 1.35 GB, free: 10.55 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.219e-05/0.4196, allocations: 4 kB / 1.35 GB, free: 10.54 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.74e-05/0.4196, allocations: 30.56 kB / 1.35 GB, free: 10.5 MB / 1.045 GB Notification: Performance of pre-optimization done (n=8): time 1.213e-06/0.4196, allocations: 4 kB / 1.35 GB, free: 10.5 MB / 1.045 GB Notification: Performance of matching and sorting (n=8): time 0.0003049/0.4199, allocations: 105.7 kB / 1.35 GB, free: 10.39 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.972e-05/0.4199, allocations: 59.34 kB / 1.351 GB, free: 10.32 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002454/0.4202, allocations: 223.7 kB / 1.351 GB, free: 10.09 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.068e-05/0.4202, allocations: 29.7 kB / 1.351 GB, free: 10.05 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 8.844e-05/0.4203, allocations: 128.1 kB / 1.351 GB, free: 9.926 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.771e-05/0.4203, allocations: 27.8 kB / 1.351 GB, free: 9.898 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.058e-05/0.4204, allocations: 29.7 kB / 1.351 GB, free: 9.863 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001413/0.4205, allocations: 330.8 kB / 1.351 GB, free: 9.531 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.079e-05/0.4206, allocations: 23.98 kB / 1.351 GB, free: 9.508 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001129/0.4207, allocations: 102.3 kB / 1.351 GB, free: 9.371 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001806/0.4209, allocations: 142.1 kB / 1.352 GB, free: 9.195 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.459e-06/0.4209, allocations: 4 kB / 1.352 GB, free: 9.191 MB / 1.045 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002482/0.4211, allocations: 149.3 kB / 1.352 GB, free: 9.039 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.4211, allocations: 4 kB / 1.352 GB, free: 9.035 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.4211, allocations: 8 kB / 1.352 GB, free: 9.027 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.4211, allocations: 4.375 kB / 1.352 GB, free: 9.023 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000111/0.4213, allocations: 31.92 kB / 1.352 GB, free: 8.992 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.4213, allocations: 7.938 kB / 1.352 GB, free: 8.984 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.408e-05/0.4213, allocations: 11.94 kB / 1.352 GB, free: 8.973 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.272e-05/0.4213, allocations: 4 kB / 1.352 GB, free: 8.969 MB / 1.045 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.0001322/0.4215, allocations: 149.8 kB / 1.352 GB, free: 8.812 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.678e-05/0.4215, allocations: 15.86 kB / 1.352 GB, free: 8.797 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002394/0.4218, allocations: 123.7 kB / 1.352 GB, free: 8.668 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.4218, allocations: 3.938 kB / 1.352 GB, free: 8.664 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.4218, allocations: 0 / 1.352 GB, free: 8.664 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.4218, allocations: 4 kB / 1.352 GB, free: 8.66 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002386/0.422, allocations: 180.7 kB / 1.352 GB, free: 8.441 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.422, allocations: 0 / 1.352 GB, free: 8.441 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.24e-05/0.4221, allocations: 19.92 kB / 1.352 GB, free: 8.422 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.4221, allocations: 0 / 1.352 GB, free: 8.422 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.988e-06/0.4221, allocations: 8 kB / 1.352 GB, free: 8.414 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.995e-06/0.4221, allocations: 3.938 kB / 1.352 GB, free: 8.41 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.4221, allocations: 0 / 1.352 GB, free: 8.41 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002319/0.4223, allocations: 187.4 kB / 1.352 GB, free: 8.211 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 2.44e-05/0.4223, allocations: 11.91 kB / 1.352 GB, free: 8.199 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.631e-05/0.4224, allocations: 4 kB / 1.352 GB, free: 8.195 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002725/0.4226, allocations: 27.91 kB / 1.352 GB, free: 8.168 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.976e-05/0.4227, allocations: 7.984 kB / 1.352 GB, free: 8.16 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.673e-05/0.4227, allocations: 7.984 kB / 1.352 GB, free: 8.152 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001579/0.4229, allocations: 161.5 kB / 1.353 GB, free: 7.996 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.4229, allocations: 0 / 1.353 GB, free: 7.996 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0003089/0.4232, allocations: 35.89 kB / 1.353 GB, free: 7.961 MB / 1.045 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.000734/0.4239, allocations: 0.7479 MB / 1.353 GB, free: 7.191 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.00019/0.4241, allocations: 71.83 kB / 1.353 GB, free: 7.121 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.4241, allocations: 0 / 1.353 GB, free: 7.121 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 4.654e-05/0.4241, allocations: 27.97 kB / 1.353 GB, free: 7.094 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003181/0.4245, allocations: 33.95 kB / 1.353 GB, free: 7.062 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002188/0.4266, allocations: 1.909 MB / 1.355 GB, free: 5.004 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001149/0.4268, allocations: 118.1 kB / 1.355 GB, free: 4.867 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.000123/0.4269, allocations: 55.19 kB / 1.356 GB, free: 4.82 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.361e-05/0.427, allocations: 51.41 kB / 1.356 GB, free: 4.77 MB / 1.045 GB Notification: Performance of SimCode: time 3.61e-07/0.427, allocations: 0 / 1.356 GB, free: 4.77 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02858/0.4555, allocations: 4.588 MB / 1.36 GB, free: 396 kB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.13/12.59, allocations: 5.656 kB / 1.36 GB, free: 392 kB / 1.045 GB " [Timeout remaining time 287] (rm -f Buildings_latest_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.pipe ; mkfifo Buildings_latest_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.pipe >> ../files/Buildings_latest_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_IO_Files_Validation_WeeklyScheduleWindowsLineEndings_fmu --startTime=-10000 --stopTime=1e+06 --stepSize=404 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_IO_Files_Validation_WeeklyScheduleWindowsLineEndings.fmu > Buildings_latest_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_IO_Files_Validation_WeeklyScheduleWindowsLineEndings.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.595728758024052]