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.001264/0.001264, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.00148/0.00148, allocations: 217 kB / 23.04 MB, free: 5.078 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.503/1.503, allocations: 230.6 MB / 256.8 MB, free: 8.004 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.258/3.258, allocations: 0.49 GB / 0.7959 GB, free: 33.5 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings,fileNamePrefix="Buildings_12_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.001963/0.001963, allocations: 69.28 kB / 1.155 GB, free: 25.74 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3275/0.3294, allocations: 176.1 MB / 1.327 GB, free: 1.965 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings): time 0.003135/0.3326, allocations: 1.518 MB / 1.328 GB, free: 452 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002036/0.3346, allocations: 1.247 MB / 1.329 GB, free: 15.19 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.089e-05/0.3347, allocations: 4 kB / 1.329 GB, free: 15.18 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002036/0.3349, allocations: 15.86 kB / 1.329 GB, free: 15.17 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002066/0.3351, allocations: 39.78 kB / 1.329 GB, free: 15.13 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002142/0.3353, allocations: 65.17 kB / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002323/0.3355, allocations: 143.6 kB / 1.33 GB, free: 14.93 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001602/0.3357, allocations: 41.5 kB / 1.33 GB, free: 14.88 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001165/0.3358, allocations: 91.69 kB / 1.33 GB, free: 14.79 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000205/0.336, allocations: 47.78 kB / 1.33 GB, free: 14.75 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.959e-05/0.3361, allocations: 12 kB / 1.33 GB, free: 14.73 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001119/0.3362, allocations: 31.97 kB / 1.33 GB, free: 14.7 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.906e-05/0.3363, allocations: 51.83 kB / 1.33 GB, free: 14.65 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 9.036e-05/0.3364, allocations: 71.58 kB / 1.33 GB, free: 14.58 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003164/0.3367, allocations: 203.2 kB / 1.33 GB, free: 14.38 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.3367, allocations: 3.938 kB / 1.33 GB, free: 14.38 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.433e-06/0.3367, allocations: 0 / 1.33 GB, free: 14.38 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.153e-06/0.3367, allocations: 3.938 kB / 1.33 GB, free: 14.38 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.0008652/0.3376, allocations: 425.3 kB / 1.331 GB, free: 13.93 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.834e-05/0.3376, allocations: 15.95 kB / 1.331 GB, free: 13.91 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.122e-05/0.3376, allocations: 8.188 kB / 1.331 GB, free: 13.91 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.27e-05/0.3377, allocations: 38.73 kB / 1.331 GB, free: 13.86 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.869e-05/0.3378, allocations: 20.84 kB / 1.331 GB, free: 13.84 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003581/0.3381, allocations: 194.8 kB / 1.331 GB, free: 13.62 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000232/0.3384, allocations: 222.2 kB / 1.331 GB, free: 13.36 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.747e-05/0.3384, allocations: 12.12 kB / 1.331 GB, free: 13.35 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003769/0.3387, allocations: 157.5 kB / 1.331 GB, free: 13.19 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.3388, allocations: 0 / 1.331 GB, free: 13.19 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.628e-05/0.3388, allocations: 8 kB / 1.331 GB, free: 13.18 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.544e-05/0.3388, allocations: 4 kB / 1.331 GB, free: 13.18 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.191e-05/0.3389, allocations: 43.97 kB / 1.331 GB, free: 13.13 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001163/0.3401, allocations: 435.4 kB / 1.332 GB, free: 12.66 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 8.387e-05/0.3401, allocations: 38.56 kB / 1.332 GB, free: 12.62 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.784e-05/0.3402, allocations: 24.86 kB / 1.332 GB, free: 12.59 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.867e-05/0.3402, allocations: 7.984 kB / 1.332 GB, free: 12.58 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.275e-05/0.3403, allocations: 34.56 kB / 1.332 GB, free: 12.54 MB / 1.029 GB Notification: Performance of pre-optimization done (n=8): time 1.132e-06/0.3403, allocations: 0 / 1.332 GB, free: 12.54 MB / 1.029 GB Notification: Performance of matching and sorting (n=8): time 0.0002969/0.3406, allocations: 105.5 kB / 1.332 GB, free: 12.43 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.313e-05/0.3406, allocations: 59.34 kB / 1.332 GB, free: 12.36 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002478/0.3408, allocations: 215.8 kB / 1.332 GB, free: 12.14 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.088e-05/0.3409, allocations: 25.7 kB / 1.332 GB, free: 12.11 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.488e-05/0.341, allocations: 128.3 kB / 1.332 GB, free: 11.98 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.293e-05/0.341, allocations: 27.8 kB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.071e-05/0.3411, allocations: 29.72 kB / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001657/0.3412, allocations: 334.8 kB / 1.333 GB, free: 11.58 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.823e-05/0.3413, allocations: 27.98 kB / 1.333 GB, free: 11.55 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001339/0.3414, allocations: 102.2 kB / 1.333 GB, free: 11.41 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001902/0.3416, allocations: 142.2 kB / 1.333 GB, free: 11.24 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.3416, allocations: 0 / 1.333 GB, free: 11.24 MB / 1.029 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000265/0.3419, allocations: 157.3 kB / 1.333 GB, free: 11.08 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.3419, allocations: 6.031 kB / 1.333 GB, free: 11.07 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.3419, allocations: 4 kB / 1.333 GB, free: 11.07 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.3419, allocations: 4 kB / 1.333 GB, free: 11.07 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001124/0.342, allocations: 31.86 kB / 1.333 GB, free: 11.04 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.812e-06/0.342, allocations: 0 / 1.333 GB, free: 11.04 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.621e-05/0.3421, allocations: 15.89 kB / 1.333 GB, free: 11.02 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.301e-05/0.3421, allocations: 8.344 kB / 1.333 GB, free: 11.01 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.000138/0.3422, allocations: 145.8 kB / 1.333 GB, free: 10.86 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.778e-05/0.3423, allocations: 19.84 kB / 1.333 GB, free: 10.84 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002488/0.3426, allocations: 118.9 kB / 1.333 GB, free: 10.71 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.472e-06/0.3426, allocations: 7.938 kB / 1.333 GB, free: 10.71 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.848e-06/0.3426, allocations: 0 / 1.333 GB, free: 10.71 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.3426, allocations: 0 / 1.333 GB, free: 10.71 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002664/0.3428, allocations: 208.6 kB / 1.334 GB, free: 10.46 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.3428, allocations: 0 / 1.334 GB, free: 10.46 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.849e-05/0.3429, allocations: 12 kB / 1.334 GB, free: 10.45 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.3429, allocations: 4 kB / 1.334 GB, free: 10.45 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.455e-05/0.3429, allocations: 8 kB / 1.334 GB, free: 10.44 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.849e-06/0.3429, allocations: 7.922 kB / 1.334 GB, free: 10.43 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.3429, allocations: 0 / 1.334 GB, free: 10.43 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002228/0.3431, allocations: 179.4 kB / 1.334 GB, free: 10.24 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.358e-05/0.3431, allocations: 15.84 kB / 1.334 GB, free: 10.22 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.175e-05/0.3432, allocations: 4 kB / 1.334 GB, free: 10.22 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002583/0.3434, allocations: 23.92 kB / 1.334 GB, free: 10.2 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.189e-05/0.3435, allocations: 7.984 kB / 1.334 GB, free: 10.19 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.583e-05/0.3435, allocations: 15.92 kB / 1.334 GB, free: 10.17 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001632/0.3436, allocations: 157.5 kB / 1.334 GB, free: 10.02 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3436, allocations: 0 / 1.334 GB, free: 10.02 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003147/0.344, allocations: 35.92 kB / 1.334 GB, free: 9.984 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.0007403/0.3447, allocations: 0.7536 MB / 1.335 GB, free: 9.215 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001835/0.3449, allocations: 72.39 kB / 1.335 GB, free: 9.145 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/0.3449, allocations: 4.188 kB / 1.335 GB, free: 9.141 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 4.655e-05/0.3449, allocations: 27.92 kB / 1.335 GB, free: 9.113 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000322/0.3453, allocations: 15.94 kB / 1.335 GB, free: 9.098 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0024/0.3477, allocations: 1.917 MB / 1.337 GB, free: 7.023 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004138/0.3481, allocations: 0.7314 MB / 1.337 GB, free: 6.266 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001333/0.3482, allocations: 56.62 kB / 1.338 GB, free: 6.215 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.835e-05/0.3483, allocations: 43.42 kB / 1.338 GB, free: 6.172 MB / 1.029 GB Notification: Performance of SimCode: time 3.11e-07/0.3483, allocations: 0 / 1.338 GB, free: 6.172 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03949/0.3878, allocations: 4.426 MB / 1.342 GB, free: 1.941 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.77/12.15, allocations: 15.66 kB / 1.342 GB, free: 1.93 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: 18.965350564045366]