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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.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.006829/0.006829, allocations: 98.28 kB / 15.73 MB, free: 6.02 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.001256/0.001256, allocations: 190.8 kB / 16.67 MB, free: 5.938 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.364/1.364, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.729/2.729, allocations: 482.4 MB / 0.7548 GB, free: 6.852 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001932/0.001932, allocations: 66.73 kB / 1.083 GB, free: 13.94 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2815/0.2835, allocations: 162.2 MB / 1.241 GB, free: 9.293 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings): time 0.00265/0.2861, allocations: 1.491 MB / 1.243 GB, free: 7.789 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001503/0.2877, allocations: 1.114 MB / 1.244 GB, free: 6.668 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.714e-05/0.2877, allocations: 0 / 1.244 GB, free: 6.668 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001567/0.2879, allocations: 19.86 kB / 1.244 GB, free: 6.648 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001664/0.2881, allocations: 47.77 kB / 1.244 GB, free: 6.602 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.000186/0.2883, allocations: 59.16 kB / 1.244 GB, free: 6.547 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.000213/0.2885, allocations: 143.5 kB / 1.244 GB, free: 6.406 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001429/0.2886, allocations: 61.09 kB / 1.244 GB, free: 6.348 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 9.706e-05/0.2887, allocations: 79.75 kB / 1.244 GB, free: 6.27 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001834/0.2889, allocations: 55.77 kB / 1.244 GB, free: 6.215 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.035e-05/0.289, allocations: 12 kB / 1.244 GB, free: 6.203 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 8.167e-05/0.2891, allocations: 28 kB / 1.244 GB, free: 6.176 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 8.653e-05/0.2892, allocations: 55.75 kB / 1.245 GB, free: 6.121 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 9.438e-05/0.2893, allocations: 71.58 kB / 1.245 GB, free: 6.051 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002716/0.2895, allocations: 199.5 kB / 1.245 GB, free: 5.855 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.2895, allocations: 4 kB / 1.245 GB, free: 5.852 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.213e-06/0.2896, allocations: 4 kB / 1.245 GB, free: 5.848 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.83e-06/0.2896, allocations: 0 / 1.245 GB, free: 5.848 MB / 0.9669 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.0007213/0.2903, allocations: 0.4906 MB / 1.245 GB, free: 5.309 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.104e-05/0.2903, allocations: 12.03 kB / 1.245 GB, free: 5.297 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.129e-05/0.2904, allocations: 42.73 kB / 1.245 GB, free: 5.246 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.271e-05/0.2905, allocations: 20.8 kB / 1.245 GB, free: 5.227 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003023/0.2908, allocations: 256 kB / 1.246 GB, free: 4.938 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000158/0.2909, allocations: 119.4 kB / 1.246 GB, free: 4.797 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.541e-05/0.2909, allocations: 4.375 kB / 1.246 GB, free: 4.793 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000358/0.2913, allocations: 161.4 kB / 1.246 GB, free: 4.629 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.2913, allocations: 0 / 1.246 GB, free: 4.629 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.181e-05/0.2914, allocations: 4 kB / 1.246 GB, free: 4.625 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.566e-05/0.2914, allocations: 11.98 kB / 1.246 GB, free: 4.613 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.85e-05/0.2915, allocations: 47.84 kB / 1.246 GB, free: 4.566 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001047/0.2925, allocations: 456.5 kB / 1.246 GB, free: 4.07 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 7.336e-05/0.2926, allocations: 34.52 kB / 1.246 GB, free: 4.027 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.439e-05/0.2927, allocations: 28.84 kB / 1.246 GB, free: 3.996 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.208e-05/0.2927, allocations: 15.97 kB / 1.246 GB, free: 3.98 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.681e-05/0.2927, allocations: 30.56 kB / 1.246 GB, free: 3.941 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=8): time 1.172e-06/0.2928, allocations: 0 / 1.246 GB, free: 3.941 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8): time 0.0002635/0.293, allocations: 105.7 kB / 1.247 GB, free: 3.832 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.317e-05/0.2931, allocations: 63.27 kB / 1.247 GB, free: 3.758 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002408/0.2933, allocations: 227.8 kB / 1.247 GB, free: 3.52 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.645e-05/0.2934, allocations: 25.7 kB / 1.247 GB, free: 3.488 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 9.44e-05/0.2935, allocations: 124.1 kB / 1.247 GB, free: 3.363 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.86e-05/0.2935, allocations: 31.75 kB / 1.247 GB, free: 3.332 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.32e-05/0.2935, allocations: 33.7 kB / 1.247 GB, free: 3.293 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000144/0.2937, allocations: 322.8 kB / 1.247 GB, free: 2.969 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.472e-05/0.2938, allocations: 27.97 kB / 1.247 GB, free: 2.941 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001115/0.2939, allocations: 98.28 kB / 1.247 GB, free: 2.809 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001884/0.2941, allocations: 142.1 kB / 1.248 GB, free: 2.633 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.2941, allocations: 0 / 1.248 GB, free: 2.633 MB / 0.9669 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002588/0.2944, allocations: 157.3 kB / 1.248 GB, free: 2.473 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.176e-05/0.2944, allocations: 4 kB / 1.248 GB, free: 2.469 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.311e-06/0.2944, allocations: 4 kB / 1.248 GB, free: 2.465 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.2944, allocations: 4 kB / 1.248 GB, free: 2.461 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001037/0.2945, allocations: 27.98 kB / 1.248 GB, free: 2.434 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/0.2945, allocations: 11.88 kB / 1.248 GB, free: 2.422 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.446e-05/0.2946, allocations: 12.31 kB / 1.248 GB, free: 2.41 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.207e-05/0.2946, allocations: 8 kB / 1.248 GB, free: 2.402 MB / 0.9669 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.0001327/0.2947, allocations: 137.8 kB / 1.248 GB, free: 2.258 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.783e-05/0.2948, allocations: 19.86 kB / 1.248 GB, free: 2.238 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002271/0.295, allocations: 114.7 kB / 1.248 GB, free: 2.121 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.2951, allocations: 4 kB / 1.248 GB, free: 2.117 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.2951, allocations: 3.938 kB / 1.248 GB, free: 2.113 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.2951, allocations: 0 / 1.248 GB, free: 2.113 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002664/0.2953, allocations: 237.5 kB / 1.248 GB, free: 1.832 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.2954, allocations: 0 / 1.248 GB, free: 1.832 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.963e-05/0.2954, allocations: 19.94 kB / 1.248 GB, free: 1.812 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.2954, allocations: 0 / 1.248 GB, free: 1.812 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.494e-05/0.2954, allocations: 4 kB / 1.248 GB, free: 1.809 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.2954, allocations: 3.938 kB / 1.248 GB, free: 1.805 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.2954, allocations: 3.938 kB / 1.248 GB, free: 1.801 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002056/0.2957, allocations: 191.4 kB / 1.249 GB, free: 1.598 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.77e-05/0.2957, allocations: 93 kB / 1.249 GB, free: 1.488 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.72e-05/0.2958, allocations: 0 / 1.249 GB, free: 1.488 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002622/0.296, allocations: 23.98 kB / 1.249 GB, free: 1.465 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.185e-05/0.2961, allocations: 11.92 kB / 1.249 GB, free: 1.453 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.54e-05/0.2961, allocations: 11.98 kB / 1.249 GB, free: 1.441 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001605/0.2963, allocations: 161.5 kB / 1.249 GB, free: 1.285 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2963, allocations: 0 / 1.249 GB, free: 1.285 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003002/0.2966, allocations: 31.89 kB / 1.249 GB, free: 1.254 MB / 0.9669 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.0006492/0.2972, allocations: 0.7452 MB / 1.25 GB, free: 500 kB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001664/0.2974, allocations: 76.39 kB / 1.25 GB, free: 424 kB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.2974, allocations: 0 / 1.25 GB, free: 424 kB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 5.359e-05/0.2975, allocations: 27.98 kB / 1.25 GB, free: 396 kB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002916/0.2978, allocations: 20.14 kB / 1.25 GB, free: 376 kB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002061/0.2998, allocations: 1.913 MB / 1.252 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003831/0.3002, allocations: 0.7392 MB / 1.252 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001206/0.3004, allocations: 51.47 kB / 1.252 GB, free: 13.5 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.072e-05/0.3004, allocations: 55.34 kB / 1.252 GB, free: 13.44 MB / 0.9825 GB Notification: Performance of SimCode: time 2.7e-07/0.3005, allocations: 0 / 1.252 GB, free: 13.44 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02615/0.3266, allocations: 4.252 MB / 1.257 GB, free: 9.383 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.966/8.292, allocations: 10.67 kB / 1.257 GB, free: 9.375 MB / 0.9825 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 400 --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