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.001106/0.001106, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001046/0.001046, allocations: 192.6 kB / 16.53 MB, free: 6.664 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.283/1.283, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.646/2.646, allocations: 461.9 MB / 0.7346 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001197, allocations: 64 kB / 0.8992 GB, free: 36.92 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2569/0.2582, allocations: 157.4 MB / 1.053 GB, free: 8.238 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings): time 0.00262/0.2608, allocations: 1.487 MB / 1.054 GB, free: 6.738 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001252/0.2621, allocations: 1.113 MB / 1.055 GB, free: 5.617 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.167e-05/0.2621, allocations: 0 / 1.055 GB, free: 5.617 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001544/0.2623, allocations: 23.84 kB / 1.055 GB, free: 5.594 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001388/0.2625, allocations: 31.8 kB / 1.055 GB, free: 5.562 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001688/0.2626, allocations: 71.08 kB / 1.056 GB, free: 5.496 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.000161/0.2628, allocations: 143.6 kB / 1.056 GB, free: 5.355 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001402/0.2629, allocations: 69.02 kB / 1.056 GB, free: 5.289 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.604e-05/0.263, allocations: 79.77 kB / 1.056 GB, free: 5.211 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001798/0.2632, allocations: 63.69 kB / 1.056 GB, free: 5.148 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.84e-05/0.2633, allocations: 8 kB / 1.056 GB, free: 5.141 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 7.046e-05/0.2633, allocations: 28 kB / 1.056 GB, free: 5.113 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 7.575e-05/0.2634, allocations: 47.88 kB / 1.056 GB, free: 5.066 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 8.172e-05/0.2635, allocations: 79.52 kB / 1.056 GB, free: 4.988 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002229/0.2637, allocations: 195.6 kB / 1.056 GB, free: 4.797 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.2638, allocations: 0 / 1.056 GB, free: 4.797 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.153e-06/0.2638, allocations: 4 kB / 1.056 GB, free: 4.793 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.2638, allocations: 0 / 1.056 GB, free: 4.793 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.0006509/0.2644, allocations: 498.6 kB / 1.057 GB, free: 4.258 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.411e-05/0.2645, allocations: 8.625 kB / 1.057 GB, free: 4.25 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.685e-05/0.2645, allocations: 38.75 kB / 1.057 GB, free: 4.203 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.188e-05/0.2646, allocations: 20.75 kB / 1.057 GB, free: 4.184 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002634/0.2649, allocations: 255.9 kB / 1.057 GB, free: 3.895 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001367/0.265, allocations: 123.4 kB / 1.057 GB, free: 3.75 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.221e-05/0.265, allocations: 4.375 kB / 1.057 GB, free: 3.746 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003101/0.2653, allocations: 163.4 kB / 1.057 GB, free: 3.582 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.613e-06/0.2653, allocations: 0 / 1.057 GB, free: 3.582 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.369e-05/0.2654, allocations: 8 kB / 1.057 GB, free: 3.574 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.168e-05/0.2654, allocations: 11.88 kB / 1.057 GB, free: 3.562 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.657e-05/0.2655, allocations: 43.97 kB / 1.057 GB, free: 3.52 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009415/0.2664, allocations: 456.4 kB / 1.058 GB, free: 3.023 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 6.193e-05/0.2665, allocations: 38.56 kB / 1.058 GB, free: 2.977 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.121e-05/0.2666, allocations: 32.84 kB / 1.058 GB, free: 2.941 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.419e-05/0.2666, allocations: 8.141 kB / 1.058 GB, free: 2.934 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.046e-05/0.2666, allocations: 30.56 kB / 1.058 GB, free: 2.895 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=8): time 1.062e-06/0.2666, allocations: 0 / 1.058 GB, free: 2.895 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8): time 0.0002481/0.2669, allocations: 105.4 kB / 1.058 GB, free: 2.785 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.357e-05/0.2669, allocations: 59.33 kB / 1.058 GB, free: 2.715 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001922/0.2671, allocations: 223.6 kB / 1.058 GB, free: 2.488 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.583e-05/0.2671, allocations: 29.7 kB / 1.058 GB, free: 2.453 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.508e-05/0.2672, allocations: 124 kB / 1.058 GB, free: 2.328 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.105e-05/0.2673, allocations: 23.78 kB / 1.058 GB, free: 2.305 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.485e-05/0.2673, allocations: 33.7 kB / 1.058 GB, free: 2.266 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001005/0.2674, allocations: 322.8 kB / 1.059 GB, free: 1.941 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.583e-05/0.2675, allocations: 27.98 kB / 1.059 GB, free: 1.914 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.658e-05/0.2676, allocations: 98.28 kB / 1.059 GB, free: 1.781 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001576/0.2677, allocations: 146.1 kB / 1.059 GB, free: 1.602 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.2677, allocations: 0 / 1.059 GB, free: 1.602 MB / 0.8106 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002255/0.268, allocations: 149.2 kB / 1.059 GB, free: 1.449 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.268, allocations: 8 kB / 1.059 GB, free: 1.441 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.268, allocations: 0 / 1.059 GB, free: 1.441 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.108e-05/0.268, allocations: 4.375 kB / 1.059 GB, free: 1.438 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.227e-05/0.2681, allocations: 31.92 kB / 1.059 GB, free: 1.406 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.136e-06/0.2681, allocations: 7.938 kB / 1.059 GB, free: 1.398 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.555e-05/0.2682, allocations: 19.83 kB / 1.059 GB, free: 1.379 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.241e-05/0.2682, allocations: 8 kB / 1.059 GB, free: 1.371 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.0001106/0.2683, allocations: 137.8 kB / 1.059 GB, free: 1.227 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.508e-05/0.2684, allocations: 19.8 kB / 1.059 GB, free: 1.207 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001937/0.2686, allocations: 110.2 kB / 1.06 GB, free: 1.098 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.2686, allocations: 4 kB / 1.06 GB, free: 1.094 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.2686, allocations: 3.938 kB / 1.06 GB, free: 1.09 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.2686, allocations: 3.984 kB / 1.06 GB, free: 1.086 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002156/0.2688, allocations: 233.6 kB / 1.06 GB, free: 0.8086 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.2688, allocations: 0 / 1.06 GB, free: 0.8086 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.571e-05/0.2689, allocations: 19.92 kB / 1.06 GB, free: 0.7891 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.2689, allocations: 3.938 kB / 1.06 GB, free: 0.7852 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.426e-06/0.2689, allocations: 4 kB / 1.06 GB, free: 0.7812 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.569e-06/0.2689, allocations: 3.938 kB / 1.06 GB, free: 0.7773 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.2689, allocations: 7.938 kB / 1.06 GB, free: 0.7695 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001781/0.2691, allocations: 191.3 kB / 1.06 GB, free: 0.5664 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.77e-05/0.2692, allocations: 88.92 kB / 1.06 GB, free: 472 kB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.804e-05/0.2692, allocations: 0 / 1.06 GB, free: 472 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002415/0.2694, allocations: 23.97 kB / 1.06 GB, free: 448 kB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.525e-05/0.2694, allocations: 3.938 kB / 1.06 GB, free: 444 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.11e-05/0.2695, allocations: 15.97 kB / 1.06 GB, free: 428 kB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001321/0.2696, allocations: 165.5 kB / 1.06 GB, free: 264 kB / 0.8106 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2696, allocations: 0 / 1.06 GB, free: 264 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002863/0.2699, allocations: 35.94 kB / 1.06 GB, free: 228 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.0005299/0.2704, allocations: 0.7405 MB / 1.061 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.00015/0.2706, allocations: 71.84 kB / 1.061 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.2706, allocations: 0 / 1.061 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 4.064e-05/0.2707, allocations: 31.91 kB / 1.061 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.000296/0.271, allocations: 26.08 kB / 1.061 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001816/0.2728, allocations: 1.912 MB / 1.063 GB, free: 13.27 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002851/0.2731, allocations: 0.7313 MB / 1.064 GB, free: 12.51 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001202/0.2732, allocations: 62.28 kB / 1.064 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.842e-05/0.2733, allocations: 47.42 kB / 1.064 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of SimCode: time 3.61e-07/0.2733, allocations: 0 / 1.064 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2827/0.556, allocations: 4.209 MB / 1.068 GB, free: 8.375 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.652/8.208, allocations: 13.25 kB / 1.068 GB, free: 8.367 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)