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.001536/0.001536, allocations: 96.42 kB / 19.7 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.001891/0.001891, allocations: 211.5 kB / 22.99 MB, free: 4.957 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.492/1.492, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.199/3.199, allocations: 0.49 GB / 0.7959 GB, free: 35.46 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: translateModel(Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|weeSchLin.y.1.|weeSchLin.y.2.|weeSchLin.y.3.|weeSchLin.y.4.",fileNamePrefix="Buildings_12_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings") translateModel(Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|weeSchLin.y.1.|weeSchLin.y.2.|weeSchLin.y.3.|weeSchLin.y.4.",fileNamePrefix="Buildings_12_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings") [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.002034/0.002034, allocations: 74.22 kB / 1.155 GB, free: 25.19 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3954/0.3974, allocations: 176.1 MB / 1.327 GB, free: 0.9961 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings): time 0.003149/0.4006, allocations: 1.508 MB / 1.329 GB, free: 15.48 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.00192/0.4025, allocations: 1.193 MB / 1.33 GB, free: 14.29 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.177e-05/0.4025, allocations: 8 kB / 1.33 GB, free: 14.28 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.000193/0.4027, allocations: 19.86 kB / 1.33 GB, free: 14.26 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002179/0.403, allocations: 43.7 kB / 1.33 GB, free: 14.21 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001903/0.4031, allocations: 64.97 kB / 1.33 GB, free: 14.15 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002207/0.4034, allocations: 143.5 kB / 1.33 GB, free: 14.01 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001375/0.4035, allocations: 41.22 kB / 1.33 GB, free: 13.97 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001067/0.4036, allocations: 79.77 kB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001636/0.4038, allocations: 59.69 kB / 1.33 GB, free: 13.83 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.863e-05/0.4038, allocations: 16 kB / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 7.925e-05/0.4039, allocations: 20 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.246e-05/0.404, allocations: 51.81 kB / 1.33 GB, free: 13.75 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 7.845e-05/0.4041, allocations: 63.7 kB / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002843/0.4043, allocations: 211.1 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.4044, allocations: 0 / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.423e-06/0.4044, allocations: 0 / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.908e-06/0.4044, allocations: 0 / 1.33 GB, free: 13.48 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.0007264/0.4051, allocations: 421.3 kB / 1.331 GB, free: 13.04 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/0.4051, allocations: 12.03 kB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.979e-05/0.4052, allocations: 16.84 kB / 1.331 GB, free: 13.01 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003515/0.4055, allocations: 202.6 kB / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002179/0.4058, allocations: 226.2 kB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.985e-05/0.4058, allocations: 4.375 kB / 1.331 GB, free: 12.51 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000423/0.4062, allocations: 264.4 kB / 1.332 GB, free: 12.22 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.4062, allocations: 0 / 1.332 GB, free: 12.22 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.393e-05/0.4062, allocations: 4 kB / 1.332 GB, free: 12.22 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.501e-05/0.4063, allocations: 8 kB / 1.332 GB, free: 12.21 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.313e-05/0.4064, allocations: 43.97 kB / 1.332 GB, free: 12.17 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001063/0.4074, allocations: 384.1 kB / 1.332 GB, free: 11.76 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 8.458e-05/0.4075, allocations: 34.56 kB / 1.332 GB, free: 11.72 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.338e-05/0.4075, allocations: 24.86 kB / 1.332 GB, free: 11.69 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.083e-05/0.4076, allocations: 7.984 kB / 1.332 GB, free: 11.68 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.152e-05/0.4076, allocations: 34.56 kB / 1.332 GB, free: 11.64 MB / 1.029 GB Notification: Performance of pre-optimization done (n=8): time 1.062e-06/0.4076, allocations: 0 / 1.332 GB, free: 11.64 MB / 1.029 GB Notification: Performance of matching and sorting (n=8): time 0.0002914/0.4079, allocations: 105.5 kB / 1.332 GB, free: 11.53 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.508e-05/0.4079, allocations: 59.34 kB / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002397/0.4082, allocations: 211.8 kB / 1.332 GB, free: 11.24 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.262e-05/0.4082, allocations: 29.7 kB / 1.332 GB, free: 11.21 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.154e-05/0.4083, allocations: 124.2 kB / 1.333 GB, free: 11.08 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.204e-05/0.4083, allocations: 31.94 kB / 1.333 GB, free: 11.05 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.145e-05/0.4084, allocations: 29.72 kB / 1.333 GB, free: 11.02 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001719/0.4086, allocations: 330.8 kB / 1.333 GB, free: 10.68 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.374e-05/0.4086, allocations: 35.91 kB / 1.333 GB, free: 10.65 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001266/0.4087, allocations: 102.2 kB / 1.333 GB, free: 10.51 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000184/0.4089, allocations: 138.2 kB / 1.333 GB, free: 10.34 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.312e-06/0.4089, allocations: 8 kB / 1.333 GB, free: 10.33 MB / 1.029 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002576/0.4092, allocations: 149.3 kB / 1.333 GB, free: 10.18 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.4092, allocations: 4.375 kB / 1.333 GB, free: 10.18 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.4092, allocations: 8 kB / 1.333 GB, free: 10.17 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/0.4092, allocations: 4 kB / 1.333 GB, free: 10.16 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001096/0.4093, allocations: 27.92 kB / 1.333 GB, free: 10.14 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.834e-06/0.4094, allocations: 4 kB / 1.333 GB, free: 10.13 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.352e-05/0.4094, allocations: 19.83 kB / 1.333 GB, free: 10.11 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.26e-05/0.4094, allocations: 4 kB / 1.333 GB, free: 10.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.0001529/0.4096, allocations: 149.7 kB / 1.334 GB, free: 9.953 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.455e-05/0.4096, allocations: 11.91 kB / 1.334 GB, free: 9.941 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002645/0.4099, allocations: 129.7 kB / 1.334 GB, free: 9.809 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.4099, allocations: 0 / 1.334 GB, free: 9.809 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.4099, allocations: 4 kB / 1.334 GB, free: 9.805 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.139e-06/0.4099, allocations: 3.938 kB / 1.334 GB, free: 9.801 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002441/0.4102, allocations: 157.3 kB / 1.334 GB, free: 9.617 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.4102, allocations: 7.938 kB / 1.334 GB, free: 9.609 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.753e-05/0.4102, allocations: 11.94 kB / 1.334 GB, free: 9.598 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.4102, allocations: 4 kB / 1.334 GB, free: 9.594 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.396e-06/0.4102, allocations: 0 / 1.334 GB, free: 9.594 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.4102, allocations: 0 / 1.334 GB, free: 9.594 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.4102, allocations: 0 / 1.334 GB, free: 9.594 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002559/0.4105, allocations: 195.7 kB / 1.334 GB, free: 9.387 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.908e-05/0.4105, allocations: 19.89 kB / 1.334 GB, free: 9.367 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.014e-05/0.4105, allocations: 4 kB / 1.334 GB, free: 9.363 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000253/0.4108, allocations: 15.98 kB / 1.334 GB, free: 9.348 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.604e-05/0.4108, allocations: 7.984 kB / 1.334 GB, free: 9.34 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.707e-05/0.4108, allocations: 11.98 kB / 1.334 GB, free: 9.328 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001654/0.411, allocations: 157.5 kB / 1.334 GB, free: 9.176 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.411, allocations: 3.938 kB / 1.334 GB, free: 9.172 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003265/0.4113, allocations: 35.88 kB / 1.334 GB, free: 9.137 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.0003154/0.4116, allocations: 132.9 kB / 1.334 GB, free: 9.004 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001831/0.4118, allocations: 67.84 kB / 1.335 GB, free: 8.938 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.4118, allocations: 0 / 1.335 GB, free: 8.938 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 5.465e-05/0.4119, allocations: 24.73 kB / 1.335 GB, free: 8.914 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003189/0.4122, allocations: 28.67 kB / 1.335 GB, free: 8.887 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005664/0.4128, allocations: 282.8 kB / 1.335 GB, free: 8.582 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001488/0.4129, allocations: 122.1 kB / 1.335 GB, free: 8.438 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001289/0.413, allocations: 55.39 kB / 1.335 GB, free: 8.391 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.829e-05/0.4131, allocations: 19.42 kB / 1.335 GB, free: 8.375 MB / 1.029 GB Notification: Performance of SimCode: time 3.01e-07/0.4131, allocations: 0 / 1.335 GB, free: 8.375 MB / 1.029 GB Notification: Performance of Templates: time 0.006329/0.4194, allocations: 2.593 MB / 1.338 GB, free: 5.828 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.makefile [Timeout 300] (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 & ./Buildings_12_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.pipe 2>&1) [Timeout 400] 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: 9.156484796010773]