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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001505/0.001505, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001867/0.001867, allocations: 193.7 kB / 16.14 MB, free: 6.699 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.392/1.392, allocations: 222.9 MB / 239.8 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.611/2.611, allocations: 461.8 MB / 0.7342 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001197, allocations: 69.72 kB / 0.8985 GB, free: 37.01 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2749/0.2761, allocations: 157.4 MB / 1.052 GB, free: 8.223 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings): time 0.002905/0.279, allocations: 1.544 MB / 1.054 GB, free: 6.664 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001453/0.2805, allocations: 1.093 MB / 1.055 GB, free: 5.562 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.982e-05/0.2806, allocations: 0 / 1.055 GB, free: 5.562 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001836/0.2808, allocations: 15.92 kB / 1.055 GB, free: 5.547 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001667/0.281, allocations: 31.84 kB / 1.055 GB, free: 5.516 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001978/0.2812, allocations: 70.66 kB / 1.055 GB, free: 5.449 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001784/0.2814, allocations: 139.5 kB / 1.055 GB, free: 5.312 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001461/0.2815, allocations: 57.09 kB / 1.055 GB, free: 5.258 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.499e-05/0.2816, allocations: 75.75 kB / 1.055 GB, free: 5.184 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002101/0.2819, allocations: 63.69 kB / 1.055 GB, free: 5.121 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.945e-05/0.2819, allocations: 7.938 kB / 1.055 GB, free: 5.113 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 8.094e-05/0.282, allocations: 23.98 kB / 1.055 GB, free: 5.09 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 7.358e-05/0.2821, allocations: 39.89 kB / 1.055 GB, free: 5.051 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 9.156e-05/0.2822, allocations: 71.52 kB / 1.055 GB, free: 4.98 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002372/0.2824, allocations: 199.6 kB / 1.056 GB, free: 4.785 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.2824, allocations: 4 kB / 1.056 GB, free: 4.781 MB / 0.8106 GB Notification: Performance of FrontEnd: time 7.21e-07/0.2824, allocations: 0 / 1.056 GB, free: 4.781 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.2824, allocations: 0 / 1.056 GB, free: 4.781 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.0006916/0.2831, allocations: 490.7 kB / 1.056 GB, free: 4.254 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.2832, allocations: 15.97 kB / 1.056 GB, free: 4.238 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.589e-05/0.2833, allocations: 42.73 kB / 1.056 GB, free: 4.188 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.607e-05/0.2833, allocations: 16.75 kB / 1.056 GB, free: 4.172 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002821/0.2836, allocations: 251.9 kB / 1.056 GB, free: 3.887 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00013/0.2838, allocations: 119.4 kB / 1.056 GB, free: 3.746 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.636e-05/0.2838, allocations: 8.375 kB / 1.056 GB, free: 3.738 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003376/0.2841, allocations: 163.3 kB / 1.057 GB, free: 3.574 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.812e-06/0.2841, allocations: 0 / 1.057 GB, free: 3.574 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.178e-05/0.2842, allocations: 0 / 1.057 GB, free: 3.574 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.001e-05/0.2842, allocations: 15.94 kB / 1.057 GB, free: 3.559 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.62e-05/0.2843, allocations: 43.91 kB / 1.057 GB, free: 3.516 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009859/0.2853, allocations: 456.4 kB / 1.057 GB, free: 3.02 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 7.437e-05/0.2854, allocations: 42.48 kB / 1.057 GB, free: 2.969 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.655e-05/0.2854, allocations: 28.84 kB / 1.057 GB, free: 2.938 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.399e-05/0.2855, allocations: 0 / 1.057 GB, free: 2.938 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.573e-05/0.2855, allocations: 38.56 kB / 1.057 GB, free: 2.891 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=8): time 8.92e-07/0.2855, allocations: 0 / 1.057 GB, free: 2.891 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8): time 0.0002821/0.2858, allocations: 101.5 kB / 1.057 GB, free: 2.785 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.057e-05/0.2858, allocations: 59.34 kB / 1.057 GB, free: 2.715 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002066/0.286, allocations: 215.6 kB / 1.058 GB, free: 2.496 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.867e-05/0.2861, allocations: 33.64 kB / 1.058 GB, free: 2.457 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.003e-05/0.2862, allocations: 128 kB / 1.058 GB, free: 2.328 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.727e-05/0.2862, allocations: 27.88 kB / 1.058 GB, free: 2.301 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.805e-05/0.2862, allocations: 33.7 kB / 1.058 GB, free: 2.262 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001007/0.2863, allocations: 326.8 kB / 1.058 GB, free: 1.934 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.073e-05/0.2864, allocations: 23.98 kB / 1.058 GB, free: 1.91 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.565e-05/0.2865, allocations: 102.3 kB / 1.058 GB, free: 1.773 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001583/0.2867, allocations: 134.1 kB / 1.058 GB, free: 1.605 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.2867, allocations: 4 kB / 1.058 GB, free: 1.602 MB / 0.8106 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002382/0.2869, allocations: 157.2 kB / 1.058 GB, free: 1.441 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.2869, allocations: 7.984 kB / 1.058 GB, free: 1.434 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.287, allocations: 4 kB / 1.058 GB, free: 1.43 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.287, allocations: 4 kB / 1.058 GB, free: 1.426 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.621e-05/0.2871, allocations: 20.38 kB / 1.059 GB, free: 1.406 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.268e-05/0.2871, allocations: 19.86 kB / 1.059 GB, free: 1.387 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.123e-05/0.2872, allocations: 15.84 kB / 1.059 GB, free: 1.371 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.251e-05/0.2872, allocations: 4 kB / 1.059 GB, free: 1.367 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.0001207/0.2873, allocations: 145.8 kB / 1.059 GB, free: 1.215 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.685e-05/0.2874, allocations: 15.8 kB / 1.059 GB, free: 1.199 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002104/0.2876, allocations: 119.9 kB / 1.059 GB, free: 1.082 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.2876, allocations: 0 / 1.059 GB, free: 1.082 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.2876, allocations: 7.938 kB / 1.059 GB, free: 1.074 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.2876, allocations: 3.984 kB / 1.059 GB, free: 1.07 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002225/0.2879, allocations: 225.6 kB / 1.059 GB, free: 0.8008 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.2879, allocations: 0 / 1.059 GB, free: 0.8008 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.049e-05/0.2879, allocations: 15.98 kB / 1.059 GB, free: 0.7852 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.2879, allocations: 3.938 kB / 1.059 GB, free: 0.7812 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.688e-06/0.2879, allocations: 4 kB / 1.059 GB, free: 0.7773 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.2879, allocations: 0 / 1.059 GB, free: 0.7773 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.2879, allocations: 3.938 kB / 1.059 GB, free: 0.7734 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001876/0.2881, allocations: 195.3 kB / 1.059 GB, free: 0.5664 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.314e-05/0.2882, allocations: 88.92 kB / 1.059 GB, free: 472 kB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.071e-05/0.2882, allocations: 4 kB / 1.059 GB, free: 468 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002443/0.2885, allocations: 15.97 kB / 1.059 GB, free: 452 kB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.177e-05/0.2885, allocations: 11.92 kB / 1.059 GB, free: 440 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.572e-05/0.2885, allocations: 15.98 kB / 1.059 GB, free: 424 kB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001285/0.2887, allocations: 157.5 kB / 1.06 GB, free: 268 kB / 0.8106 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2887, allocations: 0 / 1.06 GB, free: 268 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003034/0.289, allocations: 35.94 kB / 1.06 GB, free: 232 kB / 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.0005579/0.2895, allocations: 0.7527 MB / 1.06 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001588/0.2897, allocations: 63.91 kB / 1.06 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.2897, allocations: 3.938 kB / 1.06 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 4.223e-05/0.2898, allocations: 31.97 kB / 1.06 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003031/0.2901, allocations: 23.92 kB / 1.06 GB, free: 15.33 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001823/0.2919, allocations: 1.943 MB / 1.062 GB, free: 13.23 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000265/0.2922, allocations: 0.7278 MB / 1.063 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001196/0.2923, allocations: 58.09 kB / 1.063 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.448e-05/0.2924, allocations: 43.42 kB / 1.063 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of SimCode: time 2.81e-07/0.2924, allocations: 0 / 1.063 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4204/0.7128, allocations: 4.063 MB / 1.067 GB, free: 8.527 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002252/0.7131, allocations: 246.3 kB / 1.067 GB, free: 8.262 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.843/2.556, allocations: 2.391 kB / 1.067 GB, free: 8.262 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)