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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007305/0.007312, allocations: 98.64 kB / 15.73 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001606/0.001606, allocations: 193.4 kB / 16.67 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.363/1.363, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.599/2.599, allocations: 469.4 MB / 0.7422 GB, free: 3.473 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 63.89 kB / 1.064 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8447/0.846, allocations: 159.1 MB / 1.22 GB, free: 2.297 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings): time 0.00291/0.8489, allocations: 1.483 MB / 1.221 GB, free: 0.8008 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001514/0.8505, allocations: 1.114 MB / 1.222 GB, free: 15.68 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.2e-05/0.8506, allocations: 0 / 1.222 GB, free: 15.68 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.000205/0.8508, allocations: 19.86 kB / 1.222 GB, free: 15.66 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001993/0.851, allocations: 43.78 kB / 1.222 GB, free: 15.62 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001945/0.8512, allocations: 51.05 kB / 1.222 GB, free: 15.57 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.000196/0.8514, allocations: 151.5 kB / 1.223 GB, free: 15.42 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001703/0.8516, allocations: 73 kB / 1.223 GB, free: 15.35 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001062/0.8517, allocations: 79.77 kB / 1.223 GB, free: 15.27 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001764/0.8519, allocations: 59.7 kB / 1.223 GB, free: 15.21 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 3.691e-05/0.8519, allocations: 12 kB / 1.223 GB, free: 15.2 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 7.668e-05/0.852, allocations: 31.98 kB / 1.223 GB, free: 15.17 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 7.674e-05/0.8521, allocations: 47.89 kB / 1.223 GB, free: 15.12 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 8.326e-05/0.8522, allocations: 75.45 kB / 1.223 GB, free: 15.05 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.000264/0.8525, allocations: 206.9 kB / 1.223 GB, free: 14.85 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.8525, allocations: 0 / 1.223 GB, free: 14.85 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.383e-06/0.8525, allocations: 0 / 1.223 GB, free: 14.85 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.863e-06/0.8525, allocations: 0 / 1.223 GB, free: 14.85 MB / 0.9512 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.0006755/0.8532, allocations: 0.4892 MB / 1.224 GB, free: 14.32 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.555e-05/0.8532, allocations: 8.625 kB / 1.224 GB, free: 14.31 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.149e-05/0.8533, allocations: 42.75 kB / 1.224 GB, free: 14.26 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.283e-05/0.8533, allocations: 24.78 kB / 1.224 GB, free: 14.23 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003035/0.8537, allocations: 256 kB / 1.224 GB, free: 13.95 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001379/0.8538, allocations: 119.3 kB / 1.224 GB, free: 13.8 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.489e-05/0.8538, allocations: 12.31 kB / 1.224 GB, free: 13.79 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003303/0.8542, allocations: 157.5 kB / 1.224 GB, free: 13.63 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.054e-06/0.8542, allocations: 0 / 1.224 GB, free: 13.63 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.184e-05/0.8542, allocations: 4 kB / 1.224 GB, free: 13.63 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.777e-05/0.8542, allocations: 8 kB / 1.224 GB, free: 13.62 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.768e-05/0.8543, allocations: 47.91 kB / 1.224 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001045/0.8554, allocations: 452.5 kB / 1.225 GB, free: 13.08 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 8.394e-05/0.8555, allocations: 42.5 kB / 1.225 GB, free: 13.03 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.258e-05/0.8555, allocations: 20.84 kB / 1.225 GB, free: 13.01 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.707e-05/0.8556, allocations: 8.141 kB / 1.225 GB, free: 13 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.55e-05/0.8556, allocations: 34.56 kB / 1.225 GB, free: 12.96 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=8): time 1.362e-06/0.8556, allocations: 4 kB / 1.225 GB, free: 12.95 MB / 0.9512 GB Notification: Performance of matching and sorting (n=8): time 0.0002692/0.8559, allocations: 105.5 kB / 1.225 GB, free: 12.84 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.054e-05/0.8559, allocations: 55.34 kB / 1.225 GB, free: 12.78 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002037/0.8561, allocations: 223.7 kB / 1.225 GB, free: 12.54 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.773e-05/0.8562, allocations: 29.7 kB / 1.225 GB, free: 12.5 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 7.508e-05/0.8562, allocations: 124.1 kB / 1.225 GB, free: 12.38 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.505e-05/0.8563, allocations: 27.75 kB / 1.225 GB, free: 12.35 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.724e-05/0.8563, allocations: 33.7 kB / 1.225 GB, free: 12.31 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001044/0.8564, allocations: 326.8 kB / 1.226 GB, free: 11.98 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.037e-05/0.8565, allocations: 23.98 kB / 1.226 GB, free: 11.96 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.578e-05/0.8566, allocations: 110.2 kB / 1.226 GB, free: 11.82 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001538/0.8568, allocations: 138.1 kB / 1.226 GB, free: 11.64 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.147e-06/0.8568, allocations: 4 kB / 1.226 GB, free: 11.64 MB / 0.9512 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002407/0.857, allocations: 153.3 kB / 1.226 GB, free: 11.48 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.857, allocations: 4 kB / 1.226 GB, free: 11.48 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.812e-06/0.857, allocations: 8.312 kB / 1.226 GB, free: 11.47 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.75e-05/0.8571, allocations: 11.98 kB / 1.226 GB, free: 11.46 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.924e-05/0.8572, allocations: 20 kB / 1.226 GB, free: 11.44 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.154e-05/0.8572, allocations: 15.86 kB / 1.226 GB, free: 11.43 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.783e-05/0.8573, allocations: 11.89 kB / 1.226 GB, free: 11.41 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.248e-05/0.8573, allocations: 4 kB / 1.226 GB, free: 11.41 MB / 0.9512 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.0001178/0.8574, allocations: 149.8 kB / 1.226 GB, free: 11.25 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.757e-05/0.8575, allocations: 11.91 kB / 1.226 GB, free: 11.24 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002123/0.8577, allocations: 118.7 kB / 1.226 GB, free: 11.12 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.8577, allocations: 4 kB / 1.226 GB, free: 11.11 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.8577, allocations: 3.938 kB / 1.226 GB, free: 11.11 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.8577, allocations: 0 / 1.226 GB, free: 11.11 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002341/0.858, allocations: 233.5 kB / 1.227 GB, free: 10.83 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.858, allocations: 0 / 1.227 GB, free: 10.83 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.263e-05/0.858, allocations: 15.98 kB / 1.227 GB, free: 10.82 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.858, allocations: 0 / 1.227 GB, free: 10.82 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.468e-06/0.858, allocations: 4 kB / 1.227 GB, free: 10.81 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.8581, allocations: 0 / 1.227 GB, free: 10.81 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/0.8581, allocations: 3.938 kB / 1.227 GB, free: 10.81 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001984/0.8583, allocations: 199.3 kB / 1.227 GB, free: 10.6 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.607e-05/0.8583, allocations: 89.06 kB / 1.227 GB, free: 10.49 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.94e-05/0.8583, allocations: 0 / 1.227 GB, free: 10.49 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002568/0.8586, allocations: 19.97 kB / 1.227 GB, free: 10.47 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.842e-05/0.8586, allocations: 7.938 kB / 1.227 GB, free: 10.46 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.839e-05/0.8587, allocations: 19.97 kB / 1.227 GB, free: 10.45 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001368/0.8588, allocations: 157.5 kB / 1.227 GB, free: 10.29 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.91e-07/0.8588, allocations: 4 kB / 1.227 GB, free: 10.29 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003094/0.8591, allocations: 31.95 kB / 1.227 GB, free: 10.26 MB / 0.9512 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.0005884/0.8597, allocations: 0.7487 MB / 1.228 GB, free: 9.488 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0001664/0.8599, allocations: 67.84 kB / 1.228 GB, free: 9.422 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.8599, allocations: 0 / 1.228 GB, free: 9.422 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 4.136e-05/0.86, allocations: 27.98 kB / 1.228 GB, free: 9.395 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003267/0.8603, allocations: 33.27 kB / 1.228 GB, free: 9.363 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001949/0.8623, allocations: 1.916 MB / 1.23 GB, free: 7.297 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002641/0.8625, allocations: 0.7314 MB / 1.231 GB, free: 6.539 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0001195/0.8627, allocations: 51.72 kB / 1.231 GB, free: 6.496 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.644e-05/0.8627, allocations: 51.42 kB / 1.231 GB, free: 6.445 MB / 0.9512 GB Notification: Performance of SimCode: time 3.3e-07/0.8628, allocations: 4 kB / 1.231 GB, free: 6.441 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02503/0.8878, allocations: 4.27 MB / 1.235 GB, free: 2.367 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.086/8.974, allocations: 6.625 kB / 1.235 GB, free: 2.363 MB / 0.9512 GB (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 50 --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) 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) Reference file matches