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.001858/0.001858, 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.002208/0.002208, allocations: 217 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.672/1.672, allocations: 230.6 MB / 256 MB, free: 8.035 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.312/3.312, allocations: 0.49 GB / 0.7951 GB, free: 33.28 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.002039/0.002039, allocations: 74.97 kB / 1.154 GB, free: 25.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3667/0.3688, allocations: 176.1 MB / 1.326 GB, free: 1.953 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings): time 0.003669/0.3724, allocations: 1.515 MB / 1.327 GB, free: 444 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002169/0.3746, allocations: 1.239 MB / 1.329 GB, free: 15.19 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.564e-05/0.3747, allocations: 3.938 kB / 1.329 GB, free: 15.18 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.000232/0.3749, allocations: 27.84 kB / 1.329 GB, free: 15.16 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002269/0.3751, allocations: 39.77 kB / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002354/0.3754, allocations: 57.8 kB / 1.329 GB, free: 15.06 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002478/0.3756, allocations: 147.5 kB / 1.329 GB, free: 14.92 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001763/0.3758, allocations: 45.42 kB / 1.329 GB, free: 14.87 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001348/0.3759, allocations: 79.78 kB / 1.329 GB, free: 14.79 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002199/0.3761, allocations: 59.69 kB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.383e-05/0.3762, allocations: 12 kB / 1.329 GB, free: 14.72 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001022/0.3763, allocations: 24 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001019/0.3764, allocations: 55.81 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001055/0.3765, allocations: 75.58 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003409/0.3768, allocations: 203.2 kB / 1.329 GB, free: 14.37 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 2.876e-06/0.3768, allocations: 0 / 1.329 GB, free: 14.37 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.463e-06/0.3768, allocations: 0 / 1.329 GB, free: 14.37 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.727e-06/0.3769, allocations: 0 / 1.329 GB, free: 14.37 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.0008574/0.3777, allocations: 425.3 kB / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.3778, allocations: 16.03 kB / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.014e-05/0.3778, allocations: 38.73 kB / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.502e-05/0.3779, allocations: 28.78 kB / 1.33 GB, free: 13.84 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003918/0.3783, allocations: 194.8 kB / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002619/0.3786, allocations: 234.1 kB / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.843e-05/0.3786, allocations: 4.375 kB / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003879/0.379, allocations: 153.5 kB / 1.33 GB, free: 13.18 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.379, allocations: 0 / 1.33 GB, free: 13.18 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.5e-05/0.379, allocations: 12 kB / 1.33 GB, free: 13.17 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.997e-05/0.379, allocations: 7.984 kB / 1.33 GB, free: 13.16 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.159e-05/0.3791, allocations: 39.97 kB / 1.33 GB, free: 13.12 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001234/0.3804, allocations: 431.5 kB / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 9.447e-05/0.3805, allocations: 42.5 kB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.158e-05/0.3805, allocations: 24.84 kB / 1.331 GB, free: 12.58 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.96e-05/0.3805, allocations: 8.141 kB / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.943e-05/0.3806, allocations: 34.56 kB / 1.331 GB, free: 12.53 MB / 1.029 GB Notification: Performance of pre-optimization done (n=8): time 1.734e-06/0.3806, allocations: 0 / 1.331 GB, free: 12.53 MB / 1.029 GB Notification: Performance of matching and sorting (n=8): time 0.0003431/0.381, allocations: 109.6 kB / 1.331 GB, free: 12.42 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.611e-05/0.381, allocations: 59.34 kB / 1.331 GB, free: 12.35 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002699/0.3813, allocations: 211.8 kB / 1.331 GB, free: 12.13 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.946e-05/0.3813, allocations: 25.7 kB / 1.331 GB, free: 12.1 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001147/0.3814, allocations: 132.1 kB / 1.331 GB, free: 11.96 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.278e-05/0.3815, allocations: 23.84 kB / 1.332 GB, free: 11.94 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.124e-05/0.3815, allocations: 33.7 kB / 1.332 GB, free: 11.9 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001835/0.3817, allocations: 326.8 kB / 1.332 GB, free: 11.57 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.108e-05/0.3818, allocations: 27.92 kB / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001223/0.3819, allocations: 98.28 kB / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002114/0.3821, allocations: 150 kB / 1.332 GB, free: 11.23 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.3821, allocations: 0 / 1.332 GB, free: 11.23 MB / 1.029 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002833/0.3824, allocations: 153.3 kB / 1.332 GB, free: 11.07 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.455e-05/0.3824, allocations: 8.359 kB / 1.332 GB, free: 11.07 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.847e-06/0.3824, allocations: 8 kB / 1.332 GB, free: 11.06 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.968e-05/0.3824, allocations: 4 kB / 1.332 GB, free: 11.05 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001121/0.3826, allocations: 20 kB / 1.332 GB, free: 11.04 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.575e-05/0.3826, allocations: 16.17 kB / 1.332 GB, free: 11.02 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.721e-05/0.3827, allocations: 15.89 kB / 1.332 GB, free: 11 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.323e-05/0.3827, allocations: 4 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.0001561/0.3828, allocations: 137.8 kB / 1.332 GB, free: 10.86 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.05e-05/0.3829, allocations: 15.91 kB / 1.332 GB, free: 10.84 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002565/0.3831, allocations: 123.8 kB / 1.333 GB, free: 10.71 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.3831, allocations: 8 kB / 1.333 GB, free: 10.7 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.724e-06/0.3831, allocations: 3.938 kB / 1.333 GB, free: 10.7 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/0.3832, allocations: 3.984 kB / 1.333 GB, free: 10.7 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002969/0.3834, allocations: 196.7 kB / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.3835, allocations: 0 / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.501e-05/0.3835, allocations: 15.98 kB / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.3835, allocations: 0 / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.417e-05/0.3835, allocations: 8 kB / 1.333 GB, free: 10.44 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.3835, allocations: 0 / 1.333 GB, free: 10.44 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.3835, allocations: 3.938 kB / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002704/0.3838, allocations: 191.4 kB / 1.333 GB, free: 10.23 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.833e-05/0.3838, allocations: 11.91 kB / 1.333 GB, free: 10.22 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.592e-05/0.3839, allocations: 8 kB / 1.333 GB, free: 10.21 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002429/0.3841, allocations: 19.97 kB / 1.333 GB, free: 10.19 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.737e-05/0.3842, allocations: 15.86 kB / 1.333 GB, free: 10.18 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.458e-05/0.3842, allocations: 11.98 kB / 1.333 GB, free: 10.16 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001805/0.3844, allocations: 161.5 kB / 1.333 GB, free: 10.01 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.3844, allocations: 0 / 1.333 GB, free: 10.01 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003368/0.3847, allocations: 31.94 kB / 1.333 GB, free: 9.977 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.0008475/0.3855, allocations: 0.7548 MB / 1.334 GB, free: 9.199 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000199/0.3857, allocations: 63.91 kB / 1.334 GB, free: 9.137 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.3857, allocations: 0 / 1.334 GB, free: 9.137 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 4.408e-05/0.3858, allocations: 27.92 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.0003412/0.3861, allocations: 26.33 kB / 1.334 GB, free: 9.086 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002517/0.3886, allocations: 1.913 MB / 1.336 GB, free: 7.02 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000455/0.3891, allocations: 0.7314 MB / 1.337 GB, free: 6.262 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001421/0.3892, allocations: 54.2 kB / 1.337 GB, free: 6.219 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001017/0.3893, allocations: 51.41 kB / 1.337 GB, free: 6.168 MB / 1.029 GB Notification: Performance of SimCode: time 6.61e-07/0.3893, allocations: 0 / 1.337 GB, free: 6.168 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03738/0.4267, allocations: 4.396 MB / 1.341 GB, free: 1.949 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.94/12.37, allocations: 13.7 kB / 1.341 GB, free: 1.938 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_IO_Files_Validation_WeeklyScheduleWindowsLineEndings_fmu --startTime=-10000 --stopTime=1e+06 --stepSize=404 --timeout=400 --tolerance=1e-06 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.mat","/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: 19.795025046914816]