Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001331/0.001331, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001529/0.001529, allocations: 213.8 kB / 22.25 MB, free: 5.082 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.466/1.466, allocations: 230.6 MB / 256 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.267/3.267, allocations: 0.49 GB / 0.7951 GB, free: 33.36 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Utilities_IO_Files_Validation_WeeklyScheduleWindowsLineEndings",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings,fileNamePrefix="Buildings_12_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.002084/0.002084, allocations: 71.39 kB / 1.154 GB, free: 25.72 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3687/0.3708, allocations: 176.1 MB / 1.326 GB, free: 1.949 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings): time 0.003027/0.3738, allocations: 1.513 MB / 1.327 GB, free: 440 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001889/0.3757, allocations: 1.243 MB / 1.329 GB, free: 15.18 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.02e-05/0.3757, allocations: 7.938 kB / 1.329 GB, free: 15.17 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001666/0.3759, allocations: 23.78 kB / 1.329 GB, free: 15.15 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001773/0.3761, allocations: 39.8 kB / 1.329 GB, free: 15.11 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002266/0.3763, allocations: 58.41 kB / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002241/0.3765, allocations: 151.6 kB / 1.329 GB, free: 14.91 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00014/0.3767, allocations: 37.5 kB / 1.329 GB, free: 14.87 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001214/0.3768, allocations: 87.7 kB / 1.329 GB, free: 14.78 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001981/0.377, allocations: 55.75 kB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.833e-05/0.377, allocations: 12 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 7.091e-05/0.3771, allocations: 20 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.49e-05/0.3772, allocations: 55.81 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 9.803e-05/0.3773, allocations: 71.58 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003045/0.3776, allocations: 207.1 kB / 1.329 GB, free: 14.37 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.453e-06/0.3776, allocations: 3.938 kB / 1.329 GB, free: 14.36 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.944e-06/0.3776, allocations: 4 kB / 1.329 GB, free: 14.36 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.735e-06/0.3776, allocations: 0 / 1.329 GB, free: 14.36 MB / 1.029 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.001048/0.3787, allocations: 429.3 kB / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 6.747e-05/0.3787, allocations: 8.031 kB / 1.33 GB, free: 13.9 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.215e-05/0.3788, allocations: 38.75 kB / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.977e-05/0.3789, allocations: 16.84 kB / 1.33 GB, free: 13.84 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005129/0.3794, allocations: 202.5 kB / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003115/0.3797, allocations: 230.2 kB / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.332e-05/0.3798, allocations: 4.375 kB / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004239/0.3802, allocations: 161.5 kB / 1.33 GB, free: 13.18 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.3802, allocations: 0 / 1.33 GB, free: 13.18 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.499e-05/0.3802, allocations: 4 kB / 1.33 GB, free: 13.17 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.879e-05/0.3803, allocations: 11.98 kB / 1.33 GB, free: 13.16 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.585e-05/0.3804, allocations: 39.98 kB / 1.33 GB, free: 13.12 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001223/0.3816, allocations: 431.5 kB / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001067/0.3817, allocations: 42.5 kB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.414e-05/0.3817, allocations: 24.84 kB / 1.331 GB, free: 12.58 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.878e-05/0.3818, allocations: 8.141 kB / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.385e-05/0.3818, allocations: 38.56 kB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of pre-optimization done (n=8): time 2.444e-06/0.3818, allocations: 0 / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of matching and sorting (n=8): time 0.0003505/0.3822, allocations: 101.6 kB / 1.331 GB, free: 12.42 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.615e-05/0.3822, allocations: 55.34 kB / 1.331 GB, free: 12.35 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002862/0.3825, allocations: 215.8 kB / 1.331 GB, free: 12.13 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.886e-05/0.3826, allocations: 25.7 kB / 1.331 GB, free: 12.1 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001319/0.3827, allocations: 132.1 kB / 1.331 GB, free: 11.96 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.82e-05/0.3827, allocations: 23.84 kB / 1.332 GB, free: 11.94 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.839e-05/0.3828, allocations: 41.58 kB / 1.332 GB, free: 11.89 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002259/0.383, allocations: 322.8 kB / 1.332 GB, free: 11.57 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001263/0.3832, allocations: 27.98 kB / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001329/0.3833, allocations: 98.28 kB / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002293/0.3835, allocations: 146.1 kB / 1.332 GB, free: 11.23 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-06/0.3835, allocations: 0 / 1.332 GB, free: 11.23 MB / 1.029 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003011/0.3838, allocations: 153.3 kB / 1.332 GB, free: 11.07 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.297e-05/0.3838, allocations: 8 kB / 1.332 GB, free: 11.07 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.3839, allocations: 0 / 1.332 GB, free: 11.07 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.66e-05/0.3839, allocations: 4 kB / 1.332 GB, free: 11.06 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001266/0.384, allocations: 23.98 kB / 1.332 GB, free: 11.04 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.96e-05/0.384, allocations: 15.81 kB / 1.332 GB, free: 11.02 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.027e-05/0.3841, allocations: 16.27 kB / 1.332 GB, free: 11.01 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.86e-05/0.3841, allocations: 12 kB / 1.332 GB, free: 11 MB / 1.029 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.0001679/0.3843, allocations: 137.8 kB / 1.332 GB, free: 10.85 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.111e-05/0.3844, allocations: 15.91 kB / 1.332 GB, free: 10.84 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002798/0.3846, allocations: 129.7 kB / 1.333 GB, free: 10.7 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.3846, allocations: 0 / 1.333 GB, free: 10.7 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.778e-06/0.3846, allocations: 3.938 kB / 1.333 GB, free: 10.7 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.654e-06/0.3847, allocations: 7.984 kB / 1.333 GB, free: 10.69 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003269/0.385, allocations: 200.6 kB / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.385, allocations: 0 / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.484e-05/0.385, allocations: 19.98 kB / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.385, allocations: 0 / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.486e-05/0.3851, allocations: 4 kB / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.3851, allocations: 0 / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/0.3851, allocations: 3.938 kB / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002528/0.3853, allocations: 195.3 kB / 1.333 GB, free: 10.22 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.823e-05/0.3853, allocations: 11.91 kB / 1.333 GB, free: 10.21 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.446e-05/0.3854, allocations: 4 kB / 1.333 GB, free: 10.2 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002443/0.3856, allocations: 23.97 kB / 1.333 GB, free: 10.18 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.871e-05/0.3856, allocations: 7.938 kB / 1.333 GB, free: 10.17 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.723e-05/0.3857, allocations: 11.97 kB / 1.333 GB, free: 10.16 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001723/0.3858, allocations: 161.5 kB / 1.333 GB, free: 10 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.3858, allocations: 0 / 1.333 GB, free: 10 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003281/0.3862, allocations: 31.94 kB / 1.333 GB, free: 9.973 MB / 1.029 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.0008286/0.387, allocations: 0.7524 MB / 1.334 GB, free: 9.199 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002002/0.3872, allocations: 65.08 kB / 1.334 GB, free: 9.137 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.3872, allocations: 7.938 kB / 1.334 GB, free: 9.129 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 4.088e-05/0.3872, allocations: 19.98 kB / 1.334 GB, free: 9.109 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003428/0.3876, allocations: 33.64 kB / 1.334 GB, free: 9.078 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002425/0.39, allocations: 1.901 MB / 1.336 GB, free: 7.023 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004177/0.3904, allocations: 0.7391 MB / 1.337 GB, free: 6.258 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001589/0.3906, allocations: 52.31 kB / 1.337 GB, free: 6.215 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.333e-05/0.3907, allocations: 47.42 kB / 1.337 GB, free: 6.168 MB / 1.029 GB Notification: Performance of SimCode: time 4.61e-07/0.3907, allocations: 0 / 1.337 GB, free: 6.168 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04515/0.4358, allocations: 4.398 MB / 1.341 GB, free: 1.945 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.3/11.73, allocations: 6.75 kB / 1.341 GB, free: 1.941 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.pipe ; mkfifo Buildings_12_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.pipe >> ../files/Buildings_12_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Utilities_IO_Files_Validation_WeeklyScheduleWindowsLineEndings.fmu > Buildings_12_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_IO_Files_Validation_WeeklyScheduleWindowsLineEndings.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.63317587200072]