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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.004101/0.004101, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.00117/0.001171, allocations: 200.6 kB / 16.68 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.276/1.276, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.684/2.684, allocations: 482.6 MB / 0.7551 GB, free: 6.629 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001859/0.001859, allocations: 63 kB / 1.083 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2924/0.2943, allocations: 162.3 MB / 1.242 GB, free: 8.914 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings): time 0.002896/0.2972, allocations: 1.486 MB / 1.243 GB, free: 7.414 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001611/0.2988, allocations: 1.115 MB / 1.244 GB, free: 6.293 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.865e-05/0.2989, allocations: 0 / 1.244 GB, free: 6.293 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001727/0.2991, allocations: 19.86 kB / 1.244 GB, free: 6.273 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001799/0.2993, allocations: 39.78 kB / 1.244 GB, free: 6.234 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.000213/0.2995, allocations: 58.72 kB / 1.244 GB, free: 6.18 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002116/0.2997, allocations: 147.6 kB / 1.245 GB, free: 6.035 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001557/0.2999, allocations: 65.06 kB / 1.245 GB, free: 5.973 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001071/0.3, allocations: 75.77 kB / 1.245 GB, free: 5.898 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001956/0.3002, allocations: 59.7 kB / 1.245 GB, free: 5.84 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.722e-05/0.3003, allocations: 16 kB / 1.245 GB, free: 5.824 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 8.472e-05/0.3004, allocations: 27.98 kB / 1.245 GB, free: 5.797 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 8.541e-05/0.3005, allocations: 51.81 kB / 1.245 GB, free: 5.746 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 9.781e-05/0.3006, allocations: 71.59 kB / 1.245 GB, free: 5.676 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002885/0.3009, allocations: 203.5 kB / 1.245 GB, free: 5.477 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.3009, allocations: 3.938 kB / 1.245 GB, free: 5.473 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.252e-06/0.3009, allocations: 0 / 1.245 GB, free: 5.473 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.392e-06/0.3009, allocations: 0 / 1.245 GB, free: 5.473 MB / 0.9669 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.0007429/0.3016, allocations: 0.4945 MB / 1.246 GB, free: 4.93 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.502e-05/0.3017, allocations: 8.031 kB / 1.246 GB, free: 4.922 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.615e-05/0.3017, allocations: 42.73 kB / 1.246 GB, free: 4.871 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.7e-05/0.3018, allocations: 24.8 kB / 1.246 GB, free: 4.848 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003105/0.3021, allocations: 257.3 kB / 1.246 GB, free: 4.559 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001507/0.3023, allocations: 115.4 kB / 1.246 GB, free: 4.422 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.019e-05/0.3023, allocations: 4.375 kB / 1.246 GB, free: 4.418 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003477/0.3027, allocations: 165.5 kB / 1.246 GB, free: 4.25 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.3027, allocations: 7.938 kB / 1.246 GB, free: 4.242 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.932e-05/0.3027, allocations: 0 / 1.246 GB, free: 4.242 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.889e-05/0.3027, allocations: 11.98 kB / 1.246 GB, free: 4.23 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.93e-05/0.3028, allocations: 47.91 kB / 1.246 GB, free: 4.184 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001063/0.3039, allocations: 452.4 kB / 1.247 GB, free: 3.691 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 7.382e-05/0.304, allocations: 34.58 kB / 1.247 GB, free: 3.648 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.828e-05/0.3041, allocations: 29 kB / 1.247 GB, free: 3.617 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.765e-05/0.3041, allocations: 7.984 kB / 1.247 GB, free: 3.609 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.964e-05/0.3041, allocations: 34.55 kB / 1.247 GB, free: 3.566 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=8): time 1.242e-06/0.3041, allocations: 0 / 1.247 GB, free: 3.566 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8): time 0.0002667/0.3044, allocations: 105.5 kB / 1.247 GB, free: 3.457 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.693e-05/0.3045, allocations: 63.34 kB / 1.247 GB, free: 3.383 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002272/0.3047, allocations: 211.9 kB / 1.247 GB, free: 3.164 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.115e-05/0.3047, allocations: 29.7 kB / 1.247 GB, free: 3.129 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 9.108e-05/0.3048, allocations: 132 kB / 1.247 GB, free: 2.996 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.484e-05/0.3049, allocations: 27.78 kB / 1.247 GB, free: 2.969 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.287e-05/0.3049, allocations: 33.64 kB / 1.247 GB, free: 2.93 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001355/0.3051, allocations: 322.8 kB / 1.248 GB, free: 2.605 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.034e-05/0.3051, allocations: 35.97 kB / 1.248 GB, free: 2.57 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001115/0.3052, allocations: 90.3 kB / 1.248 GB, free: 2.445 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001918/0.3054, allocations: 150.1 kB / 1.248 GB, free: 2.262 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.3055, allocations: 0 / 1.248 GB, free: 2.262 MB / 0.9669 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002599/0.3057, allocations: 153.6 kB / 1.248 GB, free: 2.105 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.3057, allocations: 12.03 kB / 1.248 GB, free: 2.094 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.3058, allocations: 4 kB / 1.248 GB, free: 2.09 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.3058, allocations: 4 kB / 1.248 GB, free: 2.086 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.943e-05/0.3059, allocations: 23.92 kB / 1.248 GB, free: 2.062 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.534e-05/0.3059, allocations: 7.938 kB / 1.248 GB, free: 2.055 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.425e-05/0.306, allocations: 11.94 kB / 1.248 GB, free: 2.043 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.533e-05/0.306, allocations: 8 kB / 1.248 GB, free: 2.035 MB / 0.9669 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.0001323/0.3061, allocations: 145.7 kB / 1.248 GB, free: 1.883 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.849e-05/0.3062, allocations: 19.91 kB / 1.248 GB, free: 1.863 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002247/0.3064, allocations: 110.3 kB / 1.248 GB, free: 1.75 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.7e-06/0.3064, allocations: 3.984 kB / 1.248 GB, free: 1.746 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.3065, allocations: 7.938 kB / 1.248 GB, free: 1.738 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.3065, allocations: 0 / 1.248 GB, free: 1.738 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002595/0.3067, allocations: 233.5 kB / 1.249 GB, free: 1.461 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.3067, allocations: 0 / 1.249 GB, free: 1.461 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.95e-05/0.3068, allocations: 15.98 kB / 1.249 GB, free: 1.445 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.359e-06/0.3068, allocations: 0 / 1.249 GB, free: 1.445 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.468e-06/0.3068, allocations: 7.938 kB / 1.249 GB, free: 1.438 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.3068, allocations: 400 / 1.249 GB, free: 1.438 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.439e-06/0.3068, allocations: 7.938 kB / 1.249 GB, free: 1.43 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002168/0.3071, allocations: 203.3 kB / 1.249 GB, free: 1.215 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.279e-05/0.3071, allocations: 93 kB / 1.249 GB, free: 1.105 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.844e-05/0.3071, allocations: 0 / 1.249 GB, free: 1.105 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002586/0.3074, allocations: 19.98 kB / 1.249 GB, free: 1.086 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.379e-05/0.3074, allocations: 11.92 kB / 1.249 GB, free: 1.074 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.484e-05/0.3075, allocations: 7.984 kB / 1.249 GB, free: 1.066 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001552/0.3076, allocations: 165.5 kB / 1.249 GB, free: 0.9062 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3076, allocations: 0 / 1.249 GB, free: 0.9062 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003073/0.308, allocations: 35.89 kB / 1.249 GB, free: 0.8711 MB / 0.9669 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.0006378/0.3086, allocations: 0.7421 MB / 1.25 GB, free: 112 kB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001651/0.3088, allocations: 67.84 kB / 1.25 GB, free: 44 kB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.3088, allocations: 0 / 1.25 GB, free: 44 kB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 4.154e-05/0.3088, allocations: 23.98 kB / 1.25 GB, free: 20 kB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003079/0.3091, allocations: 20.72 kB / 1.25 GB, free: 16 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002027/0.3112, allocations: 1.921 MB / 1.252 GB, free: 13.93 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003751/0.3116, allocations: 0.7314 MB / 1.253 GB, free: 13.17 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001242/0.3117, allocations: 57.3 kB / 1.253 GB, free: 13.12 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.55e-05/0.3118, allocations: 47.41 kB / 1.253 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of SimCode: time 2.31e-07/0.3118, allocations: 0 / 1.253 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1256/0.4374, allocations: 4.263 MB / 1.257 GB, free: 9.008 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.1/8.537, allocations: 5.047 kB / 1.257 GB, free: 9.004 MB / 0.9825 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=400 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_IO_Files_Validation_WeeklyScheduleWindowsLineEndings.fmu > Buildings_latest_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.pipe 2>&1)