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.008785/0.008786, allocations: 97.06 kB / 15.73 MB, free: 6.004 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.002297/0.002297, allocations: 195.2 kB / 16.67 MB, free: 5.934 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.531/1.531, allocations: 222.9 MB / 240.4 MB, free: 15.11 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002483/0.002483, allocations: 291.4 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.216/1.216, allocations: 178.6 MB / 0.5074 GB, free: 12.64 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002763/0.002763, allocations: 95.83 kB / 0.6943 GB, free: 15.2 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4169/0.4197, allocations: 89.12 MB / 0.7813 GB, free: 1.172 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings): time 0.002221/0.422, allocations: 1.482 MB / 0.7828 GB, free: 16 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001502/0.4235, allocations: 1.112 MB / 0.7839 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.294e-05/0.4236, allocations: 1.438 kB / 0.7839 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001807/0.4238, allocations: 23.22 kB / 0.7839 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001672/0.4239, allocations: 33.42 kB / 0.7839 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000194/0.4241, allocations: 67.97 kB / 0.784 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001972/0.4243, allocations: 144.3 kB / 0.7841 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001735/0.4245, allocations: 73.8 kB / 0.7842 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 9.02e-05/0.4246, allocations: 76.98 kB / 0.7843 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000179/0.4248, allocations: 62.31 kB / 0.7843 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.683e-05/0.4248, allocations: 11.69 kB / 0.7843 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 7.443e-05/0.4249, allocations: 19.22 kB / 0.7843 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 8.291e-05/0.425, allocations: 55.41 kB / 0.7844 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 9.478e-05/0.4251, allocations: 74.52 kB / 0.7845 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002744/0.4254, allocations: 202.8 kB / 0.7847 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.4254, allocations: 0 / 0.7847 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.273e-06/0.4254, allocations: 0 / 0.7847 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.751e-06/0.4254, allocations: 4 kB / 0.7847 GB, free: 14.62 MB / 0.5606 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.0007333/0.4262, allocations: 497.7 kB / 0.7851 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.4262, allocations: 9.188 kB / 0.7851 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.787e-05/0.4263, allocations: 45.77 kB / 0.7852 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.156e-05/0.4264, allocations: 22.36 kB / 0.7852 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003339/0.4267, allocations: 253.9 kB / 0.7855 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001643/0.4269, allocations: 117.5 kB / 0.7856 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.188e-05/0.4269, allocations: 12.06 kB / 0.7856 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003858/0.4273, allocations: 165.9 kB / 0.7857 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.4273, allocations: 0 / 0.7857 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.2e-05/0.4273, allocations: 1.25 kB / 0.7857 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.544e-05/0.4274, allocations: 15.23 kB / 0.7858 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.585e-05/0.4275, allocations: 36.14 kB / 0.7858 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00117/0.4286, allocations: 466.3 kB / 0.7862 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 8.24e-05/0.4287, allocations: 30.42 kB / 0.7863 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.008e-05/0.4288, allocations: 23.5 kB / 0.7863 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.026e-05/0.4288, allocations: 2.625 kB / 0.7863 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.722e-05/0.4289, allocations: 39.94 kB / 0.7863 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 1.393e-06/0.4289, allocations: 3.938 kB / 0.7863 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.0003147/0.4292, allocations: 114.5 kB / 0.7864 GB, free: 13 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.484e-05/0.4293, allocations: 60.72 kB / 0.7865 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002778/0.4296, allocations: 207.9 kB / 0.7867 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.31e-05/0.4296, allocations: 30.86 kB / 0.7867 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001112/0.4297, allocations: 132.5 kB / 0.7868 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.208e-05/0.4298, allocations: 19.17 kB / 0.7869 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.273e-05/0.4298, allocations: 36.23 kB / 0.7869 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001719/0.43, allocations: 326.5 kB / 0.7872 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.121e-05/0.4301, allocations: 27.09 kB / 0.7872 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001363/0.4302, allocations: 98.95 kB / 0.7873 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001992/0.4304, allocations: 136.7 kB / 0.7875 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.4304, allocations: 1.156 kB / 0.7875 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002898/0.4307, allocations: 167 kB / 0.7876 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.836e-05/0.4308, allocations: 5.688 kB / 0.7876 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.4308, allocations: 2.375 kB / 0.7876 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/0.4308, allocations: 7.688 kB / 0.7876 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001042/0.4309, allocations: 23.16 kB / 0.7877 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.225e-05/0.4309, allocations: 11.39 kB / 0.7877 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.319e-05/0.431, allocations: 4.531 kB / 0.7877 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.531e-05/0.431, allocations: 7 kB / 0.7877 GB, free: 11.86 MB / 0.5606 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.0001367/0.4311, allocations: 157 kB / 0.7878 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.43e-05/0.4312, allocations: 15.25 kB / 0.7878 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002247/0.4314, allocations: 113.6 kB / 0.788 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.624e-06/0.4314, allocations: 1.031 kB / 0.788 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.4315, allocations: 5.031 kB / 0.788 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.4315, allocations: 3.984 kB / 0.788 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002685/0.4317, allocations: 233.6 kB / 0.7882 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.4318, allocations: 0 / 0.7882 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.383e-05/0.4318, allocations: 27.67 kB / 0.7882 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.4318, allocations: 1.25 kB / 0.7882 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.977e-06/0.4318, allocations: 1.062 kB / 0.7882 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.4318, allocations: 0 / 0.7882 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.169e-05/0.4319, allocations: 4.656 kB / 0.7882 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002139/0.4321, allocations: 184.8 kB / 0.7884 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.359e-05/0.4321, allocations: 89.42 kB / 0.7885 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.104e-05/0.4322, allocations: 5.266 kB / 0.7885 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000266/0.4324, allocations: 18.33 kB / 0.7885 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.058e-05/0.4325, allocations: 11.98 kB / 0.7885 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.737e-05/0.4325, allocations: 13.05 kB / 0.7885 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001606/0.4327, allocations: 159.1 kB / 0.7887 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.51e-07/0.4327, allocations: 0 / 0.7887 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003028/0.433, allocations: 35.17 kB / 0.7887 GB, free: 10.95 MB / 0.5606 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.0006479/0.4337, allocations: 0.7545 MB / 0.7894 GB, free: 10.24 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001753/0.4338, allocations: 73.28 kB / 0.7895 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.4338, allocations: 0 / 0.7895 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 4.639e-05/0.4339, allocations: 27.98 kB / 0.7895 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000301/0.4342, allocations: 25.28 kB / 0.7896 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002067/0.4363, allocations: 1.908 MB / 0.7914 GB, free: 8.496 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003844/0.4367, allocations: 0.732 MB / 0.7921 GB, free: 7.773 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001183/0.4368, allocations: 54.11 kB / 0.7922 GB, free: 7.766 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.994e-05/0.4369, allocations: 55.72 kB / 0.7923 GB, free: 7.719 MB / 0.5606 GB Notification: Performance of SimCode: time 3.6e-07/0.4369, allocations: 0 / 0.7923 GB, free: 7.719 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02876/0.4657, allocations: 4.271 MB / 0.7964 GB, free: 5.598 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.021/8.486, allocations: 6.797 kB / 0.7964 GB, free: 5.594 MB / 0.5606 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)