Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009235/0.0009235, allocations: 86.05 kB / 19.87 MB, free: 4.617 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.001036/0.001036, allocations: 170 kB / 23.27 MB, free: 1.223 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.9621/0.9621, allocations: 177.2 MB / 203.7 MB, free: 5.508 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.52/2.52, allocations: 438.1 MB / 0.682 GB, free: 14.14 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.794e-06/1.794e-06, allocations: 0 / 0.8897 GB, free: 9.785 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.215e-05/2.395e-05, allocations: 6.25 kB / 0.8897 GB, free: 9.777 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings): time 0.002036/0.002059, allocations: 1.54 MB / 0.8912 GB, free: 8.227 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001148/0.003207, allocations: 1.262 MB / 0.8925 GB, free: 6.957 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.638e-05/0.003284, allocations: 3.938 kB / 0.8925 GB, free: 6.953 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0002182/0.003502, allocations: 19.86 kB / 0.8925 GB, free: 6.934 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0002189/0.003721, allocations: 43.72 kB / 0.8925 GB, free: 6.891 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001429/0.003864, allocations: 63.83 kB / 0.8926 GB, free: 6.828 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0001689/0.004032, allocations: 143.5 kB / 0.8927 GB, free: 6.688 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001345/0.004167, allocations: 37.22 kB / 0.8928 GB, free: 6.652 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001131/0.00428, allocations: 103.8 kB / 0.8929 GB, free: 6.551 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000117/0.004397, allocations: 46.75 kB / 0.8929 GB, free: 6.508 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.924e-05/0.004426, allocations: 11.94 kB / 0.8929 GB, free: 6.496 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 5.948e-05/0.004486, allocations: 28 kB / 0.8929 GB, free: 6.469 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 6.053e-05/0.004546, allocations: 43.89 kB / 0.893 GB, free: 6.426 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 5.851e-05/0.004605, allocations: 59.8 kB / 0.893 GB, free: 6.367 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0002113/0.004816, allocations: 171.4 kB / 0.8932 GB, free: 6.199 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.004818, allocations: 0 / 0.8932 GB, free: 6.199 MB / 0.8542 GB Notification: Performance of FrontEnd: time 5.21e-07/0.004819, allocations: 0 / 0.8932 GB, free: 6.199 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.366e-06/0.004822, allocations: 0 / 0.8932 GB, free: 6.199 MB / 0.8542 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.000737/0.005559, allocations: 0.5229 MB / 0.8937 GB, free: 5.641 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.005598, allocations: 12.03 kB / 0.8937 GB, free: 5.629 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.953e-05/0.005657, allocations: 28.8 kB / 0.8937 GB, free: 5.602 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000188/0.005845, allocations: 192.9 kB / 0.8939 GB, free: 5.387 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001176/0.005963, allocations: 222.2 kB / 0.8941 GB, free: 5.121 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.131e-05/0.005984, allocations: 8.359 kB / 0.8942 GB, free: 5.113 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001779/0.006162, allocations: 200.5 kB / 0.8943 GB, free: 4.887 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.814e-06/0.00617, allocations: 192 / 0.8943 GB, free: 4.887 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.328e-05/0.006183, allocations: 4.125 kB / 0.8943 GB, free: 4.883 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.647e-05/0.00621, allocations: 11.98 kB / 0.8944 GB, free: 4.871 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.514e-05/0.006235, allocations: 11.98 kB / 0.8944 GB, free: 4.859 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004632/0.006698, allocations: 384 kB / 0.8947 GB, free: 4.457 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 4.39e-05/0.006742, allocations: 35.05 kB / 0.8948 GB, free: 4.41 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.858e-05/0.00676, allocations: 11.69 kB / 0.8948 GB, free: 4.395 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.248e-05/0.006793, allocations: 16.34 kB / 0.8948 GB, free: 4.387 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.557e-05/0.006818, allocations: 41.38 kB / 0.8948 GB, free: 4.336 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=8): time 1.032e-06/0.006819, allocations: 0 / 0.8948 GB, free: 4.336 MB / 0.8542 GB Notification: Performance of matching and sorting (n=8): time 0.0001461/0.006966, allocations: 77.67 kB / 0.8949 GB, free: 4.254 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.235e-05/0.006988, allocations: 59.41 kB / 0.895 GB, free: 4.184 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000138/0.007126, allocations: 259.8 kB / 0.8952 GB, free: 3.91 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.782e-05/0.007144, allocations: 29.7 kB / 0.8952 GB, free: 3.875 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 7.265e-05/0.007216, allocations: 166.8 kB / 0.8954 GB, free: 3.707 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.467e-05/0.007241, allocations: 35.72 kB / 0.8954 GB, free: 3.672 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.516e-05/0.007276, allocations: 35.36 kB / 0.8955 GB, free: 3.629 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001313/0.007408, allocations: 0.5079 MB / 0.896 GB, free: 3.109 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.568e-05/0.007423, allocations: 4 kB / 0.896 GB, free: 3.105 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.024e-05/0.007493, allocations: 116.2 kB / 0.8961 GB, free: 2.941 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001173/0.007611, allocations: 156 kB / 0.8962 GB, free: 2.738 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.007613, allocations: 0 / 0.8962 GB, free: 2.738 MB / 0.8542 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001319/0.007745, allocations: 117.3 kB / 0.8963 GB, free: 2.617 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.122e-05/0.007756, allocations: 8 kB / 0.8963 GB, free: 2.609 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.007762, allocations: 0 / 0.8963 GB, free: 2.609 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.007778, allocations: 4 kB / 0.8964 GB, free: 2.605 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.698e-05/0.007845, allocations: 27.92 kB / 0.8964 GB, free: 2.578 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.007852, allocations: 4.375 kB / 0.8964 GB, free: 2.574 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.559e-05/0.007888, allocations: 19.89 kB / 0.8964 GB, free: 2.555 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.939e-06/0.007898, allocations: 8 kB / 0.8964 GB, free: 2.547 MB / 0.8542 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.435e-05/0.007982, allocations: 168.5 kB / 0.8966 GB, free: 2.371 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.268e-05/0.008015, allocations: 23.89 kB / 0.8966 GB, free: 2.348 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001383/0.008153, allocations: 89.12 kB / 0.8967 GB, free: 2.254 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.008155, allocations: 0 / 0.8967 GB, free: 2.254 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.793e-06/0.008157, allocations: 3.938 kB / 0.8967 GB, free: 2.25 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.008162, allocations: 4 kB / 0.8967 GB, free: 2.246 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001269/0.008289, allocations: 141.1 kB / 0.8968 GB, free: 2.082 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.008291, allocations: 0 / 0.8968 GB, free: 2.082 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.783e-05/0.008319, allocations: 23.92 kB / 0.8968 GB, free: 2.059 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.008321, allocations: 0 / 0.8968 GB, free: 2.059 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.223e-06/0.008328, allocations: 8 kB / 0.8968 GB, free: 2.051 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.71e-07/0.008329, allocations: 0 / 0.8968 GB, free: 2.051 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.008329, allocations: 0 / 0.8968 GB, free: 2.051 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000119/0.008448, allocations: 219.8 kB / 0.8971 GB, free: 1.816 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.338e-05/0.008462, allocations: 15.84 kB / 0.8971 GB, free: 1.801 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.158e-05/0.008473, allocations: 3.984 kB / 0.8971 GB, free: 1.797 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.044e-05/0.008564, allocations: 12 kB / 0.8971 GB, free: 1.785 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.431e-05/0.008578, allocations: 11.91 kB / 0.8971 GB, free: 1.773 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.29e-05/0.008591, allocations: 19.92 kB / 0.8971 GB, free: 1.754 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 6.592e-05/0.008657, allocations: 172.4 kB / 0.8973 GB, free: 1.586 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.008657, allocations: 0 / 0.8973 GB, free: 1.586 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001853/0.008842, allocations: 35.89 kB / 0.8973 GB, free: 1.551 MB / 0.8542 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.0001738/0.009016, allocations: 123 kB / 0.8974 GB, free: 1.426 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 8.786e-05/0.009104, allocations: 59.98 kB / 0.8975 GB, free: 1.363 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.009105, allocations: 0 / 0.8975 GB, free: 1.363 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.939e-05/0.009125, allocations: 23.67 kB / 0.8975 GB, free: 1.336 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002095/0.009334, allocations: 35.91 kB / 0.8976 GB, free: 1.301 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003432/0.009677, allocations: 259.5 kB / 0.8978 GB, free: 1.02 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.082e-05/0.009728, allocations: 79.33 kB / 0.8979 GB, free: 0.9219 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 5.68e-05/0.009785, allocations: 36.09 kB / 0.8979 GB, free: 0.8945 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001803/0.009965, allocations: 150 kB / 0.8981 GB, free: 0.7461 MB / 0.8542 GB Notification: Performance of SimCode: time 4.81e-07/0.009966, allocations: 0 / 0.8981 GB, free: 0.7461 MB / 0.8542 GB Notification: Performance of Templates: time 0.0043/0.01427, allocations: 2.714 MB / 0.9007 GB, free: 14.09 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.pipe ; mkfifo Buildings_latest_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.pipe >> ../files/Buildings_latest_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.sim & ./Buildings_latest_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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: 5.704070529900491]