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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001135/0.001135, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001106/0.001106, allocations: 195.2 kB / 16.53 MB, free: 6.664 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.286/1.286, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.726/2.726, allocations: 469.4 MB / 0.742 GB, free: 7.746 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001294, allocations: 63.89 kB / 0.9083 GB, free: 34.44 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.281/0.2823, allocations: 159.1 MB / 1.064 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings): time 0.002971/0.2854, allocations: 1.472 MB / 1.065 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001483/0.2869, allocations: 1.103 MB / 1.066 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.536e-05/0.287, allocations: 7.938 kB / 1.066 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002005/0.2872, allocations: 19.86 kB / 1.066 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001952/0.2874, allocations: 43.72 kB / 1.066 GB, free: 11.87 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001999/0.2876, allocations: 67.45 kB / 1.066 GB, free: 11.81 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001801/0.2878, allocations: 143.5 kB / 1.066 GB, free: 11.67 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000159/0.2879, allocations: 69.06 kB / 1.067 GB, free: 11.6 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.562e-05/0.2881, allocations: 75.77 kB / 1.067 GB, free: 11.53 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001908/0.2882, allocations: 63.69 kB / 1.067 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.266e-05/0.2883, allocations: 12 kB / 1.067 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.278e-05/0.2884, allocations: 28 kB / 1.067 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 8.687e-05/0.2885, allocations: 51.81 kB / 1.067 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 8.463e-05/0.2886, allocations: 71.58 kB / 1.067 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002393/0.2888, allocations: 199.6 kB / 1.067 GB, free: 11.11 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.2888, allocations: 0 / 1.067 GB, free: 11.11 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.252e-06/0.2888, allocations: 7.938 kB / 1.067 GB, free: 11.1 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.588e-06/0.2889, allocations: 0 / 1.067 GB, free: 11.1 MB / 0.8262 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.0006777/0.2895, allocations: 494.7 kB / 1.067 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.2896, allocations: 8.031 kB / 1.067 GB, free: 10.56 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.717e-05/0.2896, allocations: 42.73 kB / 1.068 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.653e-05/0.2897, allocations: 16.75 kB / 1.068 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002688/0.29, allocations: 252 kB / 1.068 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001354/0.2901, allocations: 119.4 kB / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.111e-05/0.2902, allocations: 4.375 kB / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000325/0.2905, allocations: 171.4 kB / 1.068 GB, free: 9.895 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.2905, allocations: 0 / 1.068 GB, free: 9.895 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.392e-05/0.2905, allocations: 3.984 kB / 1.068 GB, free: 9.891 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.538e-05/0.2906, allocations: 11.94 kB / 1.068 GB, free: 9.879 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.555e-05/0.2907, allocations: 43.97 kB / 1.068 GB, free: 9.836 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001028/0.2917, allocations: 464.3 kB / 1.069 GB, free: 9.332 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 6.402e-05/0.2918, allocations: 38.56 kB / 1.069 GB, free: 9.285 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.075e-05/0.2918, allocations: 24.84 kB / 1.069 GB, free: 9.258 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.614e-05/0.2918, allocations: 4 kB / 1.069 GB, free: 9.254 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.425e-05/0.2919, allocations: 34.56 kB / 1.069 GB, free: 9.211 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=8): time 2.475e-06/0.2919, allocations: 0 / 1.069 GB, free: 9.211 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8): time 0.0002626/0.2922, allocations: 113.8 kB / 1.069 GB, free: 9.094 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.71e-05/0.2922, allocations: 59.34 kB / 1.069 GB, free: 9.023 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001956/0.2924, allocations: 219.7 kB / 1.069 GB, free: 8.801 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.719e-05/0.2924, allocations: 25.7 kB / 1.069 GB, free: 8.77 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.757e-05/0.2925, allocations: 124 kB / 1.069 GB, free: 8.645 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.415e-05/0.2925, allocations: 23.8 kB / 1.069 GB, free: 8.621 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.628e-05/0.2926, allocations: 29.7 kB / 1.069 GB, free: 8.586 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.86e-05/0.2927, allocations: 326.8 kB / 1.07 GB, free: 8.258 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.715e-05/0.2928, allocations: 27.92 kB / 1.07 GB, free: 8.23 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.573e-05/0.2929, allocations: 102.2 kB / 1.07 GB, free: 8.094 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001728/0.293, allocations: 142.2 kB / 1.07 GB, free: 7.918 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.293, allocations: 0 / 1.07 GB, free: 7.918 MB / 0.8262 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002325/0.2933, allocations: 153.2 kB / 1.07 GB, free: 7.762 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.2933, allocations: 7.984 kB / 1.07 GB, free: 7.754 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.2933, allocations: 4.375 kB / 1.07 GB, free: 7.75 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.2933, allocations: 8 kB / 1.07 GB, free: 7.742 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.552e-05/0.2934, allocations: 19.94 kB / 1.07 GB, free: 7.723 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.029e-05/0.2935, allocations: 15.98 kB / 1.07 GB, free: 7.707 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.381e-05/0.2935, allocations: 15.84 kB / 1.07 GB, free: 7.691 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.267e-05/0.2935, allocations: 8 kB / 1.07 GB, free: 7.684 MB / 0.8262 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.0001133/0.2937, allocations: 149.7 kB / 1.07 GB, free: 7.527 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.824e-05/0.2937, allocations: 15.81 kB / 1.07 GB, free: 7.512 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002006/0.2939, allocations: 112.2 kB / 1.07 GB, free: 7.402 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.334e-06/0.2939, allocations: 4 kB / 1.07 GB, free: 7.398 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.294, allocations: 3.938 kB / 1.07 GB, free: 7.395 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.912e-06/0.294, allocations: 7.969 kB / 1.07 GB, free: 7.387 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00022/0.2942, allocations: 237.4 kB / 1.071 GB, free: 7.105 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.2942, allocations: 0 / 1.071 GB, free: 7.105 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.943e-05/0.2943, allocations: 19.92 kB / 1.071 GB, free: 7.086 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.2943, allocations: 0 / 1.071 GB, free: 7.086 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.624e-06/0.2943, allocations: 4 kB / 1.071 GB, free: 7.082 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.2943, allocations: 4 kB / 1.071 GB, free: 7.078 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.2943, allocations: 3.938 kB / 1.071 GB, free: 7.074 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001778/0.2945, allocations: 183.3 kB / 1.071 GB, free: 6.879 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.55e-05/0.2945, allocations: 85.02 kB / 1.071 GB, free: 6.777 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.039e-05/0.2945, allocations: 4 kB / 1.071 GB, free: 6.773 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000253/0.2948, allocations: 19.97 kB / 1.071 GB, free: 6.754 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.815e-05/0.2948, allocations: 11.92 kB / 1.071 GB, free: 6.742 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.136e-05/0.2949, allocations: 7.984 kB / 1.071 GB, free: 6.734 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001341/0.295, allocations: 165.5 kB / 1.071 GB, free: 6.574 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.295, allocations: 3.938 kB / 1.071 GB, free: 6.57 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003025/0.2953, allocations: 35.84 kB / 1.071 GB, free: 6.535 MB / 0.8262 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.0005485/0.2959, allocations: 0.7476 MB / 1.072 GB, free: 5.766 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001611/0.296, allocations: 71.84 kB / 1.072 GB, free: 5.695 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.296, allocations: 0 / 1.072 GB, free: 5.695 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 4.109e-05/0.2961, allocations: 27.92 kB / 1.072 GB, free: 5.668 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003029/0.2964, allocations: 24.67 kB / 1.072 GB, free: 5.645 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00183/0.2982, allocations: 1.91 MB / 1.074 GB, free: 3.578 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002752/0.2985, allocations: 0.7275 MB / 1.074 GB, free: 2.824 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001179/0.2987, allocations: 55.59 kB / 1.075 GB, free: 2.777 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.736e-05/0.2987, allocations: 43.42 kB / 1.075 GB, free: 2.734 MB / 0.8262 GB Notification: Performance of SimCode: time 2.71e-07/0.2987, allocations: 4 kB / 1.075 GB, free: 2.73 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02168/0.3204, allocations: 4.206 MB / 1.079 GB, free: 14.69 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.512/7.833, allocations: 16.22 kB / 1.079 GB, free: 14.68 MB / 0.8419 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