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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001821/0.001821, allocations: 109.2 kB / 16.46 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001952/0.001952, allocations: 195.8 kB / 19.41 MB, free: 3.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.48/1.48, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.144/3.144, allocations: 497.2 MB / 0.7811 GB, free: 33.76 MB / 0.6231 GB " [Timeout remaining time 176] 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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002089/0.002089, allocations: 64.77 kB / 1.134 GB, free: 33.58 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3701/0.3722, allocations: 173.9 MB / 1.304 GB, free: 1.461 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings): time 0.003824/0.376, allocations: 1.494 MB / 1.305 GB, free: 15.95 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001915/0.3779, allocations: 1.121 MB / 1.307 GB, free: 14.82 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.672e-05/0.378, allocations: 0 / 1.307 GB, free: 14.82 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0002112/0.3782, allocations: 23.81 kB / 1.307 GB, free: 14.8 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0002431/0.3784, allocations: 47.77 kB / 1.307 GB, free: 14.75 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002208/0.3787, allocations: 55.55 kB / 1.307 GB, free: 14.7 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002534/0.3789, allocations: 147.6 kB / 1.307 GB, free: 14.56 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001638/0.3791, allocations: 53.31 kB / 1.307 GB, free: 14.5 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000141/0.3792, allocations: 87.69 kB / 1.307 GB, free: 14.42 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002321/0.3794, allocations: 51.77 kB / 1.307 GB, free: 14.37 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 4.41e-05/0.3795, allocations: 12 kB / 1.307 GB, free: 14.36 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 8.527e-05/0.3796, allocations: 27.98 kB / 1.307 GB, free: 14.33 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 8.906e-05/0.3797, allocations: 51.81 kB / 1.307 GB, free: 14.28 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 9.318e-05/0.3798, allocations: 67.59 kB / 1.307 GB, free: 14.21 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.000332/0.3801, allocations: 207.2 kB / 1.307 GB, free: 14.01 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.3801, allocations: 3.984 kB / 1.307 GB, free: 14 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.763e-06/0.3801, allocations: 0 / 1.307 GB, free: 14 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.388e-05/0.3801, allocations: 0 / 1.307 GB, free: 14 MB / 1.014 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.0008635/0.381, allocations: 0.4906 MB / 1.308 GB, free: 13.46 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 6.05e-05/0.381, allocations: 12.62 kB / 1.308 GB, free: 13.45 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.173e-05/0.3811, allocations: 34.75 kB / 1.308 GB, free: 13.41 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.393e-05/0.3812, allocations: 20.84 kB / 1.308 GB, free: 13.39 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004021/0.3816, allocations: 252.7 kB / 1.308 GB, free: 13.11 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001744/0.3818, allocations: 127.3 kB / 1.308 GB, free: 12.96 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.108e-05/0.3818, allocations: 8.375 kB / 1.308 GB, free: 12.95 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003666/0.3821, allocations: 163.8 kB / 1.308 GB, free: 12.79 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.3822, allocations: 0 / 1.308 GB, free: 12.79 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.96e-05/0.3822, allocations: 0 / 1.308 GB, free: 12.79 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.677e-05/0.3822, allocations: 8 kB / 1.308 GB, free: 12.78 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001008/0.3823, allocations: 43.97 kB / 1.308 GB, free: 12.73 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001144/0.3834, allocations: 464.4 kB / 1.309 GB, free: 12.23 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 7.891e-05/0.3835, allocations: 34.5 kB / 1.309 GB, free: 12.19 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.365e-05/0.3836, allocations: 25 kB / 1.309 GB, free: 12.16 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.939e-05/0.3836, allocations: 11.92 kB / 1.309 GB, free: 12.15 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.144e-05/0.3836, allocations: 38.56 kB / 1.309 GB, free: 12.1 MB / 1.014 GB Notification: Performance of pre-optimization done (n=8): time 1.152e-06/0.3836, allocations: 0 / 1.309 GB, free: 12.1 MB / 1.014 GB Notification: Performance of matching and sorting (n=8): time 0.0002786/0.3839, allocations: 97.58 kB / 1.309 GB, free: 12 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.286e-05/0.384, allocations: 55.34 kB / 1.309 GB, free: 11.93 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002465/0.3842, allocations: 216.8 kB / 1.309 GB, free: 11.71 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.981e-05/0.3842, allocations: 29.7 kB / 1.309 GB, free: 11.67 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001085/0.3843, allocations: 124.1 kB / 1.309 GB, free: 11.55 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 3.293e-05/0.3844, allocations: 35.86 kB / 1.31 GB, free: 11.51 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.312e-05/0.3844, allocations: 33.7 kB / 1.31 GB, free: 11.47 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001499/0.3846, allocations: 326.8 kB / 1.31 GB, free: 11.14 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.852e-05/0.3846, allocations: 23.98 kB / 1.31 GB, free: 11.12 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001184/0.3848, allocations: 106.2 kB / 1.31 GB, free: 10.98 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001813/0.3849, allocations: 134.2 kB / 1.31 GB, free: 10.81 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-06/0.3849, allocations: 4 kB / 1.31 GB, free: 10.81 MB / 1.014 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002572/0.3852, allocations: 153.3 kB / 1.31 GB, free: 10.65 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.3852, allocations: 9.5 kB / 1.31 GB, free: 10.64 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.381e-06/0.3852, allocations: 4 kB / 1.31 GB, free: 10.64 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.822e-05/0.3852, allocations: 8 kB / 1.31 GB, free: 10.63 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001081/0.3853, allocations: 27.98 kB / 1.31 GB, free: 10.61 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.354e-05/0.3854, allocations: 8.312 kB / 1.31 GB, free: 10.6 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.301e-05/0.3854, allocations: 15.89 kB / 1.31 GB, free: 10.58 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.387e-05/0.3854, allocations: 11.92 kB / 1.31 GB, free: 10.57 MB / 1.014 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.0001423/0.3856, allocations: 141.8 kB / 1.31 GB, free: 10.42 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.394e-05/0.3856, allocations: 11.91 kB / 1.31 GB, free: 10.41 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002349/0.3859, allocations: 122.5 kB / 1.311 GB, free: 10.29 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.3859, allocations: 0 / 1.311 GB, free: 10.29 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.3859, allocations: 3.938 kB / 1.311 GB, free: 10.28 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.3859, allocations: 0 / 1.311 GB, free: 10.28 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002736/0.3862, allocations: 237.5 kB / 1.311 GB, free: 10 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.3862, allocations: 0 / 1.311 GB, free: 10 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.31e-05/0.3862, allocations: 19.92 kB / 1.311 GB, free: 9.98 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.3862, allocations: 3.984 kB / 1.311 GB, free: 9.977 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.478e-06/0.3862, allocations: 4 kB / 1.311 GB, free: 9.973 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.3862, allocations: 0 / 1.311 GB, free: 9.973 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.3862, allocations: 3.938 kB / 1.311 GB, free: 9.969 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002141/0.3864, allocations: 187.4 kB / 1.311 GB, free: 9.77 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 6.704e-05/0.3865, allocations: 89.02 kB / 1.311 GB, free: 9.664 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.677e-05/0.3865, allocations: 12 kB / 1.311 GB, free: 9.652 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002298/0.3868, allocations: 15.97 kB / 1.311 GB, free: 9.637 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.787e-05/0.3868, allocations: 11.88 kB / 1.311 GB, free: 9.625 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.91e-05/0.3868, allocations: 19.97 kB / 1.311 GB, free: 9.605 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.000159/0.387, allocations: 156.5 kB / 1.311 GB, free: 9.453 MB / 1.014 GB Notification: Performance of sort global known variables: time 9.1e-08/0.387, allocations: 0 / 1.311 GB, free: 9.453 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003124/0.3873, allocations: 31.94 kB / 1.311 GB, free: 9.422 MB / 1.014 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.000691/0.388, allocations: 0.7355 MB / 1.312 GB, free: 8.664 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0002061/0.3882, allocations: 76.44 kB / 1.312 GB, free: 8.59 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.3882, allocations: 0 / 1.312 GB, free: 8.59 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 4.572e-05/0.3882, allocations: 27.92 kB / 1.312 GB, free: 8.562 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003149/0.3885, allocations: 20.09 kB / 1.312 GB, free: 8.543 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002356/0.3909, allocations: 1.932 MB / 1.314 GB, free: 6.457 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004099/0.3913, allocations: 0.7313 MB / 1.315 GB, free: 5.699 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001285/0.3914, allocations: 58.34 kB / 1.315 GB, free: 5.652 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.842e-05/0.3915, allocations: 47.42 kB / 1.315 GB, free: 5.605 MB / 1.014 GB Notification: Performance of SimCode: time 4.91e-07/0.3915, allocations: 4 kB / 1.315 GB, free: 5.602 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03171/0.4232, allocations: 4.284 MB / 1.319 GB, free: 1.508 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.685/9.108, allocations: 10.5 kB / 1.319 GB, free: 1.5 MB / 1.014 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_IO_Files_Validation_WeeklyScheduleWindowsLineEndings_fmu --startTime=-10000 --stopTime=1e+06 --stepSize=404 --timeout=800 --tolerance=1e-06 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.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_IO_Files_Validation_WeeklyScheduleWindowsLineEndings.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 15.973453090060502]