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.002215/0.002215, allocations: 83.69 kB / 20.23 MB, free: 4.184 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.001996/0.001996, allocations: 161.3 kB / 23.55 MB, free: 0.8711 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.544/1.544, allocations: 177.1 MB / 203.9 MB, free: 5.621 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.874/2.874, allocations: 359 MB / 0.6048 GB, free: 10.94 MB / 0.573 GB " [Timeout remaining time 176] 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 1.123e-06/1.123e-06, allocations: 0 / 0.7863 GB, free: 12.7 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.441e-05/2.553e-05, allocations: 6.25 kB / 0.7863 GB, free: 12.69 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings): time 0.002914/0.00294, allocations: 1.52 MB / 0.7878 GB, free: 11.17 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001774/0.004714, allocations: 1.233 MB / 0.789 GB, free: 9.934 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.888e-05/0.004763, allocations: 3.938 kB / 0.789 GB, free: 9.93 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001707/0.004934, allocations: 17.08 kB / 0.7891 GB, free: 9.914 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0002142/0.005148, allocations: 47.66 kB / 0.7891 GB, free: 9.867 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001727/0.005321, allocations: 57.17 kB / 0.7892 GB, free: 9.812 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002231/0.005544, allocations: 155.5 kB / 0.7893 GB, free: 9.66 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001308/0.005674, allocations: 26.2 kB / 0.7893 GB, free: 9.637 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001444/0.005819, allocations: 103.8 kB / 0.7894 GB, free: 9.535 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000168/0.005987, allocations: 49.47 kB / 0.7895 GB, free: 9.488 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 5.733e-05/0.006044, allocations: 8 kB / 0.7895 GB, free: 9.48 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 8.167e-05/0.006126, allocations: 33.52 kB / 0.7895 GB, free: 9.449 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 9.567e-05/0.006222, allocations: 55.81 kB / 0.7896 GB, free: 9.395 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 8.415e-05/0.006306, allocations: 47.89 kB / 0.7896 GB, free: 9.348 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003301/0.006636, allocations: 219.2 kB / 0.7898 GB, free: 9.133 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.006641, allocations: 7.531 kB / 0.7898 GB, free: 9.129 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.82e-07/0.006641, allocations: 0 / 0.7898 GB, free: 9.129 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.006646, allocations: 0 / 0.7898 GB, free: 9.129 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.0007732/0.007419, allocations: 0.5072 MB / 0.7903 GB, free: 8.586 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.346e-05/0.007453, allocations: 8.031 kB / 0.7903 GB, free: 8.578 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.767e-05/0.007541, allocations: 24.8 kB / 0.7904 GB, free: 8.555 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003466/0.007887, allocations: 200.2 kB / 0.7905 GB, free: 8.332 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002191/0.008106, allocations: 218.2 kB / 0.7908 GB, free: 8.07 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.977e-05/0.008136, allocations: 9.094 kB / 0.7908 GB, free: 8.062 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003731/0.008509, allocations: 230.6 kB / 0.791 GB, free: 7.809 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.719e-06/0.008519, allocations: 192 / 0.791 GB, free: 7.809 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.846e-05/0.008547, allocations: 12.11 kB / 0.791 GB, free: 7.797 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.527e-05/0.008573, allocations: 7.984 kB / 0.791 GB, free: 7.789 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.571e-05/0.008648, allocations: 31.98 kB / 0.791 GB, free: 7.758 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009965/0.009645, allocations: 429.3 kB / 0.7914 GB, free: 7.305 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 8.66e-05/0.009731, allocations: 36.39 kB / 0.7915 GB, free: 7.258 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.557e-05/0.009777, allocations: 27.56 kB / 0.7915 GB, free: 7.227 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.768e-05/0.009805, allocations: 4 kB / 0.7915 GB, free: 7.223 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.006e-05/0.009845, allocations: 38.11 kB / 0.7915 GB, free: 7.176 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=8): time 1.093e-06/0.009846, allocations: 0 / 0.7915 GB, free: 7.176 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8): time 0.0002903/0.01014, allocations: 98.92 kB / 0.7916 GB, free: 7.074 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.079e-05/0.01018, allocations: 51.41 kB / 0.7917 GB, free: 7.012 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003126/0.01049, allocations: 290.7 kB / 0.792 GB, free: 6.707 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.297e-05/0.01052, allocations: 30.55 kB / 0.792 GB, free: 6.672 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001334/0.01066, allocations: 174.9 kB / 0.7922 GB, free: 6.496 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.32e-05/0.01069, allocations: 27.75 kB / 0.7922 GB, free: 6.469 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.731e-05/0.01076, allocations: 45.11 kB / 0.7922 GB, free: 6.418 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002866/0.01104, allocations: 0.5079 MB / 0.7927 GB, free: 5.898 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.23e-05/0.0111, allocations: 23.92 kB / 0.7927 GB, free: 5.875 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001492/0.01124, allocations: 128.2 kB / 0.7929 GB, free: 5.699 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002139/0.01146, allocations: 164.8 kB / 0.793 GB, free: 5.492 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.01146, allocations: 0 / 0.793 GB, free: 5.492 MB / 0.7448 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002615/0.01172, allocations: 144.1 kB / 0.7932 GB, free: 5.348 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.01174, allocations: 8 kB / 0.7932 GB, free: 5.34 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.258e-06/0.01175, allocations: 8.969 kB / 0.7932 GB, free: 5.332 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.725e-05/0.01176, allocations: 4 kB / 0.7932 GB, free: 5.328 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001147/0.01188, allocations: 23.92 kB / 0.7932 GB, free: 5.305 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.01189, allocations: 5.188 kB / 0.7932 GB, free: 5.301 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.446e-05/0.01195, allocations: 15.89 kB / 0.7932 GB, free: 5.285 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.484e-05/0.01197, allocations: 8 kB / 0.7932 GB, free: 5.277 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.0001551/0.01212, allocations: 181.3 kB / 0.7934 GB, free: 5.09 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.509e-05/0.01219, allocations: 22.06 kB / 0.7934 GB, free: 5.07 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002132/0.0124, allocations: 100.3 kB / 0.7935 GB, free: 4.977 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.0124, allocations: 4 kB / 0.7935 GB, free: 4.973 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.01241, allocations: 3.984 kB / 0.7935 GB, free: 4.969 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.01241, allocations: 0 / 0.7935 GB, free: 4.969 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002568/0.01267, allocations: 188.5 kB / 0.7937 GB, free: 4.75 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.01267, allocations: 2.875 kB / 0.7937 GB, free: 4.75 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.595e-05/0.01274, allocations: 15.98 kB / 0.7937 GB, free: 4.734 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.01274, allocations: 0 / 0.7937 GB, free: 4.734 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.127e-05/0.01275, allocations: 4 kB / 0.7937 GB, free: 4.73 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.01275, allocations: 0 / 0.7937 GB, free: 4.73 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.01275, allocations: 0 / 0.7937 GB, free: 4.73 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002645/0.01302, allocations: 243.7 kB / 0.794 GB, free: 4.473 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.874e-05/0.01304, allocations: 15.89 kB / 0.794 GB, free: 4.457 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.708e-05/0.01306, allocations: 1.5 kB / 0.794 GB, free: 4.457 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000196/0.01326, allocations: 12 kB / 0.794 GB, free: 4.445 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.615e-05/0.01328, allocations: 7.984 kB / 0.794 GB, free: 4.438 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.664e-05/0.01331, allocations: 7.984 kB / 0.794 GB, free: 4.43 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001975/0.01351, allocations: 210 kB / 0.7942 GB, free: 4.227 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.01351, allocations: 0.5625 kB / 0.7942 GB, free: 4.227 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003012/0.01381, allocations: 24 kB / 0.7942 GB, free: 4.203 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.0004103/0.01422, allocations: 130.5 kB / 0.7944 GB, free: 4.078 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001765/0.0144, allocations: 65.47 kB / 0.7944 GB, free: 4.012 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.0144, allocations: 0 / 0.7944 GB, free: 4.012 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.127e-05/0.01445, allocations: 39.39 kB / 0.7945 GB, free: 3.973 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003246/0.01477, allocations: 40.12 kB / 0.7945 GB, free: 3.934 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005312/0.01531, allocations: 275.3 kB / 0.7948 GB, free: 3.633 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001329/0.01544, allocations: 114.2 kB / 0.7949 GB, free: 3.496 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001172/0.01556, allocations: 46.02 kB / 0.7949 GB, free: 3.461 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.015e-05/0.0156, allocations: 16.5 kB / 0.7949 GB, free: 3.445 MB / 0.7448 GB Notification: Performance of SimCode: time 4.81e-07/0.0156, allocations: 0 / 0.7949 GB, free: 3.445 MB / 0.7448 GB Notification: Performance of Templates: time 0.00647/0.02207, allocations: 2.482 MB / 0.7974 GB, free: 1.016 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.pipe 2>&1) [Timeout 240] 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.989070934941992]