Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001168/0.001168, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001441/0.001441, allocations: 221.4 kB / 22.26 MB, free: 5.125 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.435/1.435, allocations: 230.6 MB / 256 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.79/2.79, allocations: 476.8 MB / 0.7707 GB, free: 4.258 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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_11_Buildings_Utilities_IO_Files_Validation_WeeklyScheduleWindowsLineEndings",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings,fileNamePrefix="Buildings_11_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.002042/0.002042, allocations: 67.88 kB / 1.117 GB, free: 39.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3196/0.3216, allocations: 170 MB / 1.283 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings): time 0.003296/0.3249, allocations: 1.521 MB / 1.285 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001989/0.3269, allocations: 1.233 MB / 1.286 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.159e-05/0.327, allocations: 4 kB / 1.286 GB, free: 8.855 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002081/0.3272, allocations: 19.86 kB / 1.286 GB, free: 8.836 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001877/0.3274, allocations: 47.7 kB / 1.286 GB, free: 8.789 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002273/0.3276, allocations: 60.47 kB / 1.286 GB, free: 8.734 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000212/0.3278, allocations: 151.5 kB / 1.286 GB, free: 8.586 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001473/0.3279, allocations: 36.8 kB / 1.286 GB, free: 8.555 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001067/0.328, allocations: 83.75 kB / 1.286 GB, free: 8.473 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001909/0.3282, allocations: 55.77 kB / 1.286 GB, free: 8.418 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.668e-05/0.3283, allocations: 19.94 kB / 1.287 GB, free: 8.398 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 7.729e-05/0.3284, allocations: 28 kB / 1.287 GB, free: 8.371 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 8.317e-05/0.3284, allocations: 47.81 kB / 1.287 GB, free: 8.324 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 9.71e-05/0.3285, allocations: 75.58 kB / 1.287 GB, free: 8.25 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002922/0.3288, allocations: 196 kB / 1.287 GB, free: 8.059 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.3288, allocations: 0 / 1.287 GB, free: 8.059 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.292e-06/0.3288, allocations: 0 / 1.287 GB, free: 8.059 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.965e-06/0.3288, allocations: 7.938 kB / 1.287 GB, free: 8.051 MB / 0.9825 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.0007381/0.3296, allocations: 421.3 kB / 1.287 GB, free: 7.609 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/0.3296, allocations: 15.97 kB / 1.287 GB, free: 7.594 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.401e-05/0.3297, allocations: 46.73 kB / 1.287 GB, free: 7.539 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.258e-05/0.3297, allocations: 16.84 kB / 1.287 GB, free: 7.523 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003344/0.3301, allocations: 202.1 kB / 1.288 GB, free: 7.301 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002234/0.3303, allocations: 218.2 kB / 1.288 GB, free: 7.039 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.567e-05/0.3303, allocations: 8.375 kB / 1.288 GB, free: 7.031 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003463/0.3307, allocations: 153.5 kB / 1.288 GB, free: 6.875 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.3307, allocations: 4 kB / 1.288 GB, free: 6.871 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.27e-05/0.3307, allocations: 7.984 kB / 1.288 GB, free: 6.863 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.496e-05/0.3307, allocations: 11.94 kB / 1.288 GB, free: 6.852 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.509e-05/0.3308, allocations: 39.97 kB / 1.288 GB, free: 6.812 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001007/0.3318, allocations: 439.4 kB / 1.288 GB, free: 6.34 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 7.369e-05/0.3319, allocations: 34.56 kB / 1.288 GB, free: 6.297 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.185e-05/0.3319, allocations: 20.84 kB / 1.288 GB, free: 6.273 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.478e-05/0.332, allocations: 4 kB / 1.288 GB, free: 6.27 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.437e-05/0.332, allocations: 38.56 kB / 1.288 GB, free: 6.223 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=8): time 1.122e-06/0.332, allocations: 0 / 1.288 GB, free: 6.223 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8): time 0.0002807/0.3323, allocations: 109.6 kB / 1.289 GB, free: 6.109 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.161e-05/0.3323, allocations: 59.34 kB / 1.289 GB, free: 6.039 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002376/0.3325, allocations: 211.8 kB / 1.289 GB, free: 5.816 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.103e-05/0.3326, allocations: 29.7 kB / 1.289 GB, free: 5.781 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001/0.3327, allocations: 120.2 kB / 1.289 GB, free: 5.66 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.11e-05/0.3327, allocations: 27.75 kB / 1.289 GB, free: 5.633 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.136e-05/0.3328, allocations: 33.7 kB / 1.289 GB, free: 5.594 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001719/0.3329, allocations: 330.8 kB / 1.289 GB, free: 5.262 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.493e-05/0.333, allocations: 31.91 kB / 1.289 GB, free: 5.23 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001157/0.3331, allocations: 98.3 kB / 1.289 GB, free: 5.098 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001972/0.3333, allocations: 146.1 kB / 1.29 GB, free: 4.918 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.3333, allocations: 4 kB / 1.29 GB, free: 4.914 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002603/0.3336, allocations: 153.6 kB / 1.29 GB, free: 4.758 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.3336, allocations: 8.031 kB / 1.29 GB, free: 4.75 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.3336, allocations: 4 kB / 1.29 GB, free: 4.746 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.3336, allocations: 4 kB / 1.29 GB, free: 4.742 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001053/0.3337, allocations: 27.92 kB / 1.29 GB, free: 4.715 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.263e-05/0.3337, allocations: 7.938 kB / 1.29 GB, free: 4.707 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.351e-05/0.3338, allocations: 11.89 kB / 1.29 GB, free: 4.695 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.203e-05/0.3338, allocations: 4 kB / 1.29 GB, free: 4.691 MB / 0.9825 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.0001526/0.3339, allocations: 150.3 kB / 1.29 GB, free: 4.535 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.19e-05/0.334, allocations: 11.91 kB / 1.29 GB, free: 4.523 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002289/0.3342, allocations: 127.1 kB / 1.29 GB, free: 4.391 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.3342, allocations: 0 / 1.29 GB, free: 4.391 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.606e-06/0.3342, allocations: 7.922 kB / 1.29 GB, free: 4.383 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.3342, allocations: 0 / 1.29 GB, free: 4.383 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000257/0.3345, allocations: 200.6 kB / 1.29 GB, free: 4.145 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.3345, allocations: 0 / 1.29 GB, free: 4.145 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.001e-05/0.3345, allocations: 15.98 kB / 1.29 GB, free: 4.129 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.3346, allocations: 0 / 1.29 GB, free: 4.129 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.806e-05/0.3346, allocations: 4 kB / 1.29 GB, free: 4.125 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.071e-06/0.3346, allocations: 7.938 kB / 1.29 GB, free: 4.117 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.3346, allocations: 7.938 kB / 1.29 GB, free: 4.109 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002054/0.3348, allocations: 183.4 kB / 1.29 GB, free: 3.914 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.161e-05/0.3348, allocations: 11.91 kB / 1.291 GB, free: 3.902 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.992e-05/0.3348, allocations: 11.92 kB / 1.291 GB, free: 3.891 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002356/0.3351, allocations: 15.98 kB / 1.291 GB, free: 3.875 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.907e-05/0.3351, allocations: 7.922 kB / 1.291 GB, free: 3.867 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.56e-05/0.3351, allocations: 15.98 kB / 1.291 GB, free: 3.852 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001515/0.3353, allocations: 157.5 kB / 1.291 GB, free: 3.699 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.3353, allocations: 0 / 1.291 GB, free: 3.699 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003019/0.3356, allocations: 31.94 kB / 1.291 GB, free: 3.668 MB / 0.9825 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.0006979/0.3363, allocations: 0.7516 MB / 1.291 GB, free: 2.898 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000173/0.3364, allocations: 71.83 kB / 1.292 GB, free: 2.828 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.3364, allocations: 0 / 1.292 GB, free: 2.828 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.04e-05/0.3365, allocations: 28.67 kB / 1.292 GB, free: 2.801 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003121/0.3368, allocations: 31.86 kB / 1.292 GB, free: 2.77 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002164/0.339, allocations: 1.915 MB / 1.293 GB, free: 0.7109 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004151/0.3394, allocations: 0.7314 MB / 1.294 GB, free: 15.95 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001205/0.3395, allocations: 58.94 kB / 1.294 GB, free: 15.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.057e-05/0.3396, allocations: 51.34 kB / 1.294 GB, free: 15.85 MB / 0.9981 GB Notification: Performance of SimCode: time 3.71e-07/0.3396, allocations: 0 / 1.294 GB, free: 15.85 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03297/0.3726, allocations: 4.386 MB / 1.299 GB, free: 11.63 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.09/11.46, allocations: 5.25 kB / 1.299 GB, free: 11.62 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.pipe ; mkfifo Buildings_11_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.pipe >> ../files/Buildings_11_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Utilities_IO_Files_Validation_WeeklyScheduleWindowsLineEndings.fmu > Buildings_11_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_IO_Files_Validation_WeeklyScheduleWindowsLineEndings.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.13019774699933]