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.001567/0.001567, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001942/0.001942, allocations: 219.3 kB / 23.01 MB, free: 4.609 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.581/1.581, allocations: 230.6 MB / 256.8 MB, free: 8.047 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.947/2.947, allocations: 476.7 MB / 0.7714 GB, free: 4.316 MB / 0.6231 GB " [Timeout remaining time 176] 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: 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_11_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_11_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.002135/0.002135, allocations: 63.53 kB / 1.119 GB, free: 40.33 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3962/0.3983, allocations: 170 MB / 1.285 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings): time 0.003529/0.4018, allocations: 1.511 MB / 1.286 GB, free: 9.727 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002018/0.4039, allocations: 1.24 MB / 1.287 GB, free: 8.48 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.933e-05/0.4039, allocations: 3.938 kB / 1.287 GB, free: 8.477 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002241/0.4042, allocations: 23.8 kB / 1.287 GB, free: 8.453 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002121/0.4044, allocations: 39.78 kB / 1.287 GB, free: 8.414 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002111/0.4046, allocations: 60.03 kB / 1.287 GB, free: 8.359 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002481/0.4048, allocations: 143.6 kB / 1.288 GB, free: 8.219 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001561/0.405, allocations: 41.22 kB / 1.288 GB, free: 8.18 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001263/0.4051, allocations: 87.7 kB / 1.288 GB, free: 8.094 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002444/0.4054, allocations: 55.75 kB / 1.288 GB, free: 8.039 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.562e-05/0.4054, allocations: 8 kB / 1.288 GB, free: 8.031 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 8.255e-05/0.4055, allocations: 32 kB / 1.288 GB, free: 8 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 9.762e-05/0.4056, allocations: 55.81 kB / 1.288 GB, free: 7.945 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001063/0.4057, allocations: 75.58 kB / 1.288 GB, free: 7.871 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000311/0.406, allocations: 199.1 kB / 1.288 GB, free: 7.676 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.406, allocations: 0 / 1.288 GB, free: 7.676 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.713e-06/0.406, allocations: 0 / 1.288 GB, free: 7.676 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.021e-05/0.406, allocations: 0 / 1.288 GB, free: 7.676 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.0007868/0.4068, allocations: 425.3 kB / 1.288 GB, free: 7.23 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.962e-05/0.4068, allocations: 12.03 kB / 1.288 GB, free: 7.219 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.403e-05/0.4069, allocations: 20.84 kB / 1.289 GB, free: 7.199 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003616/0.4073, allocations: 202.1 kB / 1.289 GB, free: 6.977 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002264/0.4075, allocations: 222.2 kB / 1.289 GB, free: 6.711 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.863e-05/0.4075, allocations: 4.375 kB / 1.289 GB, free: 6.707 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003692/0.4079, allocations: 157.7 kB / 1.289 GB, free: 6.547 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.978e-06/0.4079, allocations: 0 / 1.289 GB, free: 6.547 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.537e-05/0.4079, allocations: 7.984 kB / 1.289 GB, free: 6.539 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.691e-05/0.4079, allocations: 15.98 kB / 1.289 GB, free: 6.523 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.12e-05/0.408, allocations: 43.2 kB / 1.289 GB, free: 6.484 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001145/0.4092, allocations: 427.5 kB / 1.29 GB, free: 6.023 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 9.418e-05/0.4093, allocations: 38.56 kB / 1.29 GB, free: 5.977 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.898e-05/0.4093, allocations: 28.78 kB / 1.29 GB, free: 5.945 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.133e-05/0.4094, allocations: 4 kB / 1.29 GB, free: 5.941 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.839e-05/0.4094, allocations: 30.56 kB / 1.29 GB, free: 5.902 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=8): time 1.202e-06/0.4094, allocations: 0 / 1.29 GB, free: 5.902 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8): time 0.0003078/0.4097, allocations: 109.7 kB / 1.29 GB, free: 5.789 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.832e-05/0.4097, allocations: 55.41 kB / 1.29 GB, free: 5.723 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002531/0.41, allocations: 215.7 kB / 1.29 GB, free: 5.496 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.082e-05/0.41, allocations: 29.7 kB / 1.29 GB, free: 5.461 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.658e-05/0.4101, allocations: 128.1 kB / 1.29 GB, free: 5.332 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.016e-05/0.4102, allocations: 31.69 kB / 1.29 GB, free: 5.301 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.162e-05/0.4102, allocations: 29.7 kB / 1.29 GB, free: 5.266 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001679/0.4104, allocations: 326.8 kB / 1.291 GB, free: 4.938 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.731e-05/0.4105, allocations: 31.92 kB / 1.291 GB, free: 4.906 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001329/0.4106, allocations: 102.2 kB / 1.291 GB, free: 4.77 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002035/0.4108, allocations: 146.2 kB / 1.291 GB, free: 4.59 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.4108, allocations: 3.938 kB / 1.291 GB, free: 4.586 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002512/0.411, allocations: 149.3 kB / 1.291 GB, free: 4.434 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/0.4111, allocations: 8 kB / 1.291 GB, free: 4.426 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.828e-06/0.4111, allocations: 8.359 kB / 1.291 GB, free: 4.418 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.903e-05/0.4111, allocations: 11.98 kB / 1.291 GB, free: 4.406 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001084/0.4112, allocations: 16 kB / 1.291 GB, free: 4.391 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.922e-05/0.4112, allocations: 15.86 kB / 1.291 GB, free: 4.375 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.078e-05/0.4113, allocations: 11.95 kB / 1.291 GB, free: 4.363 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.733e-05/0.4113, allocations: 8 kB / 1.291 GB, free: 4.355 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.0001451/0.4115, allocations: 141.8 kB / 1.291 GB, free: 4.207 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.536e-05/0.4115, allocations: 15.91 kB / 1.291 GB, free: 4.191 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002497/0.4118, allocations: 114 kB / 1.291 GB, free: 4.07 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.139e-06/0.4118, allocations: 8 kB / 1.291 GB, free: 4.062 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/0.4118, allocations: 3.938 kB / 1.291 GB, free: 4.059 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.4118, allocations: 3.984 kB / 1.291 GB, free: 4.055 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002659/0.412, allocations: 200.6 kB / 1.291 GB, free: 3.816 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.412, allocations: 0 / 1.291 GB, free: 3.816 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.801e-05/0.4121, allocations: 15.98 kB / 1.291 GB, free: 3.801 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.4121, allocations: 0 / 1.291 GB, free: 3.801 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.999e-06/0.4121, allocations: 4 kB / 1.291 GB, free: 3.797 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.538e-06/0.4121, allocations: 7.938 kB / 1.292 GB, free: 3.789 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.4121, allocations: 3.938 kB / 1.292 GB, free: 3.785 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002326/0.4123, allocations: 187.4 kB / 1.292 GB, free: 3.586 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.741e-05/0.4124, allocations: 15.84 kB / 1.292 GB, free: 3.57 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.889e-05/0.4124, allocations: 0 / 1.292 GB, free: 3.57 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002396/0.4126, allocations: 27.97 kB / 1.292 GB, free: 3.543 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.915e-05/0.4127, allocations: 11.92 kB / 1.292 GB, free: 3.531 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.202e-05/0.4127, allocations: 7.984 kB / 1.292 GB, free: 3.523 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001719/0.4129, allocations: 161.5 kB / 1.292 GB, free: 3.367 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4129, allocations: 4 kB / 1.292 GB, free: 3.363 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003036/0.4132, allocations: 28 kB / 1.292 GB, free: 3.336 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.0002985/0.4135, allocations: 124.1 kB / 1.292 GB, free: 3.211 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001964/0.4137, allocations: 72.03 kB / 1.292 GB, free: 3.141 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.4137, allocations: 0 / 1.292 GB, free: 3.141 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.687e-05/0.4137, allocations: 27.92 kB / 1.292 GB, free: 3.113 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003125/0.414, allocations: 20.56 kB / 1.292 GB, free: 3.094 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006675/0.4147, allocations: 324.5 kB / 1.292 GB, free: 2.746 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000504/0.4152, allocations: 0.7319 MB / 1.293 GB, free: 1.988 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.392e-05/0.4152, allocations: 23.42 kB / 1.293 GB, free: 1.965 MB / 0.9825 GB Notification: Performance of SimCode: time 8.21e-07/0.4152, allocations: 0 / 1.293 GB, free: 1.965 MB / 0.9825 GB Notification: Performance of Templates: time 0.006447/0.4217, allocations: 2.648 MB / 1.296 GB, free: 15.36 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.makefile [Timeout 300] (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 & ./Buildings_11_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.pipe 2>&1) [Timeout 400] 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] "" Variables in the reference:time,weeSchLin.y[1],weeSchLin.y[2],weeSchLin.y[3],weeSchLin.y[4] Variables in the result:time,weeSchLin.y[1],weeSchLin.y[2],weeSchLin.y[3],weeSchLin.y[4] [Calling sys.exit(0), Time elapsed: 12.407556052989094]