Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.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/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.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(Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings,fileNamePrefix="Buildings_latest_Buildings_Utilities_IO_Files_Validation_WeeklyScheduleWindowsLineEndings",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings,fileNamePrefix="Buildings_latest_Buildings_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.002278/0.002279, allocations: 103.4 kB / 15.34 MB, free: 0.5039 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.002912/0.002912, allocations: 191.9 kB / 16.25 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.722/2.722, allocations: 222.9 MB / 239.9 MB, free: 4.574 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 4.992/4.992, allocations: 461.9 MB / 0.7344 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002447/0.002447, allocations: 66.14 kB / 0.8987 GB, free: 37.13 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5141/0.5166, allocations: 157.4 MB / 1.052 GB, free: 8.664 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings): time 0.005253/0.5219, allocations: 1.544 MB / 1.054 GB, free: 7.105 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002439/0.5244, allocations: 1.097 MB / 1.055 GB, free: 6 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.044e-05/0.5245, allocations: 0 / 1.055 GB, free: 6 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.000284/0.5249, allocations: 11.94 kB / 1.055 GB, free: 5.988 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.000294/0.5252, allocations: 31.84 kB / 1.055 GB, free: 5.957 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000333/0.5255, allocations: 59.91 kB / 1.055 GB, free: 5.898 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003192/0.5259, allocations: 151.5 kB / 1.055 GB, free: 5.75 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002409/0.5261, allocations: 65.09 kB / 1.055 GB, free: 5.688 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001728/0.5263, allocations: 79.75 kB / 1.055 GB, free: 5.609 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003041/0.5266, allocations: 67.64 kB / 1.055 GB, free: 5.543 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 7.141e-05/0.5267, allocations: 12 kB / 1.055 GB, free: 5.531 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001226/0.5269, allocations: 31.92 kB / 1.055 GB, free: 5.5 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001154/0.527, allocations: 43.89 kB / 1.056 GB, free: 5.457 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001488/0.5272, allocations: 83.5 kB / 1.056 GB, free: 5.375 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000407/0.5276, allocations: 195.7 kB / 1.056 GB, free: 5.184 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 1.454e-05/0.5276, allocations: 3.984 kB / 1.056 GB, free: 5.18 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.915e-06/0.5276, allocations: 0 / 1.056 GB, free: 5.18 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.045e-05/0.5276, allocations: 0 / 1.056 GB, free: 5.18 MB / 0.8106 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.001175/0.5288, allocations: 494.7 kB / 1.056 GB, free: 4.648 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 6.632e-05/0.5289, allocations: 8.625 kB / 1.056 GB, free: 4.641 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001124/0.529, allocations: 46.75 kB / 1.056 GB, free: 4.586 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001311/0.5292, allocations: 16.75 kB / 1.056 GB, free: 4.57 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004793/0.5296, allocations: 255.9 kB / 1.057 GB, free: 4.281 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002211/0.5299, allocations: 119.4 kB / 1.057 GB, free: 4.141 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.628e-05/0.5299, allocations: 4.375 kB / 1.057 GB, free: 4.137 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005508/0.5305, allocations: 167.9 kB / 1.057 GB, free: 3.969 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.5305, allocations: 0 / 1.057 GB, free: 3.969 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.278e-05/0.5306, allocations: 8 kB / 1.057 GB, free: 3.961 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-05/0.5306, allocations: 7.938 kB / 1.057 GB, free: 3.953 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001546/0.5308, allocations: 39.97 kB / 1.057 GB, free: 3.914 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001764/0.5326, allocations: 460.4 kB / 1.057 GB, free: 3.414 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001285/0.5327, allocations: 38.5 kB / 1.057 GB, free: 3.367 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.444e-05/0.5328, allocations: 24.84 kB / 1.057 GB, free: 3.34 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 5.23e-05/0.5329, allocations: 12 kB / 1.057 GB, free: 3.328 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.765e-05/0.5329, allocations: 30.56 kB / 1.057 GB, free: 3.289 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=8): time 2.003e-06/0.533, allocations: 0 / 1.057 GB, free: 3.289 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8): time 0.0005132/0.5335, allocations: 105.6 kB / 1.058 GB, free: 3.18 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.105e-05/0.5336, allocations: 59.33 kB / 1.058 GB, free: 3.109 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003953/0.534, allocations: 215.7 kB / 1.058 GB, free: 2.891 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 5.442e-05/0.534, allocations: 33.64 kB / 1.058 GB, free: 2.852 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001395/0.5342, allocations: 120 kB / 1.058 GB, free: 2.73 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 5.383e-05/0.5343, allocations: 27.78 kB / 1.058 GB, free: 2.703 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.69e-05/0.5343, allocations: 33.64 kB / 1.058 GB, free: 2.664 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001671/0.5345, allocations: 326.8 kB / 1.058 GB, free: 2.336 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.453e-05/0.5346, allocations: 23.98 kB / 1.058 GB, free: 2.312 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001776/0.5348, allocations: 102.3 kB / 1.058 GB, free: 2.176 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002792/0.5351, allocations: 142.1 kB / 1.059 GB, free: 2 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.5351, allocations: 0 / 1.059 GB, free: 2 MB / 0.8106 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000446/0.5356, allocations: 153.2 kB / 1.059 GB, free: 1.844 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.15e-05/0.5356, allocations: 13.03 kB / 1.059 GB, free: 1.832 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.4e-05/0.5356, allocations: 4 kB / 1.059 GB, free: 1.828 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.311e-05/0.5357, allocations: 0 / 1.059 GB, free: 1.828 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001632/0.5358, allocations: 23.98 kB / 1.059 GB, free: 1.805 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.975e-05/0.5359, allocations: 12.19 kB / 1.059 GB, free: 1.793 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001166/0.536, allocations: 12.22 kB / 1.059 GB, free: 1.781 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.7e-05/0.536, allocations: 19.98 kB / 1.059 GB, free: 1.762 MB / 0.8106 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.0001921/0.5362, allocations: 133.8 kB / 1.059 GB, free: 1.621 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001001/0.5364, allocations: 19.8 kB / 1.059 GB, free: 1.602 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003371/0.5367, allocations: 124.7 kB / 1.059 GB, free: 1.48 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.5367, allocations: 0 / 1.059 GB, free: 1.48 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.926e-06/0.5367, allocations: 3.938 kB / 1.059 GB, free: 1.477 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.101e-06/0.5368, allocations: 7.984 kB / 1.059 GB, free: 1.469 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000387/0.5371, allocations: 233.6 kB / 1.059 GB, free: 1.191 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.5372, allocations: 0 / 1.059 GB, free: 1.191 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.788e-05/0.5373, allocations: 15.98 kB / 1.059 GB, free: 1.176 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.5373, allocations: 3.938 kB / 1.059 GB, free: 1.172 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/0.5373, allocations: 0 / 1.059 GB, free: 1.172 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.312e-06/0.5373, allocations: 4 kB / 1.059 GB, free: 1.168 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.5373, allocations: 3.938 kB / 1.059 GB, free: 1.164 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003103/0.5376, allocations: 191.3 kB / 1.06 GB, free: 0.9609 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 7.082e-05/0.5377, allocations: 92.92 kB / 1.06 GB, free: 0.8516 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.89e-05/0.5378, allocations: 0 / 1.06 GB, free: 0.8516 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00039/0.5382, allocations: 19.97 kB / 1.06 GB, free: 0.832 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.541e-05/0.5382, allocations: 11.94 kB / 1.06 GB, free: 0.8203 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.929e-05/0.5383, allocations: 11.97 kB / 1.06 GB, free: 0.8086 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0002201/0.5385, allocations: 161.5 kB / 1.06 GB, free: 0.6523 MB / 0.8106 GB Notification: Performance of sort global known variables: time 4.3e-07/0.5385, allocations: 0 / 1.06 GB, free: 0.6523 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0005395/0.539, allocations: 27.94 kB / 1.06 GB, free: 0.625 MB / 0.8106 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.0009308/0.54, allocations: 0.7479 MB / 1.061 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000292/0.5403, allocations: 83.78 kB / 1.061 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.5403, allocations: 0 / 1.061 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 6.705e-05/0.5404, allocations: 23.98 kB / 1.061 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000533/0.5409, allocations: 15.94 kB / 1.061 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003209/0.5442, allocations: 1.949 MB / 1.063 GB, free: 13.63 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004602/0.5446, allocations: 0.7353 MB / 1.063 GB, free: 12.87 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0002145/0.5449, allocations: 52.47 kB / 1.063 GB, free: 12.83 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001357/0.545, allocations: 51.42 kB / 1.063 GB, free: 12.78 MB / 0.8262 GB Notification: Performance of SimCode: time 5.91e-07/0.545, allocations: 0 / 1.063 GB, free: 12.78 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1399/0.685, allocations: 4.141 MB / 1.067 GB, free: 8.852 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003985/0.6855, allocations: 240.6 kB / 1.068 GB, free: 8.594 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.366/5.051, allocations: 0 / 1.068 GB, free: 8.594 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.pipe ; mkfifo Buildings_latest_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.pipe >> ../files/Buildings_latest_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_IO_Files_Validation_WeeklyScheduleWindowsLineEndings_fmu --startTime=-10000 --stopTime=1e+06 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_IO_Files_Validation_WeeklyScheduleWindowsLineEndings.fmu > Buildings_latest_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.pipe 2>&1)