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.001044/0.001044, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.001713/0.001713, allocations: 164.5 kB / 24.86 MB, free: 8.891 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 0.9452/0.9452, allocations: 177.1 MB / 205.3 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] 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 1.745/1.745, allocations: 359 MB / 0.6063 GB, free: 10.92 MB / 0.573 GB " [Timeout remaining time 178] 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.[0-9,]+.",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.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.362e-06/1.362e-06, allocations: 0 / 0.7883 GB, free: 12.27 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.332e-05/1.468e-05, allocations: 3.312 kB / 0.7883 GB, free: 12.27 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings): time 0.005156/0.00517, allocations: 1.538 MB / 0.7898 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001424/0.006594, allocations: 1.257 MB / 0.791 GB, free: 9.473 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.142e-05/0.006646, allocations: 4 kB / 0.791 GB, free: 9.469 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001615/0.006807, allocations: 11.88 kB / 0.791 GB, free: 9.457 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001648/0.006972, allocations: 49.33 kB / 0.7911 GB, free: 9.41 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001379/0.00711, allocations: 57.06 kB / 0.7911 GB, free: 9.355 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001669/0.007277, allocations: 155.5 kB / 0.7913 GB, free: 9.203 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001104/0.007388, allocations: 33.23 kB / 0.7913 GB, free: 9.172 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006118/0.01351, allocations: 103.8 kB / 0.7914 GB, free: 9.07 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001124/0.01362, allocations: 44.52 kB / 0.7914 GB, free: 9.027 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.774e-05/0.01365, allocations: 13.41 kB / 0.7915 GB, free: 9.016 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 5.815e-05/0.0137, allocations: 27.98 kB / 0.7915 GB, free: 8.988 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 6.102e-05/0.01377, allocations: 47.83 kB / 0.7915 GB, free: 8.941 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 5.4e-05/0.01382, allocations: 55.81 kB / 0.7916 GB, free: 8.887 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002051/0.01402, allocations: 172.3 kB / 0.7917 GB, free: 8.719 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.954e-06/0.01403, allocations: 3.938 kB / 0.7918 GB, free: 8.715 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.31e-07/0.01403, allocations: 0.5625 kB / 0.7918 GB, free: 8.715 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.497e-06/0.01403, allocations: 0.6875 kB / 0.7918 GB, free: 8.715 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.000483/0.01451, allocations: 0.52 MB / 0.7923 GB, free: 8.16 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 2.935e-05/0.01454, allocations: 12.03 kB / 0.7923 GB, free: 8.148 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.83e-05/0.0146, allocations: 20.83 kB / 0.7923 GB, free: 8.129 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002/0.0148, allocations: 201.7 kB / 0.7925 GB, free: 7.902 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001162/0.01492, allocations: 219.8 kB / 0.7927 GB, free: 7.641 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.626e-05/0.01494, allocations: 8.375 kB / 0.7927 GB, free: 7.633 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001858/0.01513, allocations: 188 kB / 0.7929 GB, free: 7.422 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.542e-06/0.01514, allocations: 192 / 0.7929 GB, free: 7.422 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.869e-05/0.01515, allocations: 13.66 kB / 0.7929 GB, free: 7.41 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.202e-05/0.01518, allocations: 8 kB / 0.7929 GB, free: 7.402 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.258e-05/0.01521, allocations: 19.92 kB / 0.7929 GB, free: 7.383 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005247/0.01573, allocations: 380.2 kB / 0.7933 GB, free: 6.988 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 4.388e-05/0.01578, allocations: 31.05 kB / 0.7933 GB, free: 6.945 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.348e-05/0.0158, allocations: 19.69 kB / 0.7933 GB, free: 6.922 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.741e-05/0.01582, allocations: 0 / 0.7933 GB, free: 6.922 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.084e-05/0.01584, allocations: 37.39 kB / 0.7934 GB, free: 6.875 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=8): time 7.22e-07/0.01584, allocations: 0 / 0.7934 GB, free: 6.875 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8): time 0.0001735/0.01601, allocations: 93.61 kB / 0.7935 GB, free: 6.777 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.426e-05/0.01604, allocations: 51.41 kB / 0.7935 GB, free: 6.715 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001562/0.01619, allocations: 259.5 kB / 0.7938 GB, free: 6.441 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.148e-05/0.01622, allocations: 33.7 kB / 0.7938 GB, free: 6.402 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.006065/0.02228, allocations: 163.3 kB / 0.7939 GB, free: 6.238 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.726e-05/0.02231, allocations: 36.59 kB / 0.794 GB, free: 6.203 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.489e-05/0.02235, allocations: 35.38 kB / 0.794 GB, free: 6.16 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001278/0.02248, allocations: 0.504 MB / 0.7945 GB, free: 5.645 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.862e-05/0.0225, allocations: 8.812 kB / 0.7945 GB, free: 5.637 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.224e-05/0.02257, allocations: 116.2 kB / 0.7946 GB, free: 5.473 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001199/0.02269, allocations: 156.5 kB / 0.7948 GB, free: 5.273 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.02269, allocations: 4 kB / 0.7948 GB, free: 5.27 MB / 0.7448 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001636/0.02286, allocations: 120.6 kB / 0.7949 GB, free: 5.148 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.114e-05/0.02287, allocations: 7.938 kB / 0.7949 GB, free: 5.141 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.02288, allocations: 7.438 kB / 0.7949 GB, free: 5.137 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.968e-06/0.02288, allocations: 4 kB / 0.7949 GB, free: 5.133 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.15e-05/0.02296, allocations: 23.98 kB / 0.7949 GB, free: 5.109 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.02296, allocations: 7.938 kB / 0.7949 GB, free: 5.102 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.004e-05/0.02301, allocations: 11.89 kB / 0.7949 GB, free: 5.09 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.877e-06/0.02302, allocations: 7.938 kB / 0.795 GB, free: 5.082 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 8.01e-05/0.0231, allocations: 164.5 kB / 0.7951 GB, free: 4.91 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.6e-05/0.02315, allocations: 19.91 kB / 0.7951 GB, free: 4.891 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001383/0.02328, allocations: 100.2 kB / 0.7952 GB, free: 4.797 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.02329, allocations: 4.891 kB / 0.7952 GB, free: 4.793 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.353e-06/0.02329, allocations: 0 / 0.7952 GB, free: 4.793 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.02329, allocations: 0.5 kB / 0.7952 GB, free: 4.793 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001556/0.02345, allocations: 149.6 kB / 0.7954 GB, free: 4.621 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.02345, allocations: 0 / 0.7954 GB, free: 4.621 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.413e-05/0.02348, allocations: 16.5 kB / 0.7954 GB, free: 4.605 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.02348, allocations: 5.297 kB / 0.7954 GB, free: 4.602 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.022e-06/0.02349, allocations: 4 kB / 0.7954 GB, free: 4.598 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.92e-07/0.02349, allocations: 0 / 0.7954 GB, free: 4.598 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.02349, allocations: 0 / 0.7954 GB, free: 4.598 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001359/0.02363, allocations: 216.4 kB / 0.7956 GB, free: 4.367 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.748e-05/0.02365, allocations: 19.84 kB / 0.7956 GB, free: 4.348 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.447e-05/0.02366, allocations: 9.422 kB / 0.7956 GB, free: 4.34 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001214/0.02378, allocations: 8 kB / 0.7956 GB, free: 4.332 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.363e-05/0.0238, allocations: 3.984 kB / 0.7956 GB, free: 4.328 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.953e-05/0.02381, allocations: 17.14 kB / 0.7957 GB, free: 4.312 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 8.101e-05/0.0239, allocations: 177.3 kB / 0.7958 GB, free: 4.141 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6.1e-08/0.0239, allocations: 0 / 0.7958 GB, free: 4.141 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002749/0.02417, allocations: 32.47 kB / 0.7959 GB, free: 4.109 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.0001779/0.02435, allocations: 124.3 kB / 0.796 GB, free: 3.988 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001018/0.02445, allocations: 58.81 kB / 0.796 GB, free: 3.93 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.02445, allocations: 0 / 0.796 GB, free: 3.93 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.603e-05/0.02448, allocations: 23.67 kB / 0.7961 GB, free: 3.902 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002659/0.02474, allocations: 35.97 kB / 0.7961 GB, free: 3.867 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003184/0.02506, allocations: 267.7 kB / 0.7964 GB, free: 3.574 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.719e-05/0.02511, allocations: 79.27 kB / 0.7964 GB, free: 3.477 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.00609/0.0312, allocations: 33.84 kB / 0.7965 GB, free: 3.449 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002294/0.03143, allocations: 151.2 kB / 0.7966 GB, free: 3.301 MB / 0.7448 GB Notification: Performance of SimCode: time 6.91e-07/0.03143, allocations: 0 / 0.7966 GB, free: 3.301 MB / 0.7448 GB Notification: Performance of Templates: time 0.01069/0.04212, allocations: 2.764 MB / 0.7993 GB, free: 0.5859 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.934340395964682]