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.001557/0.001557, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001465/0.001465, allocations: 218 kB / 22.26 MB, free: 5.082 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.492/1.492, allocations: 230.6 MB / 256 MB, free: 8.023 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.406/3.406, allocations: 0.505 GB / 0.8101 GB, free: 22.06 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.002643/0.002643, allocations: 67.2 kB / 1.177 GB, free: 17.14 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.43/0.4326, allocations: 180.2 MB / 1.353 GB, free: 8.484 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings): time 0.003068/0.4357, allocations: 1.523 MB / 1.354 GB, free: 6.953 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002044/0.4377, allocations: 1.228 MB / 1.356 GB, free: 5.719 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.252e-05/0.4378, allocations: 7.938 kB / 1.356 GB, free: 5.711 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0002353/0.4381, allocations: 15.86 kB / 1.356 GB, free: 5.695 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0002425/0.4383, allocations: 47.78 kB / 1.356 GB, free: 5.648 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002083/0.4385, allocations: 51.91 kB / 1.356 GB, free: 5.598 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002565/0.4388, allocations: 151.5 kB / 1.356 GB, free: 5.449 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001718/0.4389, allocations: 37.5 kB / 1.356 GB, free: 5.414 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000115/0.4391, allocations: 83.77 kB / 1.356 GB, free: 5.332 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002276/0.4393, allocations: 61.81 kB / 1.356 GB, free: 5.273 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 4.313e-05/0.4393, allocations: 12 kB / 1.356 GB, free: 5.262 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 8.029e-05/0.4394, allocations: 24 kB / 1.356 GB, free: 5.238 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001053/0.4395, allocations: 59.81 kB / 1.356 GB, free: 5.18 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001022/0.4396, allocations: 75.52 kB / 1.356 GB, free: 5.105 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0003307/0.4399, allocations: 195.2 kB / 1.356 GB, free: 4.914 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 8.265e-06/0.4399, allocations: 4 kB / 1.356 GB, free: 4.91 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.735e-06/0.44, allocations: 0 / 1.356 GB, free: 4.91 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.371e-05/0.44, allocations: 0 / 1.356 GB, free: 4.91 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.0008784/0.4408, allocations: 425.3 kB / 1.357 GB, free: 4.465 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.792e-05/0.4409, allocations: 8.031 kB / 1.357 GB, free: 4.457 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.819e-05/0.4409, allocations: 42.75 kB / 1.357 GB, free: 4.406 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.292e-05/0.441, allocations: 20.8 kB / 1.357 GB, free: 4.387 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003916/0.4414, allocations: 206.1 kB / 1.357 GB, free: 4.16 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002568/0.4417, allocations: 222.2 kB / 1.357 GB, free: 3.895 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.183e-05/0.4417, allocations: 4.375 kB / 1.357 GB, free: 3.891 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004008/0.4421, allocations: 161.5 kB / 1.357 GB, free: 3.727 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.4421, allocations: 3.938 kB / 1.357 GB, free: 3.723 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.361e-05/0.4421, allocations: 7.984 kB / 1.357 GB, free: 3.715 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.847e-05/0.4422, allocations: 11.98 kB / 1.357 GB, free: 3.703 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.979e-05/0.4422, allocations: 43.92 kB / 1.357 GB, free: 3.66 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001112/0.4434, allocations: 431.5 kB / 1.358 GB, free: 3.195 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 8.597e-05/0.4434, allocations: 42.5 kB / 1.358 GB, free: 3.145 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.019e-05/0.4435, allocations: 24.84 kB / 1.358 GB, free: 3.117 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.997e-05/0.4435, allocations: 4 kB / 1.358 GB, free: 3.113 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.2e-05/0.4436, allocations: 38.56 kB / 1.358 GB, free: 3.066 MB / 1.045 GB Notification: Performance of pre-optimization done (n=8): time 1.292e-06/0.4436, allocations: 0 / 1.358 GB, free: 3.066 MB / 1.045 GB Notification: Performance of matching and sorting (n=8): time 0.0002968/0.4439, allocations: 105.9 kB / 1.358 GB, free: 2.957 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.572e-05/0.4439, allocations: 55.34 kB / 1.358 GB, free: 2.891 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002474/0.4442, allocations: 219.8 kB / 1.358 GB, free: 2.664 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.797e-05/0.4442, allocations: 33.7 kB / 1.358 GB, free: 2.625 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 9.1e-05/0.4443, allocations: 128 kB / 1.358 GB, free: 2.496 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.665e-05/0.4443, allocations: 23.8 kB / 1.358 GB, free: 2.473 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.074e-05/0.4444, allocations: 33.7 kB / 1.359 GB, free: 2.434 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001642/0.4445, allocations: 326.8 kB / 1.359 GB, free: 2.105 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.135e-05/0.4446, allocations: 23.98 kB / 1.359 GB, free: 2.082 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001251/0.4447, allocations: 102.2 kB / 1.359 GB, free: 1.945 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001996/0.4449, allocations: 146.1 kB / 1.359 GB, free: 1.766 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.4449, allocations: 0 / 1.359 GB, free: 1.766 MB / 1.045 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002594/0.4452, allocations: 149.3 kB / 1.359 GB, free: 1.613 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/0.4452, allocations: 8 kB / 1.359 GB, free: 1.605 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/0.4452, allocations: 4.375 kB / 1.359 GB, free: 1.602 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.4452, allocations: 4 kB / 1.359 GB, free: 1.598 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000108/0.4453, allocations: 27.98 kB / 1.359 GB, free: 1.57 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.508e-05/0.4453, allocations: 11.88 kB / 1.359 GB, free: 1.559 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.372e-05/0.4454, allocations: 7.938 kB / 1.359 GB, free: 1.551 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.473e-05/0.4454, allocations: 8 kB / 1.359 GB, free: 1.543 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.0001524/0.4456, allocations: 142.5 kB / 1.359 GB, free: 1.395 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.458e-05/0.4456, allocations: 15.91 kB / 1.359 GB, free: 1.379 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002488/0.4459, allocations: 123.8 kB / 1.36 GB, free: 1.25 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.4459, allocations: 4 kB / 1.36 GB, free: 1.246 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.747e-06/0.4459, allocations: 3.938 kB / 1.36 GB, free: 1.242 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.4459, allocations: 4 kB / 1.36 GB, free: 1.238 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002623/0.4461, allocations: 204.6 kB / 1.36 GB, free: 0.9961 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.4461, allocations: 0 / 1.36 GB, free: 0.9961 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.749e-05/0.4462, allocations: 15.98 kB / 1.36 GB, free: 0.9805 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.4462, allocations: 0 / 1.36 GB, free: 0.9805 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.625e-06/0.4462, allocations: 0 / 1.36 GB, free: 0.9805 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.133e-06/0.4462, allocations: 0 / 1.36 GB, free: 0.9805 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.327e-06/0.4462, allocations: 7.875 kB / 1.36 GB, free: 0.9727 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002204/0.4464, allocations: 191.4 kB / 1.36 GB, free: 0.7695 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 2.499e-05/0.4465, allocations: 15.91 kB / 1.36 GB, free: 0.7539 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.89e-05/0.4465, allocations: 0 / 1.36 GB, free: 0.7539 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002296/0.4467, allocations: 19.97 kB / 1.36 GB, free: 0.7344 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.532e-05/0.4467, allocations: 7.938 kB / 1.36 GB, free: 0.7266 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.836e-05/0.4468, allocations: 15.97 kB / 1.36 GB, free: 0.7109 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001624/0.4469, allocations: 161.5 kB / 1.36 GB, free: 0.5547 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4469, allocations: 4 kB / 1.36 GB, free: 0.5508 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0003/0.4472, allocations: 39.83 kB / 1.36 GB, free: 0.5117 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.0007058/0.4479, allocations: 0.7506 MB / 1.361 GB, free: 15.74 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001865/0.4481, allocations: 71.83 kB / 1.361 GB, free: 15.67 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 7.013e-06/0.4481, allocations: 0 / 1.361 GB, free: 15.67 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 4.078e-05/0.4482, allocations: 23.98 kB / 1.361 GB, free: 15.65 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003055/0.4485, allocations: 22.19 kB / 1.361 GB, free: 15.63 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002171/0.4506, allocations: 1.913 MB / 1.363 GB, free: 13.57 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003988/0.451, allocations: 0.7314 MB / 1.364 GB, free: 12.81 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001348/0.4512, allocations: 53.56 kB / 1.364 GB, free: 12.76 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.381e-05/0.4513, allocations: 47.42 kB / 1.364 GB, free: 12.71 MB / 1.061 GB Notification: Performance of SimCode: time 3.61e-07/0.4513, allocations: 4 kB / 1.364 GB, free: 12.71 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0477/0.4989, allocations: 4.399 MB / 1.368 GB, free: 8.477 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.15/11.65, allocations: 9.75 kB / 1.368 GB, free: 8.469 MB / 1.061 GB " [Timeout remaining time 288] (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: 18.939150695000535]