Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001289/0.001289, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001456/0.001456, allocations: 220.2 kB / 23.03 MB, free: 4.941 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.533/1.533, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.878/2.878, allocations: 476.8 MB / 0.7715 GB, free: 3.918 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_Utilities_IO_Files_Validation_WeeklyScheduleWindowsLineEndings",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings,fileNamePrefix="Buildings_11_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.002172/0.002172, allocations: 64.2 kB / 1.118 GB, free: 39.64 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3223/0.3245, allocations: 170 MB / 1.284 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings): time 0.003297/0.3278, allocations: 1.502 MB / 1.286 GB, free: 9.207 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001859/0.3296, allocations: 1.198 MB / 1.287 GB, free: 8.004 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.327e-05/0.3297, allocations: 0 / 1.287 GB, free: 8.004 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002142/0.3299, allocations: 19.86 kB / 1.287 GB, free: 7.984 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002299/0.3301, allocations: 43.78 kB / 1.287 GB, free: 7.941 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002071/0.3303, allocations: 61.59 kB / 1.287 GB, free: 7.883 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002358/0.3306, allocations: 151.6 kB / 1.287 GB, free: 7.734 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001512/0.3307, allocations: 37.27 kB / 1.287 GB, free: 7.699 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001048/0.3308, allocations: 83.7 kB / 1.287 GB, free: 7.617 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001836/0.331, allocations: 51.77 kB / 1.287 GB, free: 7.566 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.214e-05/0.3311, allocations: 12 kB / 1.287 GB, free: 7.555 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 8.639e-05/0.3311, allocations: 23.94 kB / 1.287 GB, free: 7.531 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 9.496e-05/0.3312, allocations: 51.88 kB / 1.287 GB, free: 7.48 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 8.53e-05/0.3313, allocations: 59.64 kB / 1.287 GB, free: 7.422 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003087/0.3316, allocations: 210.7 kB / 1.287 GB, free: 7.219 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.3316, allocations: 0 / 1.287 GB, free: 7.219 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.014e-06/0.3316, allocations: 0 / 1.287 GB, free: 7.219 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.672e-06/0.3316, allocations: 0 / 1.287 GB, free: 7.219 MB / 0.9825 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.0007742/0.3324, allocations: 429.3 kB / 1.288 GB, free: 6.77 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.599e-05/0.3325, allocations: 12.03 kB / 1.288 GB, free: 6.758 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.335e-05/0.3325, allocations: 192 / 1.288 GB, free: 6.758 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.423e-05/0.3325, allocations: 38.75 kB / 1.288 GB, free: 6.711 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.921e-05/0.3326, allocations: 16.84 kB / 1.288 GB, free: 6.695 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003434/0.333, allocations: 206.1 kB / 1.288 GB, free: 6.469 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002176/0.3332, allocations: 226.1 kB / 1.288 GB, free: 6.199 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.499e-05/0.3332, allocations: 12.12 kB / 1.288 GB, free: 6.188 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004387/0.3336, allocations: 260.3 kB / 1.289 GB, free: 5.902 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.3336, allocations: 0 / 1.289 GB, free: 5.902 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.266e-05/0.3337, allocations: 0 / 1.289 GB, free: 5.902 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.935e-05/0.3337, allocations: 11.98 kB / 1.289 GB, free: 5.891 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.749e-05/0.3338, allocations: 39.98 kB / 1.289 GB, free: 5.852 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001083/0.3349, allocations: 415.5 kB / 1.289 GB, free: 5.402 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 7.741e-05/0.3349, allocations: 34.55 kB / 1.289 GB, free: 5.359 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.86e-05/0.335, allocations: 20.86 kB / 1.289 GB, free: 5.336 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.998e-05/0.335, allocations: 7.984 kB / 1.289 GB, free: 5.328 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.163e-05/0.335, allocations: 34.5 kB / 1.289 GB, free: 5.285 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=8): time 1.193e-06/0.335, allocations: 0 / 1.289 GB, free: 5.285 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8): time 0.0002729/0.3353, allocations: 105.6 kB / 1.289 GB, free: 5.176 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.049e-05/0.3354, allocations: 59.34 kB / 1.289 GB, free: 5.105 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002278/0.3356, allocations: 211.8 kB / 1.29 GB, free: 4.883 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.909e-05/0.3356, allocations: 29.7 kB / 1.29 GB, free: 4.848 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.199e-05/0.3357, allocations: 124.2 kB / 1.29 GB, free: 4.723 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.939e-05/0.3357, allocations: 27.8 kB / 1.29 GB, free: 4.695 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.824e-05/0.3358, allocations: 25.72 kB / 1.29 GB, free: 4.664 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001428/0.3359, allocations: 326.8 kB / 1.29 GB, free: 4.336 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.814e-05/0.336, allocations: 27.97 kB / 1.29 GB, free: 4.309 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001202/0.3361, allocations: 106.2 kB / 1.29 GB, free: 4.168 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000178/0.3363, allocations: 142.2 kB / 1.29 GB, free: 3.992 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.3363, allocations: 8 kB / 1.29 GB, free: 3.984 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002605/0.3365, allocations: 149.3 kB / 1.29 GB, free: 3.832 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.3366, allocations: 4 kB / 1.29 GB, free: 3.828 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/0.3366, allocations: 4 kB / 1.29 GB, free: 3.824 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.923e-05/0.3366, allocations: 7.938 kB / 1.29 GB, free: 3.816 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001095/0.3367, allocations: 28.3 kB / 1.29 GB, free: 3.789 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/0.3367, allocations: 8.312 kB / 1.29 GB, free: 3.781 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.272e-05/0.3368, allocations: 15.89 kB / 1.291 GB, free: 3.766 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.271e-05/0.3368, allocations: 4 kB / 1.291 GB, free: 3.762 MB / 0.9825 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.0001349/0.3369, allocations: 151.6 kB / 1.291 GB, free: 3.605 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.908e-05/0.337, allocations: 11.91 kB / 1.291 GB, free: 3.594 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002388/0.3372, allocations: 128.9 kB / 1.291 GB, free: 3.461 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.636e-06/0.3372, allocations: 3.938 kB / 1.291 GB, free: 3.457 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.3372, allocations: 4 kB / 1.291 GB, free: 3.453 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.3372, allocations: 0 / 1.291 GB, free: 3.453 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002347/0.3375, allocations: 188.7 kB / 1.291 GB, free: 3.227 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.3375, allocations: 0 / 1.291 GB, free: 3.227 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.061e-05/0.3375, allocations: 15.98 kB / 1.291 GB, free: 3.211 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.3375, allocations: 4 kB / 1.291 GB, free: 3.207 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.338e-06/0.3375, allocations: 7.938 kB / 1.291 GB, free: 3.199 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/0.3375, allocations: 3.938 kB / 1.291 GB, free: 3.195 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.3375, allocations: 0 / 1.291 GB, free: 3.195 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002152/0.3378, allocations: 187.4 kB / 1.291 GB, free: 2.996 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.461e-05/0.3378, allocations: 15.84 kB / 1.291 GB, free: 2.98 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.236e-05/0.3378, allocations: 4 kB / 1.291 GB, free: 2.977 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002514/0.3381, allocations: 27.91 kB / 1.291 GB, free: 2.949 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.165e-05/0.3381, allocations: 7.984 kB / 1.291 GB, free: 2.941 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.981e-05/0.3381, allocations: 11.97 kB / 1.291 GB, free: 2.93 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.000156/0.3383, allocations: 161.5 kB / 1.291 GB, free: 2.773 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3383, allocations: 0 / 1.291 GB, free: 2.773 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003067/0.3386, allocations: 35.88 kB / 1.291 GB, free: 2.738 MB / 0.9825 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.000718/0.3393, allocations: 0.7538 MB / 1.292 GB, free: 1.969 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001827/0.3395, allocations: 67.84 kB / 1.292 GB, free: 1.902 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 6.803e-06/0.3395, allocations: 0 / 1.292 GB, free: 1.902 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.53e-05/0.3395, allocations: 27.92 kB / 1.292 GB, free: 1.875 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003324/0.3399, allocations: 20.69 kB / 1.292 GB, free: 1.855 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002212/0.3421, allocations: 1.924 MB / 1.294 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000122/0.3422, allocations: 118.1 kB / 1.294 GB, free: 15.65 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001313/0.3423, allocations: 52.31 kB / 1.294 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.052e-05/0.3424, allocations: 47.42 kB / 1.294 GB, free: 15.56 MB / 0.9981 GB Notification: Performance of SimCode: time 4.31e-07/0.3424, allocations: 4 kB / 1.294 GB, free: 15.56 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05157/0.394, allocations: 4.594 MB / 1.299 GB, free: 11.17 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.07/12.47, allocations: 12.73 kB / 1.299 GB, free: 11.16 MB / 0.9981 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.pipe ; mkfifo Buildings_11_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.pipe >> ../files/Buildings_11_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_IO_Files_Validation_WeeklyScheduleWindowsLineEndings_fmu --startTime=-10000 --stopTime=1e+06 --stepSize=404 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_IO_Files_Validation_WeeklyScheduleWindowsLineEndings.fmu > Buildings_11_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_IO_Files_Validation_WeeklyScheduleWindowsLineEndings.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.310655765002593]