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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001327/0.001327, allocations: 110.4 kB / 18.94 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001442/0.001442, allocations: 216.9 kB / 22.25 MB, free: 5.121 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.477/1.477, allocations: 230.6 MB / 256 MB, free: 7.965 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002735/0.002735, allocations: 285.4 kB / 312.7 MB, free: 2.805 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.254/1.254, allocations: 180.6 MB / 0.5369 GB, free: 12.91 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002974/0.002974, allocations: 117.1 kB / 0.7396 GB, free: 28.54 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1864/0.1894, allocations: 95.38 MB / 0.8327 GB, free: 8.645 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings): time 0.003311/0.1927, allocations: 1.518 MB / 0.8342 GB, free: 7.113 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002044/0.1947, allocations: 1.236 MB / 0.8354 GB, free: 5.871 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.147e-05/0.1948, allocations: 4 kB / 0.8354 GB, free: 5.867 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001811/0.195, allocations: 11.86 kB / 0.8354 GB, free: 5.855 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002459/0.1952, allocations: 47.78 kB / 0.8355 GB, free: 5.809 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002149/0.1954, allocations: 59.48 kB / 0.8355 GB, free: 5.754 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002319/0.1957, allocations: 147.6 kB / 0.8357 GB, free: 5.609 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001551/0.1958, allocations: 41.48 kB / 0.8357 GB, free: 5.566 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001382/0.196, allocations: 87.7 kB / 0.8358 GB, free: 5.48 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002474/0.1962, allocations: 51.7 kB / 0.8358 GB, free: 5.43 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6.11e-05/0.1963, allocations: 12 kB / 0.8359 GB, free: 5.418 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 9.45e-05/0.1964, allocations: 35.98 kB / 0.8359 GB, free: 5.383 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 9.076e-05/0.1965, allocations: 51.88 kB / 0.8359 GB, free: 5.332 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 9.8e-05/0.1966, allocations: 71.53 kB / 0.836 GB, free: 5.262 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003247/0.1969, allocations: 195.3 kB / 0.8362 GB, free: 5.07 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.1969, allocations: 7.922 kB / 0.8362 GB, free: 5.062 MB / 0.5762 GB Notification: Performance of FrontEnd: time 8.62e-07/0.1969, allocations: 0 / 0.8362 GB, free: 5.062 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.268e-05/0.1969, allocations: 0 / 0.8362 GB, free: 5.062 MB / 0.5762 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.0008131/0.1977, allocations: 425.3 kB / 0.8366 GB, free: 4.617 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/0.1978, allocations: 13.34 kB / 0.8366 GB, free: 4.605 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.639e-05/0.1978, allocations: 38.75 kB / 0.8367 GB, free: 4.559 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.847e-05/0.1979, allocations: 20.8 kB / 0.8367 GB, free: 4.539 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003414/0.1982, allocations: 198.2 kB / 0.8369 GB, free: 4.32 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002505/0.1985, allocations: 226.2 kB / 0.8371 GB, free: 4.051 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.766e-05/0.1985, allocations: 4.375 kB / 0.8371 GB, free: 4.047 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003823/0.1989, allocations: 161.4 kB / 0.8372 GB, free: 3.883 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.1989, allocations: 3.938 kB / 0.8372 GB, free: 3.879 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.217e-05/0.1989, allocations: 8 kB / 0.8373 GB, free: 3.871 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.321e-05/0.199, allocations: 11.98 kB / 0.8373 GB, free: 3.859 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.612e-05/0.1991, allocations: 43.97 kB / 0.8373 GB, free: 3.816 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001184/0.2003, allocations: 427.5 kB / 0.8377 GB, free: 3.355 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 8.25e-05/0.2003, allocations: 34.56 kB / 0.8377 GB, free: 3.312 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.753e-05/0.2004, allocations: 28.84 kB / 0.8378 GB, free: 3.281 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.973e-05/0.2004, allocations: 0 / 0.8378 GB, free: 3.281 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.307e-05/0.2004, allocations: 38.56 kB / 0.8378 GB, free: 3.234 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=8): time 1.212e-06/0.2004, allocations: 0 / 0.8378 GB, free: 3.234 MB / 0.5762 GB Notification: Performance of matching and sorting (n=8): time 0.0003495/0.2008, allocations: 113.4 kB / 0.8379 GB, free: 3.117 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.497e-05/0.2008, allocations: 55.34 kB / 0.838 GB, free: 3.051 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002657/0.2011, allocations: 224.4 kB / 0.8382 GB, free: 2.816 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.136e-05/0.2011, allocations: 25.7 kB / 0.8382 GB, free: 2.785 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001023/0.2012, allocations: 128.3 kB / 0.8383 GB, free: 2.656 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.819e-05/0.2013, allocations: 27.8 kB / 0.8384 GB, free: 2.629 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.429e-05/0.2013, allocations: 33.7 kB / 0.8384 GB, free: 2.59 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001472/0.2015, allocations: 322.8 kB / 0.8387 GB, free: 2.266 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.031e-05/0.2015, allocations: 27.98 kB / 0.8387 GB, free: 2.238 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001216/0.2017, allocations: 102.2 kB / 0.8388 GB, free: 2.102 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001897/0.2018, allocations: 142.2 kB / 0.839 GB, free: 1.926 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.2019, allocations: 0 / 0.839 GB, free: 1.926 MB / 0.5762 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002586/0.2021, allocations: 149.3 kB / 0.8391 GB, free: 1.773 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.2021, allocations: 8 kB / 0.8391 GB, free: 1.766 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.2021, allocations: 384 / 0.8391 GB, free: 1.766 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.2021, allocations: 8 kB / 0.8391 GB, free: 1.758 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001281/0.2023, allocations: 35.86 kB / 0.8392 GB, free: 1.723 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.347e-05/0.2023, allocations: 7.938 kB / 0.8392 GB, free: 1.715 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.08e-05/0.2024, allocations: 15.89 kB / 0.8392 GB, free: 1.699 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.77e-05/0.2024, allocations: 11.98 kB / 0.8392 GB, free: 1.688 MB / 0.5762 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.0001356/0.2025, allocations: 137.8 kB / 0.8393 GB, free: 1.543 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.817e-05/0.2026, allocations: 15.91 kB / 0.8393 GB, free: 1.527 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002298/0.2028, allocations: 114.1 kB / 0.8394 GB, free: 1.414 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.2028, allocations: 4 kB / 0.8394 GB, free: 1.41 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.221e-06/0.2028, allocations: 3.938 kB / 0.8394 GB, free: 1.406 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.2028, allocations: 0 / 0.8394 GB, free: 1.406 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002655/0.2031, allocations: 208.6 kB / 0.8396 GB, free: 1.16 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.654e-06/0.2031, allocations: 0 / 0.8396 GB, free: 1.16 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.032e-05/0.2031, allocations: 19.92 kB / 0.8397 GB, free: 1.141 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.2031, allocations: 0 / 0.8397 GB, free: 1.141 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.047e-06/0.2031, allocations: 4 kB / 0.8397 GB, free: 1.137 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.2031, allocations: 0 / 0.8397 GB, free: 1.137 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/0.2031, allocations: 3.938 kB / 0.8397 GB, free: 1.133 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002228/0.2034, allocations: 191.4 kB / 0.8399 GB, free: 0.9297 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 2.412e-05/0.2034, allocations: 7.953 kB / 0.8399 GB, free: 0.9219 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.911e-05/0.2034, allocations: 0 / 0.8399 GB, free: 0.9219 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002449/0.2037, allocations: 23.97 kB / 0.8399 GB, free: 0.8984 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.796e-05/0.2037, allocations: 7.938 kB / 0.8399 GB, free: 0.8906 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.541e-05/0.2037, allocations: 11.97 kB / 0.8399 GB, free: 0.8789 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001641/0.2039, allocations: 169.4 kB / 0.8401 GB, free: 0.7148 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.2039, allocations: 4 kB / 0.8401 GB, free: 0.7109 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003144/0.2042, allocations: 35.89 kB / 0.8401 GB, free: 0.6758 MB / 0.5762 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.000684/0.2049, allocations: 0.7462 MB / 0.8408 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001821/0.205, allocations: 67.84 kB / 0.8409 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.205, allocations: 0 / 0.8409 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 4.642e-05/0.2051, allocations: 27.92 kB / 0.8409 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003104/0.2054, allocations: 25.17 kB / 0.8409 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002276/0.2077, allocations: 1.918 MB / 0.8428 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003897/0.2081, allocations: 0.7275 MB / 0.8435 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001335/0.2082, allocations: 61.44 kB / 0.8436 GB, free: 12.92 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.67e-05/0.2083, allocations: 43.42 kB / 0.8436 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of SimCode: time 2.7e-07/0.2083, allocations: 0 / 0.8436 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03603/0.2443, allocations: 4.414 MB / 0.8479 GB, free: 8.648 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.16/11.4, allocations: 14.38 kB / 0.848 GB, free: 8.637 MB / 0.5919 GB " [Timeout remaining time 648] (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 --stepSize=404 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_IO_Files_Validation_WeeklyScheduleWindowsLineEndings.fmu > BuildingSystems_BuildingSystems.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.61248023295775] Failed to read output from testmodel.py, exit status != 0: 11.512778336182237 11.541609929 11.33939222 Calling exit ...