Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings") translateModel(BuildingSystems.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001486/0.001486, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001333/0.001333, allocations: 188.9 kB / 16.14 MB, free: 6.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.475/1.475, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002564/0.002564, allocations: 280.1 kB / 290.2 MB, free: 2.227 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.095/1.095, allocations: 178.6 MB / 0.5068 GB, free: 4.754 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002769/0.002769, allocations: 94.36 kB / 0.6057 GB, free: 25.32 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1578/0.1606, allocations: 89.15 MB / 0.6928 GB, free: 4.793 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings): time 0.002835/0.1635, allocations: 1.543 MB / 0.6943 GB, free: 3.246 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001479/0.165, allocations: 1.087 MB / 0.6954 GB, free: 2.152 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.785e-05/0.165, allocations: 0 / 0.6954 GB, free: 2.152 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001548/0.1652, allocations: 19.92 kB / 0.6954 GB, free: 2.133 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000139/0.1654, allocations: 31.84 kB / 0.6954 GB, free: 2.102 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001721/0.1655, allocations: 54.92 kB / 0.6955 GB, free: 2.051 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001786/0.1657, allocations: 143.5 kB / 0.6956 GB, free: 1.91 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001468/0.1659, allocations: 65.08 kB / 0.6957 GB, free: 1.848 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.881e-05/0.166, allocations: 71.75 kB / 0.6957 GB, free: 1.777 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001995/0.1662, allocations: 63.69 kB / 0.6958 GB, free: 1.715 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.788e-05/0.1662, allocations: 8 kB / 0.6958 GB, free: 1.707 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.982e-05/0.1663, allocations: 16 kB / 0.6958 GB, free: 1.691 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.859e-05/0.1664, allocations: 51.81 kB / 0.6959 GB, free: 1.641 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 9.602e-05/0.1665, allocations: 75.52 kB / 0.6959 GB, free: 1.566 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000245/0.1668, allocations: 191.6 kB / 0.6961 GB, free: 1.379 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.1668, allocations: 0 / 0.6961 GB, free: 1.379 MB / 494.1 MB Notification: Performance of FrontEnd: time 7.61e-07/0.1668, allocations: 0 / 0.6961 GB, free: 1.379 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.454e-06/0.1668, allocations: 0 / 0.6961 GB, free: 1.379 MB / 494.1 MB 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.0007134/0.1675, allocations: 494.7 kB / 0.6966 GB, free: 0.8477 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.209e-05/0.1675, allocations: 8.031 kB / 0.6966 GB, free: 0.8398 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.099e-05/0.1676, allocations: 24.66 kB / 0.6966 GB, free: 0.8164 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003322/0.168, allocations: 256.3 kB / 0.6969 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001471/0.1681, allocations: 115.4 kB / 0.697 GB, free: 400 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.538e-05/0.1681, allocations: 8.359 kB / 0.697 GB, free: 392 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003528/0.1685, allocations: 165.6 kB / 0.6971 GB, free: 220 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.333e-06/0.1685, allocations: 0 / 0.6971 GB, free: 220 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.455e-05/0.1685, allocations: 4 kB / 0.6971 GB, free: 216 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.394e-05/0.1686, allocations: 11.98 kB / 0.6971 GB, free: 204 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.901e-05/0.1687, allocations: 43.97 kB / 0.6972 GB, free: 160 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001079/0.1697, allocations: 464.3 kB / 0.6976 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.826e-05/0.1698, allocations: 30.58 kB / 0.6977 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.632e-05/0.1699, allocations: 24.84 kB / 0.6977 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.535e-05/0.1699, allocations: 4 kB / 0.6977 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.031e-05/0.17, allocations: 38.55 kB / 0.6977 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 3.216e-06/0.17, allocations: 0 / 0.6977 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.0002772/0.1702, allocations: 117.5 kB / 0.6978 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.557e-05/0.1703, allocations: 51.41 kB / 0.6979 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002385/0.1705, allocations: 215.8 kB / 0.6981 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.81e-05/0.1706, allocations: 25.7 kB / 0.6981 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.651e-05/0.1707, allocations: 120 kB / 0.6982 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.013e-05/0.1707, allocations: 27.7 kB / 0.6983 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.556e-05/0.1708, allocations: 29.7 kB / 0.6983 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001499/0.1709, allocations: 326.8 kB / 0.6986 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.593e-05/0.171, allocations: 31.97 kB / 0.6986 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001166/0.1711, allocations: 102.2 kB / 0.6987 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001828/0.1713, allocations: 142.2 kB / 0.6989 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/0.1713, allocations: 4 kB / 0.6989 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002489/0.1716, allocations: 145.7 kB / 0.699 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/0.1716, allocations: 13.25 kB / 0.699 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.1716, allocations: 0 / 0.699 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.1716, allocations: 4 kB / 0.699 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001069/0.1717, allocations: 27.92 kB / 0.699 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.966e-06/0.1717, allocations: 7.938 kB / 0.6991 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.05e-05/0.1718, allocations: 11.84 kB / 0.6991 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.73e-05/0.1718, allocations: 12 kB / 0.6991 GB, free: 14.02 MB / 0.4981 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.0001338/0.172, allocations: 143.1 kB / 0.6992 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.93e-05/0.172, allocations: 19.81 kB / 0.6992 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002282/0.1723, allocations: 114.1 kB / 0.6993 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.1723, allocations: 0 / 0.6993 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.1723, allocations: 3.938 kB / 0.6993 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.1723, allocations: 0 / 0.6993 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002615/0.1726, allocations: 241.3 kB / 0.6996 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.1726, allocations: 3.984 kB / 0.6996 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.761e-05/0.1726, allocations: 15.94 kB / 0.6996 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.017e-06/0.1726, allocations: 4 kB / 0.6996 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.827e-06/0.1727, allocations: 7.984 kB / 0.6996 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.1727, allocations: 0 / 0.6996 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.1727, allocations: 3.938 kB / 0.6996 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002241/0.1729, allocations: 187.3 kB / 0.6998 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.936e-05/0.173, allocations: 88.91 kB / 0.6999 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.914e-05/0.173, allocations: 4 kB / 0.6999 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002493/0.1732, allocations: 15.98 kB / 0.6999 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.782e-05/0.1733, allocations: 15.92 kB / 0.6999 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.552e-05/0.1733, allocations: 11.98 kB / 0.6999 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001582/0.1735, allocations: 160.1 kB / 0.7001 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.61e-07/0.1735, allocations: 7.938 kB / 0.7001 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003019/0.1738, allocations: 27.94 kB / 0.7001 GB, free: 12.87 MB / 0.4981 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.0002545/0.1741, allocations: 135.2 kB / 0.7002 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001668/0.1742, allocations: 67.84 kB / 0.7003 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.1742, allocations: 0 / 0.7003 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.235e-05/0.1743, allocations: 27.97 kB / 0.7003 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003078/0.1746, allocations: 20.73 kB / 0.7003 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000545/0.1752, allocations: 332.7 kB / 0.7007 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003651/0.1755, allocations: 0.7317 MB / 0.7014 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001238/0.1757, allocations: 51.72 kB / 0.7014 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.331e-05/0.1757, allocations: 19.38 kB / 0.7014 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of SimCode: time 2.51e-07/0.1757, allocations: 0 / 0.7014 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of Templates: time 0.005382/0.1811, allocations: 2.341 MB / 0.7037 GB, free: 9.152 MB / 0.4981 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.sim & ./BuildingSystems_BuildingSystems.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.pipe 2>&1)