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.001153/0.001153, allocations: 108 kB / 15.6 MB, free: 132 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.001223/0.001223, allocations: 193.4 kB / 16.53 MB, free: 6.391 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.406/1.406, 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.002545/0.002545, allocations: 283.1 kB / 290.7 MB, free: 1.992 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.033/1.033, allocations: 178.6 MB / 0.5073 GB, free: 4.574 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002717/0.002718, allocations: 95.62 kB / 0.6065 GB, free: 24.59 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1513/0.154, allocations: 89.14 MB / 0.6936 GB, free: 4.223 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings): time 0.002801/0.1568, allocations: 1.476 MB / 0.695 GB, free: 2.746 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001612/0.1585, allocations: 1.107 MB / 0.6961 GB, free: 1.633 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.24e-05/0.1586, allocations: 5 kB / 0.6961 GB, free: 1.629 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001755/0.1587, allocations: 23.86 kB / 0.6962 GB, free: 1.605 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001632/0.1589, allocations: 36.78 kB / 0.6962 GB, free: 1.57 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001899/0.1591, allocations: 61.25 kB / 0.6962 GB, free: 1.516 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001913/0.1593, allocations: 147.6 kB / 0.6964 GB, free: 1.371 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001579/0.1595, allocations: 58.89 kB / 0.6964 GB, free: 1.316 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.228e-05/0.1596, allocations: 79.7 kB / 0.6965 GB, free: 1.238 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002128/0.1598, allocations: 64.81 kB / 0.6966 GB, free: 1.176 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.978e-05/0.1598, allocations: 16 kB / 0.6966 GB, free: 1.16 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.263e-05/0.1599, allocations: 24 kB / 0.6966 GB, free: 1.137 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.923e-05/0.16, allocations: 51.88 kB / 0.6967 GB, free: 1.086 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.899e-05/0.1601, allocations: 75.58 kB / 0.6967 GB, free: 1.012 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002595/0.1604, allocations: 199.4 kB / 0.6969 GB, free: 0.8164 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.1604, allocations: 4 kB / 0.6969 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1604, allocations: 7.875 kB / 0.6969 GB, free: 0.8047 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.771e-06/0.1604, allocations: 0 / 0.6969 GB, free: 0.8047 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.0007081/0.1611, allocations: 494.6 kB / 0.6974 GB, free: 280 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.1612, allocations: 12.03 kB / 0.6974 GB, free: 268 kB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.797e-05/0.1612, allocations: 46.72 kB / 0.6975 GB, free: 212 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.767e-05/0.1613, allocations: 20.66 kB / 0.6975 GB, free: 192 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003332/0.1616, allocations: 248.4 kB / 0.6977 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001554/0.1618, allocations: 119.4 kB / 0.6978 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.544e-05/0.1618, allocations: 4.375 kB / 0.6978 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003665/0.1622, allocations: 169.4 kB / 0.698 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.765e-06/0.1622, allocations: 4 kB / 0.698 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.085e-05/0.1623, allocations: 0 / 0.698 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.493e-05/0.1623, allocations: 8 kB / 0.698 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.644e-05/0.1624, allocations: 43.97 kB / 0.6981 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001068/0.1634, allocations: 460.3 kB / 0.6985 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.637e-05/0.1635, allocations: 38.56 kB / 0.6985 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.332e-05/0.1636, allocations: 24.84 kB / 0.6986 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.233e-05/0.1636, allocations: 4.141 kB / 0.6986 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.081e-05/0.1637, allocations: 42.55 kB / 0.6986 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.292e-06/0.1637, allocations: 0 / 0.6986 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.0002643/0.1639, allocations: 109.4 kB / 0.6987 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.496e-05/0.164, allocations: 55.34 kB / 0.6988 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002154/0.1642, allocations: 208.8 kB / 0.699 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.814e-05/0.1642, allocations: 25.7 kB / 0.699 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.267e-05/0.1643, allocations: 124.2 kB / 0.6991 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.831e-05/0.1644, allocations: 27.56 kB / 0.6991 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.509e-05/0.1644, allocations: 37.7 kB / 0.6992 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001327/0.1646, allocations: 326.8 kB / 0.6995 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.334e-05/0.1646, allocations: 27.98 kB / 0.6995 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001092/0.1647, allocations: 102.2 kB / 0.6996 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001696/0.1649, allocations: 134.2 kB / 0.6997 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.1649, allocations: 4 kB / 0.6997 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002462/0.1652, allocations: 157.2 kB / 0.6999 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.1652, allocations: 8 kB / 0.6999 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.1652, allocations: 3.984 kB / 0.6999 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.1652, allocations: 4 kB / 0.6999 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001018/0.1653, allocations: 23.94 kB / 0.6999 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.122e-05/0.1653, allocations: 11.92 kB / 0.6999 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.209e-05/0.1654, allocations: 12.31 kB / 0.6999 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.154e-05/0.1654, allocations: 8 kB / 0.6999 GB, free: 13.39 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.0001253/0.1656, allocations: 150.2 kB / 0.7001 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.811e-05/0.1656, allocations: 19.81 kB / 0.7001 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002184/0.1659, allocations: 118.3 kB / 0.7002 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.1659, allocations: 0 / 0.7002 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.1659, allocations: 3.938 kB / 0.7002 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.1659, allocations: 3.984 kB / 0.7002 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002525/0.1661, allocations: 225.6 kB / 0.7004 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.1662, allocations: 4 kB / 0.7005 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.014e-05/0.1662, allocations: 19.92 kB / 0.7005 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.1662, allocations: 0 / 0.7005 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.128e-05/0.1662, allocations: 8 kB / 0.7005 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.1662, allocations: 0 / 0.7005 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/0.1662, allocations: 3.938 kB / 0.7005 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002095/0.1665, allocations: 183.3 kB / 0.7007 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.538e-05/0.1665, allocations: 92.86 kB / 0.7007 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.135e-05/0.1666, allocations: 8 kB / 0.7008 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002425/0.1668, allocations: 19.97 kB / 0.7008 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.987e-05/0.1668, allocations: 11.92 kB / 0.7008 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.169e-05/0.1669, allocations: 11.98 kB / 0.7008 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001451/0.167, allocations: 160.5 kB / 0.7009 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.167, allocations: 0 / 0.7009 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002946/0.1673, allocations: 31.94 kB / 0.701 GB, free: 12.25 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.0006207/0.1679, allocations: 0.7568 MB / 0.7017 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001656/0.1681, allocations: 75.84 kB / 0.7018 GB, free: 11.4 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.1681, allocations: 4 kB / 0.7018 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.363e-05/0.1682, allocations: 27.92 kB / 0.7018 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002867/0.1685, allocations: 23.92 kB / 0.7018 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001951/0.1704, allocations: 1.907 MB / 0.7037 GB, free: 9.285 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003466/0.1708, allocations: 0.7393 MB / 0.7044 GB, free: 8.52 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001183/0.1709, allocations: 59.89 kB / 0.7045 GB, free: 8.469 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.347e-05/0.171, allocations: 47.42 kB / 0.7045 GB, free: 8.426 MB / 0.4981 GB Notification: Performance of SimCode: time 2.5e-07/0.171, allocations: 0 / 0.7045 GB, free: 8.426 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8249/0.9959, allocations: 4.219 MB / 0.7086 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.187/10.18, allocations: 10.39 kB / 0.7087 GB, free: 4.375 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_IO_Files_Validation_WeeklyScheduleWindowsLineEndings_fmu --startTime=-10000 --stopTime=1e+06 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_IO_Files_Validation_WeeklyScheduleWindowsLineEndings.fmu > BuildingSystems_BuildingSystems.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.pipe 2>&1)