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.001467/0.001467, allocations: 106.5 kB / 16.45 MB, free: 6.453 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.001555/0.001555, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.531/1.531, allocations: 230.6 MB / 252.8 MB, free: 8.934 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.43/3.43, allocations: 0.505 GB / 0.8066 GB, free: 23.07 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.002228/0.002228, allocations: 69.22 kB / 1.172 GB, free: 17.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3661/0.3683, allocations: 180.2 MB / 1.348 GB, free: 9.953 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings): time 0.003047/0.3714, allocations: 1.515 MB / 1.349 GB, free: 8.43 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001739/0.3731, allocations: 1.156 MB / 1.35 GB, free: 7.266 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.246e-05/0.3732, allocations: 0 / 1.35 GB, free: 7.266 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001699/0.3733, allocations: 19.84 kB / 1.35 GB, free: 7.246 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001769/0.3735, allocations: 35.8 kB / 1.35 GB, free: 7.211 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001974/0.3737, allocations: 65.83 kB / 1.35 GB, free: 7.148 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.000227/0.3739, allocations: 143.5 kB / 1.351 GB, free: 7.008 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001523/0.3741, allocations: 57.31 kB / 1.351 GB, free: 6.949 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001022/0.3742, allocations: 79.81 kB / 1.351 GB, free: 6.871 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001907/0.3744, allocations: 63.64 kB / 1.351 GB, free: 6.809 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.431e-05/0.3744, allocations: 8 kB / 1.351 GB, free: 6.801 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 7.469e-05/0.3745, allocations: 28 kB / 1.351 GB, free: 6.773 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 8.091e-05/0.3746, allocations: 55.81 kB / 1.351 GB, free: 6.719 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 8.856e-05/0.3747, allocations: 75.58 kB / 1.351 GB, free: 6.645 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002736/0.3749, allocations: 195.2 kB / 1.351 GB, free: 6.453 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.3749, allocations: 0 / 1.351 GB, free: 6.453 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.593e-06/0.3749, allocations: 0 / 1.351 GB, free: 6.453 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.3749, allocations: 0 / 1.351 GB, free: 6.453 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.0007635/0.3757, allocations: 0.4984 MB / 1.352 GB, free: 5.906 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/0.3757, allocations: 11.98 kB / 1.352 GB, free: 5.895 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.385e-05/0.3758, allocations: 46.69 kB / 1.352 GB, free: 5.84 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.079e-05/0.3759, allocations: 20.8 kB / 1.352 GB, free: 5.82 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003504/0.3762, allocations: 259.8 kB / 1.352 GB, free: 5.527 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001754/0.3764, allocations: 119.4 kB / 1.352 GB, free: 5.387 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.595e-05/0.3764, allocations: 4.375 kB / 1.352 GB, free: 5.383 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003609/0.3768, allocations: 165.4 kB / 1.352 GB, free: 5.215 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.3768, allocations: 3.984 kB / 1.352 GB, free: 5.211 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.007e-05/0.3768, allocations: 8 kB / 1.352 GB, free: 5.203 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.564e-05/0.3768, allocations: 11.98 kB / 1.352 GB, free: 5.191 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.948e-05/0.3769, allocations: 43.97 kB / 1.352 GB, free: 5.148 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001142/0.3781, allocations: 452.4 kB / 1.353 GB, free: 4.656 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 7.75e-05/0.3782, allocations: 42.56 kB / 1.353 GB, free: 4.605 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.428e-05/0.3782, allocations: 24.84 kB / 1.353 GB, free: 4.578 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.542e-05/0.3782, allocations: 7.984 kB / 1.353 GB, free: 4.57 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.782e-05/0.3783, allocations: 30.56 kB / 1.353 GB, free: 4.531 MB / 1.045 GB Notification: Performance of pre-optimization done (n=8): time 1.172e-06/0.3783, allocations: 0 / 1.353 GB, free: 4.531 MB / 1.045 GB Notification: Performance of matching and sorting (n=8): time 0.000282/0.3785, allocations: 109.7 kB / 1.353 GB, free: 4.418 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.32e-05/0.3786, allocations: 59.34 kB / 1.353 GB, free: 4.348 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002493/0.3788, allocations: 220.8 kB / 1.353 GB, free: 4.121 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.197e-05/0.3789, allocations: 25.7 kB / 1.353 GB, free: 4.09 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.000106/0.379, allocations: 120.1 kB / 1.353 GB, free: 3.969 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.367e-05/0.379, allocations: 31.88 kB / 1.353 GB, free: 3.938 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.977e-05/0.3791, allocations: 25.72 kB / 1.353 GB, free: 3.906 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001621/0.3792, allocations: 330.8 kB / 1.354 GB, free: 3.574 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.841e-05/0.3793, allocations: 23.98 kB / 1.354 GB, free: 3.551 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001147/0.3794, allocations: 106.2 kB / 1.354 GB, free: 3.41 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001875/0.3796, allocations: 146.1 kB / 1.354 GB, free: 3.23 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.3796, allocations: 0 / 1.354 GB, free: 3.23 MB / 1.045 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002579/0.3798, allocations: 153.3 kB / 1.354 GB, free: 3.074 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.3799, allocations: 4 kB / 1.354 GB, free: 3.07 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.3799, allocations: 4 kB / 1.354 GB, free: 3.066 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.3799, allocations: 4.375 kB / 1.354 GB, free: 3.062 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001073/0.38, allocations: 31.92 kB / 1.354 GB, free: 3.031 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.286e-06/0.38, allocations: 3.938 kB / 1.354 GB, free: 3.027 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.35e-05/0.3801, allocations: 15.88 kB / 1.354 GB, free: 3.012 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.286e-05/0.3801, allocations: 8 kB / 1.354 GB, free: 3.004 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.0001337/0.3802, allocations: 141.8 kB / 1.354 GB, free: 2.855 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.15e-05/0.3803, allocations: 19.86 kB / 1.354 GB, free: 2.836 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002303/0.3805, allocations: 120.3 kB / 1.354 GB, free: 2.711 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.948e-06/0.3805, allocations: 4 kB / 1.354 GB, free: 2.707 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.3805, allocations: 7.938 kB / 1.354 GB, free: 2.699 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.3805, allocations: 0 / 1.354 GB, free: 2.699 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002661/0.3808, allocations: 229.6 kB / 1.355 GB, free: 2.426 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.3808, allocations: 4 kB / 1.355 GB, free: 2.422 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.34e-05/0.3808, allocations: 15.94 kB / 1.355 GB, free: 2.406 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.3808, allocations: 0 / 1.355 GB, free: 2.406 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.079e-05/0.3808, allocations: 4 kB / 1.355 GB, free: 2.402 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.3808, allocations: 7.984 kB / 1.355 GB, free: 2.395 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.3808, allocations: 3.938 kB / 1.355 GB, free: 2.391 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002061/0.381, allocations: 183.4 kB / 1.355 GB, free: 2.195 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 6.14e-05/0.3811, allocations: 89.02 kB / 1.355 GB, free: 2.09 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.855e-05/0.3811, allocations: 0 / 1.355 GB, free: 2.09 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002614/0.3814, allocations: 19.98 kB / 1.355 GB, free: 2.07 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.906e-05/0.3814, allocations: 11.92 kB / 1.355 GB, free: 2.059 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.452e-05/0.3814, allocations: 7.984 kB / 1.355 GB, free: 2.051 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001568/0.3816, allocations: 164.5 kB / 1.355 GB, free: 1.891 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3816, allocations: 4 kB / 1.355 GB, free: 1.887 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0003103/0.3819, allocations: 35.89 kB / 1.355 GB, free: 1.852 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.0006912/0.3826, allocations: 0.7563 MB / 1.356 GB, free: 1.074 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001739/0.3828, allocations: 71.83 kB / 1.356 GB, free: 1.004 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.3828, allocations: 0 / 1.356 GB, free: 1.004 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 4.567e-05/0.3828, allocations: 20.55 kB / 1.356 GB, free: 0.9844 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003104/0.3831, allocations: 26.33 kB / 1.356 GB, free: 0.9609 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002114/0.3852, allocations: 1.909 MB / 1.358 GB, free: 14.91 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003784/0.3856, allocations: 0.7391 MB / 1.359 GB, free: 14.14 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001218/0.3858, allocations: 54.59 kB / 1.359 GB, free: 14.09 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.851e-05/0.3858, allocations: 43.42 kB / 1.359 GB, free: 14.05 MB / 1.061 GB Notification: Performance of SimCode: time 3.41e-07/0.3858, allocations: 7.938 kB / 1.359 GB, free: 14.04 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03284/0.4187, allocations: 4.277 MB / 1.363 GB, free: 9.945 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.487/8.905, allocations: 5.422 kB / 1.363 GB, free: 9.941 MB / 1.061 GB " [Timeout remaining time 291] (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: 16.10197528405115]