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.001735/0.001735, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.002166/0.002166, allocations: 217.4 kB / 22.99 MB, free: 4.945 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.669/1.669, 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 MB / 0.7707 GB, free: 4.727 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.002272/0.002272, allocations: 68.94 kB / 1.118 GB, free: 41.01 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3741/0.3764, allocations: 170 MB / 1.284 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings): time 0.003611/0.38, allocations: 1.502 MB / 1.285 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002094/0.3821, allocations: 1.198 MB / 1.286 GB, free: 9.234 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.124e-05/0.3821, allocations: 0 / 1.286 GB, free: 9.234 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.000189/0.3823, allocations: 23.84 kB / 1.286 GB, free: 9.211 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002097/0.3825, allocations: 39.78 kB / 1.286 GB, free: 9.172 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002096/0.3827, allocations: 53.28 kB / 1.287 GB, free: 9.121 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002181/0.383, allocations: 151.5 kB / 1.287 GB, free: 8.973 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001475/0.3831, allocations: 41.2 kB / 1.287 GB, free: 8.934 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000112/0.3832, allocations: 83.77 kB / 1.287 GB, free: 8.852 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001755/0.3834, allocations: 59.7 kB / 1.287 GB, free: 8.793 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.104e-05/0.3834, allocations: 12 kB / 1.287 GB, free: 8.781 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 7.692e-05/0.3835, allocations: 20 kB / 1.287 GB, free: 8.762 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 8.53e-05/0.3836, allocations: 55.81 kB / 1.287 GB, free: 8.707 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 7.909e-05/0.3837, allocations: 63.58 kB / 1.287 GB, free: 8.645 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002874/0.384, allocations: 199.2 kB / 1.287 GB, free: 8.449 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.384, allocations: 0 / 1.287 GB, free: 8.449 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.723e-06/0.384, allocations: 0 / 1.287 GB, free: 8.449 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.083e-05/0.384, allocations: 0 / 1.287 GB, free: 8.449 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.0007188/0.3847, allocations: 429.3 kB / 1.288 GB, free: 8 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.3847, allocations: 8.031 kB / 1.288 GB, free: 7.992 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.565e-05/0.3848, allocations: 20.84 kB / 1.288 GB, free: 7.973 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003737/0.3852, allocations: 202.1 kB / 1.288 GB, free: 7.75 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002027/0.3854, allocations: 222.1 kB / 1.288 GB, free: 7.484 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.85e-05/0.3854, allocations: 4.375 kB / 1.288 GB, free: 7.48 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004233/0.3858, allocations: 268.5 kB / 1.288 GB, free: 7.188 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.3858, allocations: 0 / 1.288 GB, free: 7.188 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.557e-05/0.3859, allocations: 4 kB / 1.288 GB, free: 7.184 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.763e-05/0.3859, allocations: 11.94 kB / 1.288 GB, free: 7.172 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.084e-05/0.386, allocations: 43.97 kB / 1.288 GB, free: 7.129 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001164/0.3871, allocations: 376.2 kB / 1.289 GB, free: 6.73 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 8.327e-05/0.3872, allocations: 34.52 kB / 1.289 GB, free: 6.688 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.755e-05/0.3873, allocations: 20.84 kB / 1.289 GB, free: 6.664 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.244e-05/0.3873, allocations: 8 kB / 1.289 GB, free: 6.656 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.188e-05/0.3873, allocations: 42.55 kB / 1.289 GB, free: 6.605 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=8): time 1.152e-06/0.3873, allocations: 0 / 1.289 GB, free: 6.605 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8): time 0.0002851/0.3876, allocations: 105.7 kB / 1.289 GB, free: 6.496 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.307e-05/0.3877, allocations: 51.41 kB / 1.289 GB, free: 6.434 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002565/0.3879, allocations: 215.8 kB / 1.289 GB, free: 6.207 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.018e-05/0.388, allocations: 29.7 kB / 1.289 GB, free: 6.172 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001022/0.3881, allocations: 120.2 kB / 1.289 GB, free: 6.051 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.825e-05/0.3881, allocations: 23.81 kB / 1.289 GB, free: 6.027 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.408e-05/0.3881, allocations: 33.7 kB / 1.289 GB, free: 5.988 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001605/0.3883, allocations: 334.8 kB / 1.29 GB, free: 5.652 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.847e-05/0.3884, allocations: 27.97 kB / 1.29 GB, free: 5.625 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001194/0.3885, allocations: 102.2 kB / 1.29 GB, free: 5.488 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001941/0.3887, allocations: 146.1 kB / 1.29 GB, free: 5.309 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.3887, allocations: 0 / 1.29 GB, free: 5.309 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002481/0.3889, allocations: 153.3 kB / 1.29 GB, free: 5.152 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.3889, allocations: 12.31 kB / 1.29 GB, free: 5.141 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.389, allocations: 8 kB / 1.29 GB, free: 5.133 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.389, allocations: 0 / 1.29 GB, free: 5.133 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001075/0.3891, allocations: 31.92 kB / 1.29 GB, free: 5.102 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.217e-06/0.3891, allocations: 7.938 kB / 1.29 GB, free: 5.094 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.478e-05/0.3892, allocations: 15.83 kB / 1.29 GB, free: 5.078 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.412e-05/0.3892, allocations: 8 kB / 1.29 GB, free: 5.07 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.000137/0.3893, allocations: 145.8 kB / 1.29 GB, free: 4.918 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.488e-05/0.3894, allocations: 15.91 kB / 1.29 GB, free: 4.902 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002297/0.3896, allocations: 116.4 kB / 1.29 GB, free: 4.781 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.3896, allocations: 4 kB / 1.29 GB, free: 4.777 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.3896, allocations: 4 kB / 1.29 GB, free: 4.773 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.3896, allocations: 3.938 kB / 1.29 GB, free: 4.77 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002065/0.3898, allocations: 157.2 kB / 1.291 GB, free: 4.586 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.3898, allocations: 0 / 1.291 GB, free: 4.586 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.15e-05/0.3899, allocations: 15.98 kB / 1.291 GB, free: 4.57 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.023e-06/0.3899, allocations: 0 / 1.291 GB, free: 4.57 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.983e-06/0.3899, allocations: 0 / 1.291 GB, free: 4.57 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.868e-06/0.3899, allocations: 4 kB / 1.291 GB, free: 4.566 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.029e-06/0.3899, allocations: 8 kB / 1.291 GB, free: 4.559 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002182/0.3901, allocations: 191.4 kB / 1.291 GB, free: 4.355 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.749e-05/0.3901, allocations: 19.89 kB / 1.291 GB, free: 4.336 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.088e-05/0.3901, allocations: 4 kB / 1.291 GB, free: 4.332 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002491/0.3904, allocations: 15.98 kB / 1.291 GB, free: 4.316 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.325e-05/0.3904, allocations: 7.984 kB / 1.291 GB, free: 4.309 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.518e-05/0.3904, allocations: 11.98 kB / 1.291 GB, free: 4.297 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001483/0.3906, allocations: 157.5 kB / 1.291 GB, free: 4.145 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3906, allocations: 0 / 1.291 GB, free: 4.145 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002977/0.3909, allocations: 31.88 kB / 1.291 GB, free: 4.113 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.0002746/0.3912, allocations: 134.4 kB / 1.291 GB, free: 3.98 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001794/0.3913, allocations: 67.84 kB / 1.291 GB, free: 3.914 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.3913, allocations: 0.75 kB / 1.291 GB, free: 3.914 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.224e-05/0.3914, allocations: 31.86 kB / 1.291 GB, free: 3.883 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003058/0.3917, allocations: 30.05 kB / 1.291 GB, free: 3.855 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000561/0.3923, allocations: 316.5 kB / 1.292 GB, free: 3.516 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001147/0.3924, allocations: 114.1 kB / 1.292 GB, free: 3.387 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.755e-05/0.3924, allocations: 27.42 kB / 1.292 GB, free: 3.359 MB / 0.9825 GB Notification: Performance of SimCode: time 2.8e-07/0.3924, allocations: 0 / 1.292 GB, free: 3.359 MB / 0.9825 GB Notification: Performance of Templates: time 0.005034/0.3974, allocations: 2.686 MB / 1.294 GB, free: 0.7109 MB / 0.9825 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.971694125793874]