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.002029/0.002029, allocations: 88.39 kB / 20.23 MB, free: 4.172 MB / 18.57 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.002445/0.002445, allocations: 161.3 kB / 23.55 MB, free: 0.8633 MB / 18.57 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.448/1.448, allocations: 177.1 MB / 203.9 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.697/2.697, allocations: 359 MB / 0.6048 GB, free: 10.95 MB / 0.573 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 2.655e-06/2.655e-06, allocations: 0 / 0.7863 GB, free: 12.83 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.545e-05/2.81e-05, allocations: 2.312 kB / 0.7863 GB, free: 12.83 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings): time 0.003138/0.003166, allocations: 1.505 MB / 0.7878 GB, free: 11.33 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001974/0.005139, allocations: 1.226 MB / 0.789 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.845e-05/0.005208, allocations: 0.9375 kB / 0.789 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.000204/0.005412, allocations: 19.8 kB / 0.789 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0002641/0.005676, allocations: 52.92 kB / 0.7891 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002274/0.005903, allocations: 56.48 kB / 0.7891 GB, free: 9.977 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002497/0.006153, allocations: 156 kB / 0.7893 GB, free: 9.824 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001381/0.006291, allocations: 33.28 kB / 0.7893 GB, free: 9.793 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001768/0.006468, allocations: 105.1 kB / 0.7894 GB, free: 9.691 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001793/0.006647, allocations: 39.89 kB / 0.7895 GB, free: 9.652 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 4.261e-05/0.00669, allocations: 12 kB / 0.7895 GB, free: 9.641 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 9.036e-05/0.00678, allocations: 33.45 kB / 0.7895 GB, free: 9.609 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 9.863e-05/0.006879, allocations: 51.83 kB / 0.7896 GB, free: 9.559 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 8.745e-05/0.006966, allocations: 47.83 kB / 0.7896 GB, free: 9.512 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003662/0.007332, allocations: 219.3 kB / 0.7898 GB, free: 9.297 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.007335, allocations: 1.469 kB / 0.7898 GB, free: 9.297 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.082e-06/0.007336, allocations: 0 / 0.7898 GB, free: 9.297 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.007341, allocations: 0 / 0.7898 GB, free: 9.297 MB / 0.7448 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.0007935/0.008135, allocations: 420.6 kB / 0.7902 GB, free: 8.859 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.008171, allocations: 12.03 kB / 0.7902 GB, free: 8.848 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001082/0.008279, allocations: 28.8 kB / 0.7902 GB, free: 8.82 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005483/0.008827, allocations: 195.3 kB / 0.7904 GB, free: 8.605 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002585/0.009086, allocations: 226.2 kB / 0.7906 GB, free: 8.336 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.608e-05/0.009122, allocations: 8.312 kB / 0.7907 GB, free: 8.328 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004716/0.009594, allocations: 261.9 kB / 0.7909 GB, free: 8.043 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.966e-06/0.009603, allocations: 4.125 kB / 0.7909 GB, free: 8.039 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.867e-05/0.009631, allocations: 8.125 kB / 0.7909 GB, free: 8.031 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.596e-05/0.009657, allocations: 4.531 kB / 0.7909 GB, free: 8.027 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001092/0.009766, allocations: 44.69 kB / 0.791 GB, free: 7.984 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001109/0.01088, allocations: 378.2 kB / 0.7913 GB, free: 7.586 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 9.432e-05/0.01097, allocations: 39.17 kB / 0.7914 GB, free: 7.539 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.269e-05/0.01102, allocations: 24.84 kB / 0.7914 GB, free: 7.512 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.871e-05/0.01105, allocations: 4.922 kB / 0.7914 GB, free: 7.508 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.106e-05/0.01109, allocations: 38.5 kB / 0.7914 GB, free: 7.461 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=8): time 1.082e-06/0.01109, allocations: 0.7188 kB / 0.7914 GB, free: 7.461 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8): time 0.0003291/0.01142, allocations: 105.6 kB / 0.7915 GB, free: 7.352 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.247e-05/0.01148, allocations: 56 kB / 0.7916 GB, free: 7.285 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000289/0.01176, allocations: 221.2 kB / 0.7918 GB, free: 7.059 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.785e-05/0.0118, allocations: 29.7 kB / 0.7918 GB, free: 7.023 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001114/0.01191, allocations: 120.2 kB / 0.7919 GB, free: 6.902 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.718e-05/0.01195, allocations: 27.75 kB / 0.792 GB, free: 6.875 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.35e-05/0.01201, allocations: 35.27 kB / 0.792 GB, free: 6.836 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001937/0.01221, allocations: 330.8 kB / 0.7923 GB, free: 6.504 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.609e-05/0.01227, allocations: 23.97 kB / 0.7923 GB, free: 6.48 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001386/0.01241, allocations: 106.2 kB / 0.7924 GB, free: 6.34 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002215/0.01263, allocations: 135.3 kB / 0.7926 GB, free: 6.176 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.67e-06/0.01264, allocations: 4 kB / 0.7926 GB, free: 6.172 MB / 0.7448 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003245/0.01296, allocations: 163.5 kB / 0.7927 GB, free: 6.008 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.01298, allocations: 4 kB / 0.7927 GB, free: 6.004 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.151e-05/0.01299, allocations: 4.562 kB / 0.7927 GB, free: 6 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.934e-05/0.01301, allocations: 5.562 kB / 0.7927 GB, free: 5.996 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001161/0.01313, allocations: 27.92 kB / 0.7928 GB, free: 5.969 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.234e-05/0.01314, allocations: 7.938 kB / 0.7928 GB, free: 5.961 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.967e-05/0.01321, allocations: 7.953 kB / 0.7928 GB, free: 5.953 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.804e-05/0.01323, allocations: 8.5 kB / 0.7928 GB, free: 5.945 MB / 0.7448 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.0001697/0.0134, allocations: 147.8 kB / 0.7929 GB, free: 5.793 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.752e-05/0.01347, allocations: 19.91 kB / 0.7929 GB, free: 5.773 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002724/0.01374, allocations: 118.9 kB / 0.7931 GB, free: 5.656 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.01374, allocations: 0 / 0.7931 GB, free: 5.656 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.01375, allocations: 0 / 0.7931 GB, free: 5.656 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.01375, allocations: 4 kB / 0.7931 GB, free: 5.652 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002474/0.014, allocations: 158.3 kB / 0.7932 GB, free: 5.469 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.014, allocations: 0 / 0.7932 GB, free: 5.469 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.019e-05/0.01406, allocations: 19.98 kB / 0.7932 GB, free: 5.449 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.01406, allocations: 0.8438 kB / 0.7932 GB, free: 5.449 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.084e-06/0.01407, allocations: 0 / 0.7932 GB, free: 5.449 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.01407, allocations: 0.5 kB / 0.7932 GB, free: 5.449 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.01407, allocations: 0.8438 kB / 0.7932 GB, free: 5.449 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002636/0.01434, allocations: 203.2 kB / 0.7934 GB, free: 5.234 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.838e-05/0.01436, allocations: 24.73 kB / 0.7935 GB, free: 5.211 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.82e-05/0.01438, allocations: 0 / 0.7935 GB, free: 5.211 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000261/0.01464, allocations: 19.73 kB / 0.7935 GB, free: 5.195 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.366e-05/0.01467, allocations: 3.984 kB / 0.7935 GB, free: 5.191 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-05/0.0147, allocations: 15.98 kB / 0.7935 GB, free: 5.176 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001806/0.01488, allocations: 161.5 kB / 0.7936 GB, free: 5.02 MB / 0.7448 GB Notification: Performance of sort global known variables: time 9e-08/0.01488, allocations: 0 / 0.7936 GB, free: 5.02 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003239/0.0152, allocations: 24 kB / 0.7937 GB, free: 4.996 MB / 0.7448 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.0002876/0.01549, allocations: 132.9 kB / 0.7938 GB, free: 4.867 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000184/0.01568, allocations: 73.98 kB / 0.7939 GB, free: 4.797 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.01568, allocations: 0 / 0.7939 GB, free: 4.797 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.134e-05/0.01573, allocations: 29.05 kB / 0.7939 GB, free: 4.77 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003305/0.01606, allocations: 29.06 kB / 0.7939 GB, free: 4.742 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005998/0.01666, allocations: 293 kB / 0.7942 GB, free: 4.426 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001448/0.0168, allocations: 127.9 kB / 0.7943 GB, free: 4.281 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001328/0.01694, allocations: 53.81 kB / 0.7944 GB, free: 4.238 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.915e-05/0.01699, allocations: 25.23 kB / 0.7944 GB, free: 4.215 MB / 0.7448 GB Notification: Performance of SimCode: time 4.01e-07/0.01699, allocations: 0 / 0.7944 GB, free: 4.215 MB / 0.7448 GB Notification: Performance of Templates: time 0.00653/0.02352, allocations: 2.47 MB / 0.7968 GB, free: 1.801 MB / 0.7448 GB " [Timeout remaining time 300] 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/jenkins/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: 7.4171539429808035]