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.001465/0.001465, allocations: 116.8 kB / 17.17 MB, free: 5.977 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.001613/0.001613, allocations: 209.6 kB / 20.13 MB, free: 3.035 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.535/1.535, allocations: 230.6 MB / 253.5 MB, free: 15.12 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 2.992/2.992, allocations: 0.5003 GB / 0.8026 GB, free: 6.891 MB / 0.6387 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings,fileNamePrefix="Buildings_latest_Buildings_Utilities_IO_Files_Validation_WeeklyScheduleWindowsLineEndings",fmuType="cs",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.002375/0.002375, allocations: 68.08 kB / 1.165 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.141/1.143, allocations: 178.9 MB / 1.34 GB, free: 13.97 MB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings): time 0.002847/1.146, allocations: 1.498 MB / 1.342 GB, free: 12.79 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001628/1.148, allocations: 1.161 MB / 1.343 GB, free: 11.88 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.64e-05/1.148, allocations: 5.25 kB / 1.343 GB, free: 11.87 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001749/1.148, allocations: 14.44 kB / 1.343 GB, free: 11.86 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001891/1.148, allocations: 42.55 kB / 1.343 GB, free: 11.83 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001879/1.149, allocations: 54.94 kB / 1.343 GB, free: 11.79 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002131/1.149, allocations: 153.7 kB / 1.343 GB, free: 11.71 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001494/1.149, allocations: 53 kB / 1.343 GB, free: 11.68 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 9.827e-05/1.149, allocations: 90.34 kB / 1.343 GB, free: 11.63 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001861/1.149, allocations: 55.48 kB / 1.343 GB, free: 11.6 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.767e-05/1.149, allocations: 18.98 kB / 1.343 GB, free: 11.59 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 6.868e-05/1.149, allocations: 19.16 kB / 1.343 GB, free: 11.59 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.818e-05/1.149, allocations: 55.31 kB / 1.343 GB, free: 11.55 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 9.494e-05/1.15, allocations: 74.84 kB / 1.343 GB, free: 11.5 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002772/1.15, allocations: 207.6 kB / 1.344 GB, free: 11.36 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/1.15, allocations: 0 / 1.344 GB, free: 11.36 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.823e-06/1.15, allocations: 0 / 1.344 GB, free: 11.36 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.781e-06/1.15, allocations: 1.312 kB / 1.344 GB, free: 11.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.0007705/1.151, allocations: 0.4891 MB / 1.344 GB, free: 10.89 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/1.151, allocations: 9.281 kB / 1.344 GB, free: 10.89 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.671e-05/1.151, allocations: 2.406 kB / 1.344 GB, free: 10.89 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.096e-05/1.151, allocations: 37.88 kB / 1.344 GB, free: 10.85 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.472e-05/1.151, allocations: 29.22 kB / 1.344 GB, free: 10.83 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003339/1.151, allocations: 260.6 kB / 1.344 GB, free: 10.57 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001631/1.151, allocations: 116.8 kB / 1.344 GB, free: 10.44 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.808e-05/1.151, allocations: 12.25 kB / 1.344 GB, free: 10.43 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000356/1.152, allocations: 157.2 kB / 1.345 GB, free: 10.34 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/1.152, allocations: 0 / 1.345 GB, free: 10.34 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.233e-05/1.152, allocations: 1.312 kB / 1.345 GB, free: 10.34 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.682e-05/1.152, allocations: 10.88 kB / 1.345 GB, free: 10.34 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.97e-05/1.152, allocations: 43.81 kB / 1.345 GB, free: 10.32 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001104/1.153, allocations: 456 kB / 1.345 GB, free: 9.914 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 8.287e-05/1.153, allocations: 40.8 kB / 1.345 GB, free: 9.875 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.488e-05/1.153, allocations: 26.45 kB / 1.345 GB, free: 9.855 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.565e-05/1.153, allocations: 6.5 kB / 1.345 GB, free: 9.852 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.242e-05/1.153, allocations: 32.22 kB / 1.345 GB, free: 9.812 MB / 1.029 GB Notification: Performance of pre-optimization done (n=8): time 1.122e-06/1.153, allocations: 4 kB / 1.345 GB, free: 9.809 MB / 1.029 GB Notification: Performance of matching and sorting (n=8): time 0.0002711/1.153, allocations: 106.4 kB / 1.345 GB, free: 9.742 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.162e-05/1.153, allocations: 60.59 kB / 1.345 GB, free: 9.672 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002304/1.154, allocations: 214.4 kB / 1.346 GB, free: 9.512 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.835e-05/1.154, allocations: 27.92 kB / 1.346 GB, free: 9.48 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001016/1.154, allocations: 132 kB / 1.346 GB, free: 9.355 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3e-05/1.154, allocations: 31.2 kB / 1.346 GB, free: 9.328 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.947e-05/1.154, allocations: 28.2 kB / 1.346 GB, free: 9.305 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001478/1.154, allocations: 330.9 kB / 1.346 GB, free: 8.977 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.216e-05/1.154, allocations: 23.67 kB / 1.346 GB, free: 8.969 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001193/1.154, allocations: 97.75 kB / 1.346 GB, free: 8.855 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001799/1.154, allocations: 150 kB / 1.346 GB, free: 8.711 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/1.154, allocations: 0 / 1.346 GB, free: 8.711 MB / 1.029 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002567/1.155, allocations: 155.6 kB / 1.346 GB, free: 8.617 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/1.155, allocations: 5.438 kB / 1.346 GB, free: 8.617 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/1.155, allocations: 2.781 kB / 1.346 GB, free: 8.617 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/1.155, allocations: 3.938 kB / 1.346 GB, free: 8.617 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000105/1.155, allocations: 26.98 kB / 1.347 GB, free: 8.609 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.376e-06/1.155, allocations: 7.875 kB / 1.347 GB, free: 8.605 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.239e-05/1.155, allocations: 8.047 kB / 1.347 GB, free: 8.602 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.498e-05/1.155, allocations: 10.78 kB / 1.347 GB, free: 8.598 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.0001451/1.155, allocations: 146.1 kB / 1.347 GB, free: 8.461 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.146e-05/1.155, allocations: 20 kB / 1.347 GB, free: 8.449 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000225/1.155, allocations: 116.1 kB / 1.347 GB, free: 8.375 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/1.155, allocations: 5.031 kB / 1.347 GB, free: 8.371 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/1.155, allocations: 0 / 1.347 GB, free: 8.371 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/1.155, allocations: 1.469 kB / 1.347 GB, free: 8.371 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000264/1.156, allocations: 228.6 kB / 1.347 GB, free: 8.129 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/1.156, allocations: 1.375 kB / 1.347 GB, free: 8.129 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.888e-05/1.156, allocations: 18.73 kB / 1.347 GB, free: 8.121 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/1.156, allocations: 1.062 kB / 1.347 GB, free: 8.121 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.634e-06/1.156, allocations: 5.188 kB / 1.347 GB, free: 8.117 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/1.156, allocations: 5.312 kB / 1.347 GB, free: 8.113 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/1.156, allocations: 0 / 1.347 GB, free: 8.113 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000236/1.156, allocations: 196.9 kB / 1.347 GB, free: 7.941 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.72e-05/1.156, allocations: 88.73 kB / 1.347 GB, free: 7.84 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.866e-05/1.156, allocations: 1.312 kB / 1.347 GB, free: 7.84 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002608/1.156, allocations: 22.38 kB / 1.347 GB, free: 7.828 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.982e-05/1.156, allocations: 11.06 kB / 1.347 GB, free: 7.82 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.951e-05/1.156, allocations: 18.36 kB / 1.347 GB, free: 7.809 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001569/1.156, allocations: 163.4 kB / 1.348 GB, free: 7.691 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/1.156, allocations: 0.6875 kB / 1.348 GB, free: 7.691 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002993/1.157, allocations: 26.92 kB / 1.348 GB, free: 7.688 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.0006602/1.157, allocations: 0.7562 MB / 1.348 GB, free: 6.973 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001645/1.158, allocations: 66.28 kB / 1.348 GB, free: 6.945 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/1.158, allocations: 1.875 kB / 1.348 GB, free: 6.945 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 3.931e-05/1.158, allocations: 27.69 kB / 1.348 GB, free: 6.934 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002989/1.158, allocations: 22.06 kB / 1.348 GB, free: 6.922 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002061/1.16, allocations: 1.927 MB / 1.35 GB, free: 5.23 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003722/1.16, allocations: 0.732 MB / 1.351 GB, free: 4.508 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001134/1.16, allocations: 54.06 kB / 1.351 GB, free: 4.492 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.676e-05/1.16, allocations: 44.77 kB / 1.351 GB, free: 4.457 MB / 1.029 GB Notification: Performance of SimCode: time 2.91e-07/1.16, allocations: 0 / 1.351 GB, free: 4.457 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03058/1.191, allocations: 4.322 MB / 1.355 GB, free: 2.305 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.879/10.07, allocations: 3.312 kB / 1.355 GB, free: 2.305 MB / 1.029 GB " [Timeout remaining time 290] (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/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.789700005960185]