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: "" <> buildModelFMU(BuildingSystems.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_IO_Files_Validation_WeeklyScheduleWindowsLineEndings",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_IO_Files_Validation_WeeklyScheduleWindowsLineEndings",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001844/0.001844, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002139/0.002139, allocations: 195.7 kB / 16.53 MB, free: 6.664 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.35/1.35, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002376/0.002376, allocations: 294.8 kB / 290.7 MB, free: 1.988 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.026/1.026, allocations: 178.6 MB / 0.5073 GB, free: 4.59 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00263/0.00263, allocations: 101.2 kB / 0.6066 GB, free: 24.62 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1565/0.1592, allocations: 89.14 MB / 0.6936 GB, free: 4.242 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings): time 0.002758/0.162, allocations: 1.482 MB / 0.695 GB, free: 2.762 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001475/0.1635, allocations: 1.106 MB / 0.6961 GB, free: 1.648 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.901e-05/0.1635, allocations: 3.531 kB / 0.6961 GB, free: 1.648 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001644/0.1637, allocations: 19.86 kB / 0.6962 GB, free: 1.629 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001596/0.1639, allocations: 35.78 kB / 0.6962 GB, free: 1.594 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001832/0.1641, allocations: 63.22 kB / 0.6962 GB, free: 1.535 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001815/0.1643, allocations: 151.5 kB / 0.6964 GB, free: 1.387 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001525/0.1644, allocations: 56.41 kB / 0.6964 GB, free: 1.336 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.846e-05/0.1645, allocations: 87.75 kB / 0.6965 GB, free: 1.25 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002014/0.1647, allocations: 55.7 kB / 0.6966 GB, free: 1.195 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.641e-05/0.1648, allocations: 15.94 kB / 0.6966 GB, free: 1.18 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.587e-05/0.1649, allocations: 31.97 kB / 0.6966 GB, free: 1.148 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.449e-05/0.1649, allocations: 55.83 kB / 0.6967 GB, free: 1.094 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 9.39e-05/0.165, allocations: 67.58 kB / 0.6967 GB, free: 1.027 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002513/0.1653, allocations: 203.4 kB / 0.6969 GB, free: 0.8281 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.1653, allocations: 3.938 kB / 0.6969 GB, free: 0.8242 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1653, allocations: 0 / 0.6969 GB, free: 0.8242 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.638e-06/0.1653, allocations: 4 kB / 0.6969 GB, free: 0.8203 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.0007445/0.1661, allocations: 494.6 kB / 0.6974 GB, free: 296 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.1661, allocations: 12.03 kB / 0.6974 GB, free: 284 kB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.663e-05/0.1662, allocations: 38.75 kB / 0.6975 GB, free: 236 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.554e-05/0.1663, allocations: 20.66 kB / 0.6975 GB, free: 216 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000338/0.1666, allocations: 256.3 kB / 0.6977 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001515/0.1668, allocations: 123.3 kB / 0.6978 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.466e-05/0.1668, allocations: 8.375 kB / 0.6979 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000336/0.1671, allocations: 161.5 kB / 0.698 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.1672, allocations: 0 / 0.698 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.864e-05/0.1672, allocations: 3.984 kB / 0.698 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.593e-05/0.1672, allocations: 8 kB / 0.698 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.416e-05/0.1673, allocations: 43.97 kB / 0.6981 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00105/0.1684, allocations: 464.3 kB / 0.6985 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.289e-05/0.1685, allocations: 38.55 kB / 0.6985 GB, free: 15 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.98e-05/0.1685, allocations: 24.84 kB / 0.6986 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.854e-05/0.1686, allocations: 7.938 kB / 0.6986 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.825e-05/0.1686, allocations: 38.56 kB / 0.6986 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.172e-06/0.1686, allocations: 0 / 0.6986 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.0002615/0.1689, allocations: 97.48 kB / 0.6987 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.217e-05/0.1689, allocations: 55.34 kB / 0.6988 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002211/0.1691, allocations: 211.8 kB / 0.699 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.875e-05/0.1692, allocations: 29.7 kB / 0.699 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.709e-05/0.1693, allocations: 120.3 kB / 0.6991 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.163e-05/0.1693, allocations: 35.53 kB / 0.6991 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.232e-05/0.1694, allocations: 37.64 kB / 0.6992 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001411/0.1695, allocations: 326.8 kB / 0.6995 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.283e-05/0.1696, allocations: 23.98 kB / 0.6995 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00011/0.1697, allocations: 110.2 kB / 0.6996 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001735/0.1699, allocations: 130.2 kB / 0.6997 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-06/0.1699, allocations: 4 kB / 0.6997 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002466/0.1701, allocations: 157.1 kB / 0.6999 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.1702, allocations: 4 kB / 0.6999 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.1702, allocations: 7.938 kB / 0.6999 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.1702, allocations: 4 kB / 0.6999 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001003/0.1703, allocations: 27.98 kB / 0.6999 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.13e-05/0.1703, allocations: 8.625 kB / 0.6999 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.952e-05/0.1704, allocations: 15.88 kB / 0.7 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.252e-05/0.1704, allocations: 4 kB / 0.7 GB, free: 13.41 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.0001308/0.1705, allocations: 147.7 kB / 0.7001 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.295e-05/0.1706, allocations: 11.81 kB / 0.7001 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002214/0.1708, allocations: 129.9 kB / 0.7002 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.1708, allocations: 0 / 0.7002 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/0.1708, allocations: 3.938 kB / 0.7002 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.554e-06/0.1708, allocations: 4 kB / 0.7002 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002528/0.1711, allocations: 233.5 kB / 0.7005 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.1711, allocations: 0 / 0.7005 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.951e-05/0.1712, allocations: 15.98 kB / 0.7005 GB, free: 12.81 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.1712, allocations: 0 / 0.7005 GB, free: 12.81 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.557e-05/0.1712, allocations: 4 kB / 0.7005 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.1712, allocations: 0 / 0.7005 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.107e-06/0.1712, allocations: 3.938 kB / 0.7005 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002054/0.1714, allocations: 191.2 kB / 0.7007 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.477e-05/0.1715, allocations: 92.92 kB / 0.7008 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.794e-05/0.1715, allocations: 0 / 0.7008 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002475/0.1718, allocations: 19.97 kB / 0.7008 GB, free: 12.47 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.784e-05/0.1718, allocations: 7.938 kB / 0.7008 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.495e-05/0.1718, allocations: 15.98 kB / 0.7008 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001478/0.172, allocations: 156.1 kB / 0.7009 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.172, allocations: 0 / 0.7009 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002927/0.1723, allocations: 35.92 kB / 0.701 GB, free: 12.26 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.0006004/0.1729, allocations: 0.741 MB / 0.7017 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001725/0.1731, allocations: 79.77 kB / 0.7018 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1731, allocations: 0 / 0.7018 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.268e-05/0.1731, allocations: 27.98 kB / 0.7018 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002949/0.1734, allocations: 27 kB / 0.7018 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001959/0.1754, allocations: 1.917 MB / 0.7037 GB, free: 9.297 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003426/0.1757, allocations: 0.7393 MB / 0.7044 GB, free: 8.531 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001143/0.1759, allocations: 55.97 kB / 0.7045 GB, free: 8.484 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.758e-05/0.1759, allocations: 43.42 kB / 0.7045 GB, free: 8.445 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.1759, allocations: 0 / 0.7045 GB, free: 8.445 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02938/0.2053, allocations: 4.228 MB / 0.7087 GB, free: 4.402 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.513/7.718, allocations: 12.05 kB / 0.7087 GB, free: 4.391 MB / 0.4981 GB (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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings_res.csv --start-time -10000 --stop-time 1e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 404 BuildingSystems_BuildingSystems_Utilities_IO_Files_Validation_WeeklyScheduleWindowsLineEndings.fmu > BuildingSystems_BuildingSystems.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.pipe 2>&1)