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.001549/0.001549, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001933/0.001933, allocations: 169 kB / 24.28 MB, free: 276 kB / 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.9282/0.9282, allocations: 177.1 MB / 204.6 MB, free: 5.613 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.749/1.749, allocations: 359 MB / 0.6055 GB, free: 10.98 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.674e-06/1.674e-06, allocations: 0 / 0.7871 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.603e-05/2.77e-05, allocations: 6.25 kB / 0.7871 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings): time 0.002173/0.0022, allocations: 1.536 MB / 0.7886 GB, free: 11.27 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001222/0.003422, allocations: 1.252 MB / 0.7898 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.002e-05/0.003482, allocations: 0 / 0.7898 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0002172/0.0037, allocations: 15.86 kB / 0.7898 GB, free: 10 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0002381/0.003938, allocations: 53.2 kB / 0.7899 GB, free: 9.949 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001458/0.004084, allocations: 58 kB / 0.7899 GB, free: 9.895 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001613/0.004245, allocations: 147.5 kB / 0.7901 GB, free: 9.75 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001497/0.004395, allocations: 37.22 kB / 0.7901 GB, free: 9.715 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001041/0.004499, allocations: 103.8 kB / 0.7902 GB, free: 9.613 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001163/0.004615, allocations: 46.41 kB / 0.7902 GB, free: 9.57 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.961e-05/0.004645, allocations: 12 kB / 0.7902 GB, free: 9.559 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 6.662e-05/0.004711, allocations: 26.12 kB / 0.7903 GB, free: 9.535 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 7.448e-05/0.004786, allocations: 55.8 kB / 0.7903 GB, free: 9.48 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 5.842e-05/0.004844, allocations: 47.83 kB / 0.7904 GB, free: 9.434 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002333/0.005077, allocations: 183.4 kB / 0.7905 GB, free: 9.254 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.005081, allocations: 0 / 0.7905 GB, free: 9.254 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.212e-06/0.005082, allocations: 1.562 kB / 0.7905 GB, free: 9.254 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.791e-06/0.005088, allocations: 0 / 0.7905 GB, free: 9.254 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.0005548/0.005642, allocations: 0.5113 MB / 0.791 GB, free: 8.707 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.447e-05/0.005687, allocations: 8.031 kB / 0.791 GB, free: 8.699 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.874e-05/0.005766, allocations: 25.8 kB / 0.7911 GB, free: 8.676 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002413/0.006007, allocations: 201 kB / 0.7913 GB, free: 8.449 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002121/0.006219, allocations: 218.7 kB / 0.7915 GB, free: 8.188 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.3e-05/0.006242, allocations: 13.56 kB / 0.7915 GB, free: 8.176 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002089/0.006451, allocations: 189 kB / 0.7917 GB, free: 7.961 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.006459, allocations: 4.125 kB / 0.7917 GB, free: 7.957 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.031e-05/0.006479, allocations: 14.42 kB / 0.7917 GB, free: 7.945 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.221e-05/0.006512, allocations: 8 kB / 0.7917 GB, free: 7.938 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.109e-05/0.006553, allocations: 19.92 kB / 0.7917 GB, free: 7.918 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005939/0.007147, allocations: 416.2 kB / 0.7921 GB, free: 7.477 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 5.391e-05/0.007201, allocations: 35.05 kB / 0.7921 GB, free: 7.43 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.842e-05/0.007229, allocations: 16.22 kB / 0.7922 GB, free: 7.41 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.343e-05/0.007252, allocations: 9.641 kB / 0.7922 GB, free: 7.402 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.453e-05/0.007277, allocations: 41.33 kB / 0.7922 GB, free: 7.352 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=8): time 1.132e-06/0.007278, allocations: 0 / 0.7922 GB, free: 7.352 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8): time 0.0002072/0.007485, allocations: 89.7 kB / 0.7923 GB, free: 7.258 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.901e-05/0.007514, allocations: 56.06 kB / 0.7923 GB, free: 7.191 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001735/0.007688, allocations: 270.8 kB / 0.7926 GB, free: 6.906 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.913e-05/0.007707, allocations: 26.83 kB / 0.7926 GB, free: 6.875 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.455e-05/0.007781, allocations: 170.8 kB / 0.7928 GB, free: 6.703 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.242e-05/0.007804, allocations: 31.73 kB / 0.7928 GB, free: 6.672 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.659e-05/0.00784, allocations: 32.53 kB / 0.7929 GB, free: 6.633 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001272/0.007968, allocations: 0.5117 MB / 0.7934 GB, free: 6.109 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.67e-05/0.007994, allocations: 8 kB / 0.7934 GB, free: 6.102 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.57e-05/0.00807, allocations: 117.6 kB / 0.7935 GB, free: 5.938 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001162/0.008186, allocations: 151.6 kB / 0.7936 GB, free: 5.742 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.008189, allocations: 0 / 0.7936 GB, free: 5.742 MB / 0.7448 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001547/0.008343, allocations: 128.3 kB / 0.7937 GB, free: 5.613 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.008358, allocations: 4 kB / 0.7937 GB, free: 5.609 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.008365, allocations: 5.531 kB / 0.7937 GB, free: 5.605 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.008379, allocations: 4 kB / 0.7938 GB, free: 5.602 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.232e-05/0.008462, allocations: 27.92 kB / 0.7938 GB, free: 5.574 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.684e-06/0.008469, allocations: 3.938 kB / 0.7938 GB, free: 5.57 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.977e-05/0.008509, allocations: 17.11 kB / 0.7938 GB, free: 5.555 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.347e-06/0.008519, allocations: 8 kB / 0.7938 GB, free: 5.547 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.972e-05/0.008608, allocations: 171.6 kB / 0.794 GB, free: 5.371 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.522e-05/0.008644, allocations: 15.91 kB / 0.794 GB, free: 5.355 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001497/0.008793, allocations: 101.9 kB / 0.7941 GB, free: 5.262 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.008795, allocations: 0 / 0.7941 GB, free: 5.262 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.0088, allocations: 4 kB / 0.7941 GB, free: 5.258 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.008803, allocations: 0 / 0.7941 GB, free: 5.258 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001437/0.008946, allocations: 180.4 kB / 0.7943 GB, free: 5.047 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.008948, allocations: 0 / 0.7943 GB, free: 5.047 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.42e-05/0.008982, allocations: 19.98 kB / 0.7943 GB, free: 5.027 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.008985, allocations: 0.5 kB / 0.7943 GB, free: 5.027 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.235e-06/0.008993, allocations: 5.938 kB / 0.7943 GB, free: 5.023 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.008994, allocations: 0 / 0.7943 GB, free: 5.023 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.008995, allocations: 0 / 0.7943 GB, free: 5.023 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001414/0.009137, allocations: 231.7 kB / 0.7945 GB, free: 4.777 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.559e-05/0.009152, allocations: 11.91 kB / 0.7945 GB, free: 4.766 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.351e-05/0.009166, allocations: 2.812 kB / 0.7945 GB, free: 4.766 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.92e-05/0.009265, allocations: 15.98 kB / 0.7945 GB, free: 4.75 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.773e-05/0.009283, allocations: 4 kB / 0.7945 GB, free: 4.746 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.674e-05/0.0093, allocations: 11.97 kB / 0.7945 GB, free: 4.734 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 9.214e-05/0.009392, allocations: 185.4 kB / 0.7947 GB, free: 4.555 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.009392, allocations: 0 / 0.7947 GB, free: 4.555 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002082/0.0096, allocations: 27.94 kB / 0.7948 GB, free: 4.527 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.0002343/0.009834, allocations: 127.7 kB / 0.7949 GB, free: 4.398 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001276/0.009962, allocations: 53.81 kB / 0.7949 GB, free: 4.344 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.009965, allocations: 5.125 kB / 0.7949 GB, free: 4.34 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.662e-05/0.009992, allocations: 31.61 kB / 0.795 GB, free: 4.305 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002473/0.01024, allocations: 32.84 kB / 0.795 GB, free: 4.273 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004021/0.01064, allocations: 267.3 kB / 0.7952 GB, free: 3.98 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.66e-05/0.01069, allocations: 75.84 kB / 0.7953 GB, free: 3.887 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 8.172e-05/0.01077, allocations: 49.5 kB / 0.7954 GB, free: 3.844 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.155e-05/0.0108, allocations: 16.5 kB / 0.7954 GB, free: 3.828 MB / 0.7448 GB Notification: Performance of SimCode: time 7.31e-07/0.0108, allocations: 0 / 0.7954 GB, free: 3.828 MB / 0.7448 GB Notification: Performance of Templates: time 0.004312/0.01511, allocations: 2.485 MB / 0.7978 GB, free: 1.402 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: 5.112465734127909]