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.005644/0.005644, allocations: 99.33 kB / 15.73 MB, free: 6.5 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.00158/0.00158, allocations: 191.9 kB / 16.67 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.374/1.374, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002425/0.002425, allocations: 275.2 kB / 290.8 MB, free: 1.922 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.093/1.093, allocations: 178.6 MB / 0.5074 GB, free: 4.504 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002688/0.002688, allocations: 91.86 kB / 0.6943 GB, free: 3.648 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5028/0.5055, allocations: 89.14 MB / 0.7813 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings): time 0.002791/0.5083, allocations: 1.488 MB / 0.7828 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001529/0.5099, allocations: 1.109 MB / 0.7839 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.283e-05/0.51, allocations: 5.375 kB / 0.7839 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001734/0.5101, allocations: 21.53 kB / 0.7839 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001714/0.5103, allocations: 39.23 kB / 0.7839 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002107/0.5106, allocations: 59.02 kB / 0.784 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002122/0.5108, allocations: 144.9 kB / 0.7841 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001585/0.5109, allocations: 64.42 kB / 0.7842 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 9.993e-05/0.511, allocations: 83.14 kB / 0.7842 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001846/0.5112, allocations: 56.14 kB / 0.7843 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.14e-05/0.5113, allocations: 10.78 kB / 0.7843 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 7.902e-05/0.5114, allocations: 25.31 kB / 0.7843 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 8.569e-05/0.5115, allocations: 49.72 kB / 0.7844 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 9.688e-05/0.5116, allocations: 75.47 kB / 0.7845 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002856/0.5119, allocations: 204.6 kB / 0.7847 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.5119, allocations: 0 / 0.7847 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.193e-06/0.5119, allocations: 7.938 kB / 0.7847 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.43e-06/0.5119, allocations: 0 / 0.7847 GB, free: 11.54 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.0007176/0.5126, allocations: 0.491 MB / 0.7851 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.433e-05/0.5126, allocations: 10.06 kB / 0.7851 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.445e-05/0.5127, allocations: 40.94 kB / 0.7852 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.151e-05/0.5128, allocations: 20.12 kB / 0.7852 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003029/0.5131, allocations: 257.3 kB / 0.7855 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001572/0.5133, allocations: 128.5 kB / 0.7856 GB, free: 10.67 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.533e-05/0.5133, allocations: 7.828 kB / 0.7856 GB, free: 10.67 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003409/0.5136, allocations: 157.8 kB / 0.7857 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.5136, allocations: 0 / 0.7857 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.449e-05/0.5137, allocations: 9.141 kB / 0.7857 GB, free: 10.6 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.44e-05/0.5137, allocations: 8.656 kB / 0.7857 GB, free: 10.6 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.254e-05/0.5138, allocations: 40 kB / 0.7858 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00102/0.5148, allocations: 463.2 kB / 0.7862 GB, free: 10.26 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 7.324e-05/0.5149, allocations: 33.55 kB / 0.7863 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.474e-05/0.5149, allocations: 26.5 kB / 0.7863 GB, free: 10.22 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.004e-05/0.515, allocations: 4.016 kB / 0.7863 GB, free: 10.22 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.928e-05/0.515, allocations: 40.58 kB / 0.7863 GB, free: 10.17 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 1.082e-06/0.515, allocations: 0 / 0.7863 GB, free: 10.17 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.0002747/0.5153, allocations: 110.9 kB / 0.7864 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.048e-05/0.5154, allocations: 57 kB / 0.7865 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002179/0.5156, allocations: 209.4 kB / 0.7867 GB, free: 9.91 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.928e-05/0.5156, allocations: 27.14 kB / 0.7867 GB, free: 9.879 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.364e-05/0.5157, allocations: 129 kB / 0.7868 GB, free: 9.762 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.706e-05/0.5158, allocations: 29.56 kB / 0.7869 GB, free: 9.738 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.198e-05/0.5158, allocations: 31.73 kB / 0.7869 GB, free: 9.715 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001414/0.516, allocations: 327.6 kB / 0.7872 GB, free: 9.395 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.905e-05/0.516, allocations: 29.31 kB / 0.7872 GB, free: 9.387 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001213/0.5161, allocations: 102.3 kB / 0.7873 GB, free: 9.277 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001748/0.5163, allocations: 136 kB / 0.7875 GB, free: 9.152 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.5163, allocations: 1.125 kB / 0.7875 GB, free: 9.152 MB / 0.5606 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002506/0.5166, allocations: 155.5 kB / 0.7876 GB, free: 9.074 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.5166, allocations: 7.688 kB / 0.7876 GB, free: 9.074 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.5166, allocations: 7.438 kB / 0.7876 GB, free: 9.07 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.5166, allocations: 3.344 kB / 0.7876 GB, free: 9.07 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.446e-05/0.5167, allocations: 22.91 kB / 0.7877 GB, free: 9.07 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.071e-05/0.5168, allocations: 7.969 kB / 0.7877 GB, free: 9.066 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.367e-05/0.5168, allocations: 12.36 kB / 0.7877 GB, free: 9.059 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.509e-05/0.5169, allocations: 11.45 kB / 0.7877 GB, free: 9.055 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.0001287/0.517, allocations: 148.2 kB / 0.7878 GB, free: 8.926 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.403e-05/0.517, allocations: 15.44 kB / 0.7878 GB, free: 8.918 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002202/0.5173, allocations: 119.2 kB / 0.788 GB, free: 8.855 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.5173, allocations: 1.641 kB / 0.788 GB, free: 8.855 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.5173, allocations: 5.531 kB / 0.788 GB, free: 8.852 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/0.5173, allocations: 0.75 kB / 0.788 GB, free: 8.852 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002768/0.5176, allocations: 235.8 kB / 0.7882 GB, free: 8.633 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.5176, allocations: 0.7031 kB / 0.7882 GB, free: 8.633 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.667e-05/0.5176, allocations: 17.78 kB / 0.7882 GB, free: 8.629 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.5177, allocations: 1.562 kB / 0.7882 GB, free: 8.629 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.804e-06/0.5177, allocations: 2.094 kB / 0.7882 GB, free: 8.629 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.5177, allocations: 0 / 0.7882 GB, free: 8.629 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.356e-06/0.5177, allocations: 7.938 kB / 0.7882 GB, free: 8.621 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002049/0.5179, allocations: 194.2 kB / 0.7884 GB, free: 8.461 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.118e-05/0.518, allocations: 92.66 kB / 0.7885 GB, free: 8.355 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.898e-05/0.518, allocations: 1.812 kB / 0.7885 GB, free: 8.355 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002464/0.5182, allocations: 26.14 kB / 0.7885 GB, free: 8.348 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.003e-05/0.5183, allocations: 9.547 kB / 0.7885 GB, free: 8.344 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.399e-05/0.5183, allocations: 10.02 kB / 0.7885 GB, free: 8.344 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001705/0.5185, allocations: 163 kB / 0.7887 GB, free: 8.242 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5185, allocations: 0 / 0.7887 GB, free: 8.242 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000289/0.5188, allocations: 28.48 kB / 0.7887 GB, free: 8.238 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.0006446/0.5194, allocations: 0.7568 MB / 0.7895 GB, free: 7.531 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00018/0.5196, allocations: 74.67 kB / 0.7895 GB, free: 7.508 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.5196, allocations: 0 / 0.7895 GB, free: 7.508 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 4.419e-05/0.5197, allocations: 28.41 kB / 0.7896 GB, free: 7.5 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002914/0.52, allocations: 17.78 kB / 0.7896 GB, free: 7.492 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002212/0.5222, allocations: 1.918 MB / 0.7914 GB, free: 5.922 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004138/0.5226, allocations: 0.7301 MB / 0.7922 GB, free: 5.223 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001572/0.5228, allocations: 53 kB / 0.7922 GB, free: 5.223 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.3e-05/0.5229, allocations: 46.25 kB / 0.7923 GB, free: 5.191 MB / 0.5606 GB Notification: Performance of SimCode: time 2.71e-07/0.5229, allocations: 0.5 kB / 0.7923 GB, free: 5.191 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2937/0.8166, allocations: 4.281 MB / 0.7964 GB, free: 4.086 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.323/9.139, allocations: 5.797 kB / 0.7964 GB, free: 4.082 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 & /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)