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.001425/0.001425, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001366/0.001366, allocations: 192.3 kB / 16.25 MB, free: 6.621 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.272/1.272, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002366/0.002366, allocations: 290.7 kB / 290.4 MB, free: 2.133 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9917/0.9917, allocations: 178.6 MB / 0.507 GB, free: 4.738 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002588/0.002588, allocations: 99.03 kB / 0.606 GB, free: 25.03 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1327/0.1353, allocations: 89.16 MB / 0.6931 GB, free: 4.602 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings): time 0.002543/0.1378, allocations: 1.531 MB / 0.6946 GB, free: 3.066 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001292/0.1391, allocations: 1.085 MB / 0.6956 GB, free: 1.977 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.097e-05/0.1392, allocations: 0 / 0.6956 GB, free: 1.977 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001453/0.1393, allocations: 11.92 kB / 0.6957 GB, free: 1.965 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001457/0.1395, allocations: 35.84 kB / 0.6957 GB, free: 1.93 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001773/0.1397, allocations: 60.39 kB / 0.6958 GB, free: 1.871 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001682/0.1399, allocations: 147.6 kB / 0.6959 GB, free: 1.727 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001393/0.14, allocations: 65.34 kB / 0.696 GB, free: 1.664 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.749e-05/0.1401, allocations: 79.7 kB / 0.696 GB, free: 1.586 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001918/0.1403, allocations: 71.69 kB / 0.6961 GB, free: 1.516 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.139e-05/0.1404, allocations: 12 kB / 0.6961 GB, free: 1.504 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.211e-05/0.1404, allocations: 24 kB / 0.6961 GB, free: 1.48 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.251e-05/0.1405, allocations: 47.88 kB / 0.6962 GB, free: 1.434 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.348e-05/0.1406, allocations: 79.52 kB / 0.6963 GB, free: 1.355 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002211/0.1408, allocations: 195.4 kB / 0.6964 GB, free: 1.164 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.1408, allocations: 3.938 kB / 0.6964 GB, free: 1.16 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1408, allocations: 0 / 0.6964 GB, free: 1.16 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.088e-06/0.1408, allocations: 0 / 0.6964 GB, free: 1.16 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.0006704/0.1415, allocations: 0.4926 MB / 0.6969 GB, free: 0.6211 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.11e-05/0.1416, allocations: 8.031 kB / 0.6969 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.877e-05/0.1416, allocations: 42.73 kB / 0.697 GB, free: 0.5625 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.401e-05/0.1417, allocations: 24.66 kB / 0.697 GB, free: 0.5391 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002716/0.142, allocations: 252.4 kB / 0.6972 GB, free: 260 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001324/0.1421, allocations: 119.4 kB / 0.6974 GB, free: 116 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.401e-05/0.1421, allocations: 8.375 kB / 0.6974 GB, free: 108 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003278/0.1425, allocations: 165.4 kB / 0.6975 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.352e-06/0.1425, allocations: 0 / 0.6975 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.858e-05/0.1425, allocations: 0 / 0.6975 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.455e-05/0.1425, allocations: 15.98 kB / 0.6975 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.965e-05/0.1426, allocations: 39.97 kB / 0.6976 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009344/0.1435, allocations: 464.3 kB / 0.698 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 6.471e-05/0.1436, allocations: 34.56 kB / 0.698 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.646e-05/0.1437, allocations: 16.86 kB / 0.6981 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.661e-05/0.1437, allocations: 16.14 kB / 0.6981 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.62e-05/0.1437, allocations: 38.48 kB / 0.6981 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.072e-06/0.1437, allocations: 0 / 0.6981 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.0002363/0.144, allocations: 101.7 kB / 0.6982 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.074e-05/0.144, allocations: 59.34 kB / 0.6983 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001995/0.1442, allocations: 211.8 kB / 0.6985 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.691e-05/0.1443, allocations: 25.7 kB / 0.6985 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.378e-05/0.1443, allocations: 120.2 kB / 0.6986 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.114e-05/0.1444, allocations: 35.55 kB / 0.6986 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.746e-05/0.1444, allocations: 25.66 kB / 0.6987 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001308/0.1446, allocations: 334.8 kB / 0.699 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.651e-05/0.1446, allocations: 19.98 kB / 0.699 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001054/0.1447, allocations: 110.2 kB / 0.6991 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001701/0.1449, allocations: 138.2 kB / 0.6992 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.1449, allocations: 0 / 0.6992 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002322/0.1451, allocations: 157.2 kB / 0.6994 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.121e-05/0.1452, allocations: 5.562 kB / 0.6994 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.1452, allocations: 4.078 kB / 0.6994 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.127e-05/0.1452, allocations: 4 kB / 0.6994 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.162e-05/0.1453, allocations: 27.92 kB / 0.6994 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.286e-06/0.1453, allocations: 7.922 kB / 0.6994 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.054e-05/0.1454, allocations: 12.31 kB / 0.6995 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.409e-05/0.1454, allocations: 12 kB / 0.6995 GB, free: 13.74 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.0001171/0.1455, allocations: 143.1 kB / 0.6996 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.427e-05/0.1456, allocations: 15.81 kB / 0.6996 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002067/0.1458, allocations: 125.5 kB / 0.6997 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.99e-06/0.1458, allocations: 4 kB / 0.6997 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.1458, allocations: 7.875 kB / 0.6997 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.1458, allocations: 0 / 0.6997 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002417/0.1461, allocations: 233.6 kB / 0.7 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.1461, allocations: 4 kB / 0.7 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.406e-05/0.1461, allocations: 12 kB / 0.7 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.482e-06/0.1461, allocations: 0 / 0.7 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.442e-06/0.1461, allocations: 0 / 0.7 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.293e-06/0.1461, allocations: 7.984 kB / 0.7 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.1462, allocations: 3.938 kB / 0.7 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001892/0.1464, allocations: 191.3 kB / 0.7002 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.317e-05/0.1464, allocations: 92.92 kB / 0.7003 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.675e-05/0.1464, allocations: 0 / 0.7003 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002414/0.1467, allocations: 19.97 kB / 0.7003 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.201e-05/0.1467, allocations: 19.86 kB / 0.7003 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.19e-05/0.1467, allocations: 7.984 kB / 0.7003 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000141/0.1469, allocations: 164.1 kB / 0.7005 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1469, allocations: 0 / 0.7005 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002804/0.1472, allocations: 27.94 kB / 0.7005 GB, free: 12.59 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.0005671/0.1477, allocations: 0.7509 MB / 0.7012 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000161/0.1479, allocations: 83.83 kB / 0.7013 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1479, allocations: 0 / 0.7013 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.086e-05/0.148, allocations: 27.92 kB / 0.7013 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002742/0.1483, allocations: 20.81 kB / 0.7014 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001853/0.1501, allocations: 1.945 MB / 0.7033 GB, free: 9.594 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003125/0.1504, allocations: 0.7355 MB / 0.704 GB, free: 8.832 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001124/0.1506, allocations: 52.11 kB / 0.704 GB, free: 8.789 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.833e-05/0.1506, allocations: 47.41 kB / 0.7041 GB, free: 8.746 MB / 0.4981 GB Notification: Performance of SimCode: time 2.41e-07/0.1506, allocations: 0 / 0.7041 GB, free: 8.746 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8987/1.049, allocations: 4.146 MB / 0.7081 GB, free: 4.832 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003052/1.05, allocations: 244.2 kB / 0.7083 GB, free: 4.574 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.868/2.918, allocations: 4 kB / 0.7084 GB, free: 4.57 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)