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.001409/0.001409, allocations: 104 kB / 16.45 MB, free: 6.449 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.002232/0.002232, allocations: 212.9 kB / 19.43 MB, free: 3.637 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.537/1.537, allocations: 230.6 MB / 252.8 MB, free: 9.141 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.253/3.253, allocations: 0.49 GB / 0.7916 GB, free: 33.27 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.002015/0.002015, allocations: 64.41 kB / 1.149 GB, free: 26.59 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3953/0.3973, allocations: 176.1 MB / 1.321 GB, free: 3.484 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings): time 0.005966/0.4032, allocations: 1.516 MB / 1.322 GB, free: 1.957 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.003389/0.4066, allocations: 1.14 MB / 1.323 GB, free: 0.8086 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001489/0.4068, allocations: 4 kB / 1.323 GB, free: 0.8047 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0003052/0.4071, allocations: 27.84 kB / 1.323 GB, free: 0.7773 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0003021/0.4074, allocations: 35.8 kB / 1.323 GB, free: 0.7422 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003466/0.4077, allocations: 67.7 kB / 1.324 GB, free: 0.6797 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0003494/0.4081, allocations: 147.5 kB / 1.324 GB, free: 0.5352 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002245/0.4083, allocations: 49.38 kB / 1.324 GB, free: 496 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002267/0.4085, allocations: 79.83 kB / 1.324 GB, free: 416 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003031/0.4088, allocations: 63.62 kB / 1.324 GB, free: 352 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 7.15e-05/0.4089, allocations: 12 kB / 1.324 GB, free: 340 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001175/0.409, allocations: 20 kB / 1.324 GB, free: 320 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001331/0.4092, allocations: 55.81 kB / 1.324 GB, free: 264 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001447/0.4093, allocations: 71.58 kB / 1.324 GB, free: 192 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0005246/0.4098, allocations: 203.3 kB / 1.324 GB, free: 15.98 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.4098, allocations: 4 kB / 1.324 GB, free: 15.98 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.633e-06/0.4098, allocations: 0 / 1.324 GB, free: 15.98 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.367e-05/0.4098, allocations: 0 / 1.324 GB, free: 15.98 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.001415/0.4113, allocations: 0.4906 MB / 1.325 GB, free: 15.44 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 7.658e-05/0.4113, allocations: 15.97 kB / 1.325 GB, free: 15.43 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001022/0.4114, allocations: 46.59 kB / 1.325 GB, free: 15.38 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001522/0.4116, allocations: 20.78 kB / 1.325 GB, free: 15.36 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006757/0.4123, allocations: 256 kB / 1.325 GB, free: 15.07 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002418/0.4125, allocations: 119.4 kB / 1.325 GB, free: 14.93 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.422e-05/0.4125, allocations: 8.375 kB / 1.325 GB, free: 14.92 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000543/0.4131, allocations: 161.4 kB / 1.325 GB, free: 14.75 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.354e-05/0.4131, allocations: 3.984 kB / 1.325 GB, free: 14.75 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.625e-05/0.4131, allocations: 4 kB / 1.325 GB, free: 14.75 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.965e-05/0.4132, allocations: 11.92 kB / 1.325 GB, free: 14.73 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001437/0.4133, allocations: 43.97 kB / 1.325 GB, free: 14.69 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001574/0.4149, allocations: 464.4 kB / 1.326 GB, free: 14.19 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001151/0.415, allocations: 38.56 kB / 1.326 GB, free: 14.14 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.948e-05/0.4151, allocations: 16.86 kB / 1.326 GB, free: 14.12 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.544e-05/0.4151, allocations: 16.12 kB / 1.326 GB, free: 14.11 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.639e-05/0.4152, allocations: 34.56 kB / 1.326 GB, free: 14.06 MB / 1.029 GB Notification: Performance of pre-optimization done (n=8): time 1.643e-06/0.4152, allocations: 0 / 1.326 GB, free: 14.06 MB / 1.029 GB Notification: Performance of matching and sorting (n=8): time 0.0004468/0.4156, allocations: 101.5 kB / 1.326 GB, free: 13.96 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.809e-05/0.4157, allocations: 59.34 kB / 1.326 GB, free: 13.89 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003504/0.416, allocations: 215.8 kB / 1.326 GB, free: 13.66 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.269e-05/0.4161, allocations: 29.7 kB / 1.326 GB, free: 13.62 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001295/0.4162, allocations: 120 kB / 1.326 GB, free: 13.5 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.353e-05/0.4162, allocations: 31.92 kB / 1.326 GB, free: 13.47 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.936e-05/0.4163, allocations: 25.72 kB / 1.326 GB, free: 13.44 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001966/0.4165, allocations: 330.8 kB / 1.327 GB, free: 13.11 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.906e-05/0.4166, allocations: 27.91 kB / 1.327 GB, free: 13.08 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001611/0.4167, allocations: 102.3 kB / 1.327 GB, free: 12.95 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002671/0.417, allocations: 138.1 kB / 1.327 GB, free: 12.77 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.417, allocations: 0 / 1.327 GB, free: 12.77 MB / 1.029 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003901/0.4174, allocations: 165.3 kB / 1.327 GB, free: 12.61 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.237e-05/0.4174, allocations: 4 kB / 1.327 GB, free: 12.6 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.324e-05/0.4174, allocations: 4 kB / 1.327 GB, free: 12.6 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.182e-05/0.4175, allocations: 4 kB / 1.327 GB, free: 12.59 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001502/0.4176, allocations: 23.92 kB / 1.327 GB, free: 12.57 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.358e-05/0.4176, allocations: 8.25 kB / 1.327 GB, free: 12.56 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.77e-05/0.4177, allocations: 12.27 kB / 1.327 GB, free: 12.55 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.429e-05/0.4177, allocations: 12 kB / 1.327 GB, free: 12.54 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.0001981/0.4179, allocations: 145.8 kB / 1.327 GB, free: 12.39 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.125e-05/0.418, allocations: 15.91 kB / 1.327 GB, free: 12.37 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003484/0.4184, allocations: 125.4 kB / 1.327 GB, free: 12.24 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.4184, allocations: 4 kB / 1.327 GB, free: 12.24 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.328e-06/0.4184, allocations: 3.938 kB / 1.327 GB, free: 12.23 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.658e-06/0.4184, allocations: 0 / 1.327 GB, free: 12.23 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004101/0.4188, allocations: 233.5 kB / 1.328 GB, free: 11.96 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.4188, allocations: 4 kB / 1.328 GB, free: 11.95 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.833e-05/0.4189, allocations: 15.94 kB / 1.328 GB, free: 11.94 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.4189, allocations: 0 / 1.328 GB, free: 11.94 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.099e-05/0.4189, allocations: 0 / 1.328 GB, free: 11.94 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.514e-06/0.4189, allocations: 4 kB / 1.328 GB, free: 11.93 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.763e-06/0.4189, allocations: 7.922 kB / 1.328 GB, free: 11.93 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003228/0.4192, allocations: 183.4 kB / 1.328 GB, free: 11.73 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.555e-05/0.4193, allocations: 93.02 kB / 1.328 GB, free: 11.62 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.709e-05/0.4194, allocations: 4 kB / 1.328 GB, free: 11.62 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003437/0.4197, allocations: 15.98 kB / 1.328 GB, free: 11.6 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.266e-05/0.4197, allocations: 15.86 kB / 1.328 GB, free: 11.59 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.752e-05/0.4198, allocations: 11.98 kB / 1.328 GB, free: 11.57 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002287/0.42, allocations: 161.5 kB / 1.328 GB, free: 11.42 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.1e-07/0.42, allocations: 0 / 1.328 GB, free: 11.42 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0005287/0.4205, allocations: 31.94 kB / 1.328 GB, free: 11.39 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.001045/0.4216, allocations: 0.7498 MB / 1.329 GB, free: 10.62 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002702/0.4218, allocations: 76.14 kB / 1.329 GB, free: 10.54 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.4219, allocations: 0 / 1.329 GB, free: 10.54 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 6.152e-05/0.4219, allocations: 23.94 kB / 1.329 GB, free: 10.52 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005102/0.4224, allocations: 31.86 kB / 1.329 GB, free: 10.49 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003306/0.4257, allocations: 1.909 MB / 1.331 GB, free: 8.434 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005354/0.4263, allocations: 0.7353 MB / 1.332 GB, free: 7.672 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0002089/0.4265, allocations: 59.66 kB / 1.332 GB, free: 7.617 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001348/0.4266, allocations: 47.42 kB / 1.332 GB, free: 7.57 MB / 1.029 GB Notification: Performance of SimCode: time 9.02e-07/0.4266, allocations: 0 / 1.332 GB, free: 7.57 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03928/0.4659, allocations: 4.272 MB / 1.336 GB, free: 3.484 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.52/8.986, allocations: 7.484 kB / 1.336 GB, free: 3.48 MB / 1.029 GB " [Timeout remaining time 291] (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: 15.802365617128089]