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.00133/0.00133, allocations: 103 kB / 16.45 MB, free: 6.449 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.001556/0.001556, allocations: 212.9 kB / 19.43 MB, free: 3.637 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.549/1.549, allocations: 230.6 MB / 252.8 MB, free: 9.125 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.391/3.391, allocations: 0.49 GB / 0.7916 GB, free: 33.39 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.002013/0.002013, allocations: 65.56 kB / 1.149 GB, free: 26.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3981/0.4001, allocations: 176.1 MB / 1.321 GB, free: 3.359 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings): time 0.003687/0.4038, allocations: 1.505 MB / 1.322 GB, free: 1.848 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00219/0.406, allocations: 1.156 MB / 1.323 GB, free: 0.6836 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.614e-05/0.406, allocations: 0 / 1.323 GB, free: 0.6836 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0002208/0.4062, allocations: 23.86 kB / 1.323 GB, free: 0.6602 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0002104/0.4065, allocations: 39.78 kB / 1.323 GB, free: 0.6211 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002464/0.4067, allocations: 66.91 kB / 1.324 GB, free: 0.5586 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002635/0.407, allocations: 151.5 kB / 1.324 GB, free: 420 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001752/0.4071, allocations: 53.31 kB / 1.324 GB, free: 364 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001436/0.4073, allocations: 79.77 kB / 1.324 GB, free: 284 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002354/0.4075, allocations: 59.69 kB / 1.324 GB, free: 224 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 5.301e-05/0.4076, allocations: 12 kB / 1.324 GB, free: 212 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 9.179e-05/0.4077, allocations: 24 kB / 1.324 GB, free: 188 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 9.307e-05/0.4078, allocations: 55.81 kB / 1.324 GB, free: 132 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001086/0.4079, allocations: 71.58 kB / 1.324 GB, free: 60 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0003626/0.4082, allocations: 203.3 kB / 1.324 GB, free: 15.86 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.4082, allocations: 3.938 kB / 1.324 GB, free: 15.86 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.452e-06/0.4082, allocations: 0 / 1.324 GB, free: 15.86 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.327e-06/0.4082, allocations: 0 / 1.324 GB, free: 15.86 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.0009501/0.4092, allocations: 498.4 kB / 1.325 GB, free: 15.32 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.698e-05/0.4093, allocations: 15.98 kB / 1.325 GB, free: 15.3 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.22e-05/0.4093, allocations: 50.67 kB / 1.325 GB, free: 15.25 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001323/0.4095, allocations: 16.84 kB / 1.325 GB, free: 15.23 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004404/0.4099, allocations: 256.1 kB / 1.325 GB, free: 14.94 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002037/0.4101, allocations: 111.4 kB / 1.325 GB, free: 14.81 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.863e-05/0.4101, allocations: 4.375 kB / 1.325 GB, free: 14.8 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004122/0.4105, allocations: 169.4 kB / 1.325 GB, free: 14.63 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.4106, allocations: 0 / 1.325 GB, free: 14.63 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.453e-05/0.4106, allocations: 4 kB / 1.325 GB, free: 14.63 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.524e-05/0.4106, allocations: 11.98 kB / 1.325 GB, free: 14.62 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.718e-05/0.4107, allocations: 43.97 kB / 1.325 GB, free: 14.57 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001227/0.4119, allocations: 464.4 kB / 1.326 GB, free: 14.07 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 9.051e-05/0.412, allocations: 38.56 kB / 1.326 GB, free: 14.02 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.722e-05/0.4121, allocations: 24.84 kB / 1.326 GB, free: 14 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.279e-05/0.4121, allocations: 3.984 kB / 1.326 GB, free: 13.99 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.902e-05/0.4121, allocations: 42.5 kB / 1.326 GB, free: 13.94 MB / 1.029 GB Notification: Performance of pre-optimization done (n=8): time 1.392e-06/0.4121, allocations: 0 / 1.326 GB, free: 13.94 MB / 1.029 GB Notification: Performance of matching and sorting (n=8): time 0.0003131/0.4125, allocations: 101.5 kB / 1.326 GB, free: 13.84 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.38e-05/0.4125, allocations: 55.34 kB / 1.326 GB, free: 13.77 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002674/0.4128, allocations: 219.8 kB / 1.326 GB, free: 13.54 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.852e-05/0.4128, allocations: 29.7 kB / 1.326 GB, free: 13.5 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000104/0.4129, allocations: 128.2 kB / 1.326 GB, free: 13.38 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.025e-05/0.4129, allocations: 23.92 kB / 1.326 GB, free: 13.35 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.475e-05/0.413, allocations: 29.72 kB / 1.326 GB, free: 13.32 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001518/0.4132, allocations: 326.8 kB / 1.327 GB, free: 12.99 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.797e-05/0.4132, allocations: 31.91 kB / 1.327 GB, free: 12.96 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001166/0.4134, allocations: 102.2 kB / 1.327 GB, free: 12.82 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000188/0.4135, allocations: 142.2 kB / 1.327 GB, free: 12.64 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.4135, allocations: 0 / 1.327 GB, free: 12.64 MB / 1.029 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002793/0.4138, allocations: 149.3 kB / 1.327 GB, free: 12.49 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.4138, allocations: 8 kB / 1.327 GB, free: 12.48 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.4139, allocations: 384 / 1.327 GB, free: 12.48 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.4139, allocations: 8 kB / 1.327 GB, free: 12.48 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001219/0.414, allocations: 35.92 kB / 1.327 GB, free: 12.44 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.116e-05/0.414, allocations: 7.938 kB / 1.327 GB, free: 12.43 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.989e-05/0.4141, allocations: 11.89 kB / 1.327 GB, free: 12.42 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.551e-05/0.4141, allocations: 8 kB / 1.327 GB, free: 12.41 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.0001765/0.4143, allocations: 145.8 kB / 1.327 GB, free: 12.26 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.122e-05/0.4143, allocations: 15.91 kB / 1.327 GB, free: 12.25 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002411/0.4146, allocations: 118 kB / 1.327 GB, free: 12.12 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.4146, allocations: 4 kB / 1.327 GB, free: 12.12 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.744e-06/0.4146, allocations: 3.938 kB / 1.327 GB, free: 12.12 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.4146, allocations: 4 kB / 1.327 GB, free: 12.11 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002947/0.4149, allocations: 229.5 kB / 1.328 GB, free: 11.84 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.4149, allocations: 0 / 1.328 GB, free: 11.84 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.442e-05/0.4149, allocations: 19.94 kB / 1.328 GB, free: 11.82 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/0.4149, allocations: 0 / 1.328 GB, free: 11.82 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.436e-06/0.4149, allocations: 0 / 1.328 GB, free: 11.82 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.4149, allocations: 0 / 1.328 GB, free: 11.82 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.333e-05/0.415, allocations: 3.938 kB / 1.328 GB, free: 11.82 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002417/0.4152, allocations: 191.5 kB / 1.328 GB, free: 11.61 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.696e-05/0.4153, allocations: 93 kB / 1.328 GB, free: 11.5 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.18e-05/0.4153, allocations: 4 kB / 1.328 GB, free: 11.5 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002553/0.4156, allocations: 19.92 kB / 1.328 GB, free: 11.48 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.17e-05/0.4156, allocations: 7.922 kB / 1.328 GB, free: 11.47 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.513e-05/0.4156, allocations: 11.98 kB / 1.328 GB, free: 11.46 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001725/0.4158, allocations: 169.4 kB / 1.328 GB, free: 11.3 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4158, allocations: 7.938 kB / 1.328 GB, free: 11.29 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003163/0.4161, allocations: 31.94 kB / 1.328 GB, free: 11.26 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.0007327/0.4169, allocations: 0.7477 MB / 1.329 GB, free: 10.49 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002147/0.4171, allocations: 67.84 kB / 1.329 GB, free: 10.43 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.4171, allocations: 0 / 1.329 GB, free: 10.43 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 5.051e-05/0.4171, allocations: 27.92 kB / 1.329 GB, free: 10.4 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003404/0.4175, allocations: 24.67 kB / 1.329 GB, free: 10.38 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002376/0.4198, allocations: 1.916 MB / 1.331 GB, free: 8.312 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004142/0.4203, allocations: 0.7314 MB / 1.332 GB, free: 7.555 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001349/0.4204, allocations: 55.72 kB / 1.332 GB, free: 7.504 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.055e-05/0.4205, allocations: 47.41 kB / 1.332 GB, free: 7.457 MB / 1.029 GB Notification: Performance of SimCode: time 5.41e-07/0.4205, allocations: 4 kB / 1.332 GB, free: 7.453 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03788/0.4584, allocations: 4.274 MB / 1.336 GB, free: 3.367 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.662/9.12, allocations: 11.98 kB / 1.336 GB, free: 3.355 MB / 1.029 GB " [Timeout remaining time 291] (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: 16.162970250006765]