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.001838/0.001838, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002338/0.002338, allocations: 213 kB / 22.24 MB, free: 4.855 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.475/1.475, allocations: 230.6 MB / 256 MB, free: 7.77 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.367/3.367, allocations: 0.5107 GB / 0.8158 GB, free: 17.77 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings,fileNamePrefix="Buildings_latest_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.002845/0.002845, allocations: 72.11 kB / 1.186 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4082/0.411, allocations: 181.9 MB / 1.363 GB, free: 14.09 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings): time 0.00335/0.4144, allocations: 1.498 MB / 1.365 GB, free: 12.57 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002058/0.4164, allocations: 1.205 MB / 1.366 GB, free: 11.36 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.315e-05/0.4165, allocations: 0 / 1.366 GB, free: 11.36 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.000197/0.4167, allocations: 15.86 kB / 1.366 GB, free: 11.34 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0002662/0.417, allocations: 47.77 kB / 1.366 GB, free: 11.3 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002252/0.4172, allocations: 55.91 kB / 1.366 GB, free: 11.24 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002266/0.4174, allocations: 151.5 kB / 1.366 GB, free: 11.09 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001472/0.4176, allocations: 37.52 kB / 1.366 GB, free: 11.05 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001327/0.4177, allocations: 79.75 kB / 1.366 GB, free: 10.98 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001894/0.4179, allocations: 63.64 kB / 1.366 GB, free: 10.91 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.706e-05/0.4179, allocations: 8 kB / 1.366 GB, free: 10.91 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 9.1e-05/0.418, allocations: 28 kB / 1.366 GB, free: 10.88 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 8.536e-05/0.4181, allocations: 47.88 kB / 1.367 GB, free: 10.83 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 9.882e-05/0.4182, allocations: 63.64 kB / 1.367 GB, free: 10.77 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003205/0.4185, allocations: 199.2 kB / 1.367 GB, free: 10.57 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.4185, allocations: 4 kB / 1.367 GB, free: 10.57 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.134e-06/0.4185, allocations: 11.88 kB / 1.367 GB, free: 10.56 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.793e-06/0.4186, allocations: 0 / 1.367 GB, free: 10.56 MB / 1.061 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.0008141/0.4194, allocations: 417.4 kB / 1.367 GB, free: 10.12 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.015e-05/0.4194, allocations: 8.031 kB / 1.367 GB, free: 10.11 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.461e-05/0.4195, allocations: 50.67 kB / 1.367 GB, free: 10.05 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.731e-05/0.4196, allocations: 20.8 kB / 1.367 GB, free: 10.04 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000376/0.4199, allocations: 201.9 kB / 1.367 GB, free: 9.812 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002247/0.4202, allocations: 222.2 kB / 1.368 GB, free: 9.547 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.107e-05/0.4202, allocations: 8.375 kB / 1.368 GB, free: 9.539 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004375/0.4206, allocations: 264.3 kB / 1.368 GB, free: 9.25 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.427e-06/0.4206, allocations: 0 / 1.368 GB, free: 9.25 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.098e-05/0.4207, allocations: 0 / 1.368 GB, free: 9.25 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.258e-05/0.4207, allocations: 15.98 kB / 1.368 GB, free: 9.234 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.922e-05/0.4208, allocations: 42.36 kB / 1.368 GB, free: 9.195 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001114/0.4219, allocations: 411.6 kB / 1.368 GB, free: 8.75 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 8.299e-05/0.422, allocations: 34.56 kB / 1.368 GB, free: 8.707 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.694e-05/0.422, allocations: 24.84 kB / 1.368 GB, free: 8.68 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.515e-05/0.422, allocations: 0 / 1.368 GB, free: 8.68 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.17e-05/0.4221, allocations: 38.56 kB / 1.368 GB, free: 8.633 MB / 1.061 GB Notification: Performance of pre-optimization done (n=8): time 1.012e-06/0.4221, allocations: 0 / 1.368 GB, free: 8.633 MB / 1.061 GB Notification: Performance of matching and sorting (n=8): time 0.0002836/0.4224, allocations: 105.5 kB / 1.369 GB, free: 8.523 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.606e-05/0.4224, allocations: 55.34 kB / 1.369 GB, free: 8.457 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002523/0.4227, allocations: 215.8 kB / 1.369 GB, free: 8.234 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.718e-05/0.4227, allocations: 33.7 kB / 1.369 GB, free: 8.195 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 9.451e-05/0.4228, allocations: 124.3 kB / 1.369 GB, free: 8.07 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.222e-05/0.4228, allocations: 31.78 kB / 1.369 GB, free: 8.039 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.313e-05/0.4229, allocations: 33.7 kB / 1.369 GB, free: 8 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001632/0.423, allocations: 330.8 kB / 1.369 GB, free: 7.668 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.564e-05/0.4231, allocations: 23.98 kB / 1.369 GB, free: 7.645 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001278/0.4232, allocations: 98.28 kB / 1.369 GB, free: 7.512 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001946/0.4234, allocations: 142.1 kB / 1.37 GB, free: 7.336 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.4234, allocations: 0 / 1.37 GB, free: 7.336 MB / 1.061 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002821/0.4237, allocations: 157.3 kB / 1.37 GB, free: 7.176 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.4237, allocations: 4 kB / 1.37 GB, free: 7.172 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.024e-06/0.4237, allocations: 4 kB / 1.37 GB, free: 7.168 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.914e-05/0.4238, allocations: 4 kB / 1.37 GB, free: 7.164 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00011/0.4239, allocations: 31.92 kB / 1.37 GB, free: 7.133 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.296e-06/0.4239, allocations: 3.938 kB / 1.37 GB, free: 7.129 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.869e-05/0.4239, allocations: 15.89 kB / 1.37 GB, free: 7.113 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.324e-05/0.424, allocations: 4 kB / 1.37 GB, free: 7.109 MB / 1.061 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.0001618/0.4241, allocations: 155.3 kB / 1.37 GB, free: 6.949 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.456e-05/0.4242, allocations: 15.91 kB / 1.37 GB, free: 6.934 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002445/0.4244, allocations: 119.9 kB / 1.37 GB, free: 6.809 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.4244, allocations: 0 / 1.37 GB, free: 6.809 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/0.4244, allocations: 3.938 kB / 1.37 GB, free: 6.805 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.4244, allocations: 0 / 1.37 GB, free: 6.805 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002493/0.4247, allocations: 180.7 kB / 1.37 GB, free: 6.586 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.4247, allocations: 0 / 1.37 GB, free: 6.586 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.009e-05/0.4247, allocations: 23.92 kB / 1.37 GB, free: 6.562 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.4247, allocations: 0 / 1.37 GB, free: 6.562 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.367e-06/0.4248, allocations: 8 kB / 1.37 GB, free: 6.555 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-06/0.4248, allocations: 4 kB / 1.37 GB, free: 6.551 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.4248, allocations: 3.938 kB / 1.37 GB, free: 6.547 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002244/0.425, allocations: 191.4 kB / 1.37 GB, free: 6.344 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.134e-05/0.425, allocations: 11.89 kB / 1.371 GB, free: 6.332 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.277e-05/0.425, allocations: 7.984 kB / 1.371 GB, free: 6.324 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002458/0.4253, allocations: 15.98 kB / 1.371 GB, free: 6.309 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.372e-05/0.4253, allocations: 7.922 kB / 1.371 GB, free: 6.301 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.399e-05/0.4253, allocations: 15.98 kB / 1.371 GB, free: 6.285 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.000169/0.4255, allocations: 160.1 kB / 1.371 GB, free: 6.129 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4255, allocations: 4 kB / 1.371 GB, free: 6.125 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003135/0.4258, allocations: 35.89 kB / 1.371 GB, free: 6.09 MB / 1.061 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.0006937/0.4265, allocations: 0.7467 MB / 1.371 GB, free: 5.32 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001729/0.4267, allocations: 68.16 kB / 1.372 GB, free: 5.254 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.4267, allocations: 4 kB / 1.372 GB, free: 5.25 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 4.74e-05/0.4267, allocations: 23.98 kB / 1.372 GB, free: 5.227 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000325/0.427, allocations: 27.56 kB / 1.372 GB, free: 5.203 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002218/0.4293, allocations: 1.906 MB / 1.373 GB, free: 3.148 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001359/0.4294, allocations: 122.1 kB / 1.374 GB, free: 3.012 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001323/0.4295, allocations: 53.83 kB / 1.374 GB, free: 2.969 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.28e-05/0.4296, allocations: 51.41 kB / 1.374 GB, free: 2.918 MB / 1.061 GB Notification: Performance of SimCode: time 3.9e-07/0.4296, allocations: 0 / 1.374 GB, free: 2.918 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03736/0.467, allocations: 4.905 MB / 1.378 GB, free: 14.19 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.18/12.65, allocations: 7.062 kB / 1.378 GB, free: 14.19 MB / 1.076 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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings_res.csv --start-time -10000 --stop-time 1e+06 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 404 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.csv","/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.575728403870016]