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.0007456/0.0007456, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0007606/0.0007606, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8571/0.8571, allocations: 177.2 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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.001401/0.001401, allocations: 230.1 kB / 259.4 MB, free: 13.03 MB / 250.7 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 0.6261/0.6261, allocations: 138.4 MB / 454.3 MB, free: 30 MB / 410.7 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: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 0.6463 GB, free: 1.934 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.017e-05/2.171e-05, allocations: 2.281 kB / 0.6463 GB, free: 1.93 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings): time 0.002094/0.002116, allocations: 1.503 MB / 0.6477 GB, free: 420 kB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.2153/0.2174, allocations: 1.191 MB / 0.6489 GB, free: 55.92 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.911e-05/0.2175, allocations: 1.656 kB / 0.6489 GB, free: 55.92 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0001537/0.2176, allocations: 18.84 kB / 0.6489 GB, free: 55.91 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0001628/0.2178, allocations: 45.22 kB / 0.649 GB, free: 55.9 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001271/0.2179, allocations: 64.56 kB / 0.649 GB, free: 55.89 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0001429/0.218, allocations: 152.8 kB / 0.6492 GB, free: 55.88 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000106/0.2181, allocations: 31.06 kB / 0.6492 GB, free: 55.88 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 9.036e-05/0.2182, allocations: 106.7 kB / 0.6493 GB, free: 55.87 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 9.87e-05/0.2183, allocations: 48.62 kB / 0.6493 GB, free: 55.86 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 2.666e-05/0.2184, allocations: 10.66 kB / 0.6494 GB, free: 55.86 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 5.24e-05/0.2184, allocations: 24.8 kB / 0.6494 GB, free: 55.86 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 5.646e-05/0.2185, allocations: 48.44 kB / 0.6494 GB, free: 55.86 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 4.956e-05/0.2185, allocations: 52.64 kB / 0.6495 GB, free: 55.85 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0002064/0.2187, allocations: 219.4 kB / 0.6497 GB, free: 55.82 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.2187, allocations: 1.438 kB / 0.6497 GB, free: 55.82 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.172e-06/0.2187, allocations: 1.906 kB / 0.6497 GB, free: 55.82 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.318e-06/0.2187, allocations: 0 / 0.6497 GB, free: 55.82 MB / 0.5573 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.0004474/0.2192, allocations: 421.3 kB / 0.6501 GB, free: 55.5 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.402e-05/0.2192, allocations: 11.83 kB / 0.6501 GB, free: 55.5 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.89e-05/0.2192, allocations: 45.12 kB / 0.6501 GB, free: 55.46 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.768e-05/0.2193, allocations: 21.2 kB / 0.6502 GB, free: 55.45 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001813/0.2195, allocations: 201.1 kB / 0.6504 GB, free: 55.3 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.481e-05/0.2195, allocations: 224.3 kB / 0.6506 GB, free: 55.05 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.046e-05/0.2196, allocations: 9.188 kB / 0.6506 GB, free: 55.05 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00022/0.2198, allocations: 262.9 kB / 0.6508 GB, free: 54.89 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.2198, allocations: 2.625 kB / 0.6508 GB, free: 54.89 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.362e-05/0.2198, allocations: 3.938 kB / 0.6508 GB, free: 54.89 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.954e-05/0.2198, allocations: 9.922 kB / 0.6508 GB, free: 54.89 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.673e-05/0.2199, allocations: 43.28 kB / 0.6509 GB, free: 54.89 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005823/0.2205, allocations: 409.4 kB / 0.6513 GB, free: 54.64 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 4.979e-05/0.2205, allocations: 30.44 kB / 0.6513 GB, free: 54.62 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.592e-05/0.2205, allocations: 24.17 kB / 0.6513 GB, free: 54.61 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.211e-05/0.2206, allocations: 6.672 kB / 0.6513 GB, free: 54.61 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.55e-05/0.2206, allocations: 41.22 kB / 0.6514 GB, free: 54.57 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=8): time 8.61e-07/0.2206, allocations: 2.031 kB / 0.6514 GB, free: 54.57 MB / 0.5573 GB Notification: Performance of matching and sorting (n=8): time 0.0001885/0.2208, allocations: 102.4 kB / 0.6515 GB, free: 54.53 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.708e-05/0.2208, allocations: 53.09 kB / 0.6515 GB, free: 54.46 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001247/0.2209, allocations: 215.2 kB / 0.6517 GB, free: 54.36 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.446e-05/0.2209, allocations: 32.98 kB / 0.6518 GB, free: 54.32 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 4.078e-05/0.221, allocations: 120.4 kB / 0.6519 GB, free: 54.24 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 1.402e-05/0.221, allocations: 32.33 kB / 0.6519 GB, free: 54.21 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.134e-05/0.221, allocations: 29.66 kB / 0.6519 GB, free: 54.2 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 3.478e-05/0.221, allocations: 329.3 kB / 0.6523 GB, free: 53.88 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.831e-05/0.2211, allocations: 32.12 kB / 0.6523 GB, free: 53.88 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.19e-05/0.2211, allocations: 102.2 kB / 0.6524 GB, free: 53.78 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.883e-05/0.2212, allocations: 141 kB / 0.6525 GB, free: 53.68 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.2212, allocations: 1.594 kB / 0.6525 GB, free: 53.68 MB / 0.5573 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001441/0.2214, allocations: 156.5 kB / 0.6527 GB, free: 53.62 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.149e-05/0.2214, allocations: 6.281 kB / 0.6527 GB, free: 53.62 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.2214, allocations: 3.438 kB / 0.6527 GB, free: 53.62 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.169e-05/0.2214, allocations: 4.422 kB / 0.6527 GB, free: 53.62 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.435e-05/0.2215, allocations: 25.72 kB / 0.6527 GB, free: 53.62 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.2215, allocations: 3.438 kB / 0.6527 GB, free: 53.62 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.723e-05/0.2215, allocations: 16.22 kB / 0.6527 GB, free: 53.61 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.009e-05/0.2215, allocations: 13.12 kB / 0.6527 GB, free: 53.61 MB / 0.5573 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 6.356e-05/0.2216, allocations: 145.2 kB / 0.6529 GB, free: 53.49 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.855e-05/0.2216, allocations: 16.48 kB / 0.6529 GB, free: 53.48 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001308/0.2217, allocations: 119.3 kB / 0.653 GB, free: 53.44 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.2217, allocations: 0.9688 kB / 0.653 GB, free: 53.44 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.2217, allocations: 1.812 kB / 0.653 GB, free: 53.44 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.2217, allocations: 4.922 kB / 0.653 GB, free: 53.44 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001124/0.2219, allocations: 185.8 kB / 0.6532 GB, free: 53.28 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.61e-07/0.2219, allocations: 2.281 kB / 0.6532 GB, free: 53.28 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.556e-05/0.2219, allocations: 17.33 kB / 0.6532 GB, free: 53.28 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.022e-06/0.2219, allocations: 0 / 0.6532 GB, free: 53.28 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.831e-06/0.2219, allocations: 1.938 kB / 0.6532 GB, free: 53.28 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.2219, allocations: 2.656 kB / 0.6532 GB, free: 53.28 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.2219, allocations: 3.672 kB / 0.6532 GB, free: 53.28 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.631e-05/0.222, allocations: 196.4 kB / 0.6534 GB, free: 53.13 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 1.054e-05/0.222, allocations: 11.86 kB / 0.6534 GB, free: 53.13 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.157e-05/0.222, allocations: 0 / 0.6534 GB, free: 53.13 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001098/0.2221, allocations: 23.94 kB / 0.6534 GB, free: 53.12 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.337e-05/0.2221, allocations: 11.92 kB / 0.6534 GB, free: 53.12 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.401e-05/0.2222, allocations: 10.36 kB / 0.6535 GB, free: 53.12 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 7.568e-05/0.2222, allocations: 164.2 kB / 0.6536 GB, free: 53.04 MB / 0.5573 GB Notification: Performance of sort global known variables: time 6e-08/0.2222, allocations: 0.7812 kB / 0.6536 GB, free: 53.04 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.000188/0.2224, allocations: 40.28 kB / 0.6537 GB, free: 53.03 MB / 0.5573 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.0002869/0.2227, allocations: 0.7423 MB / 0.6544 GB, free: 52.36 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001111/0.2228, allocations: 72.69 kB / 0.6544 GB, free: 52.36 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.292e-06/0.2228, allocations: 0 / 0.6544 GB, free: 52.36 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 2.575e-05/0.2228, allocations: 26.89 kB / 0.6545 GB, free: 52.35 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002046/0.223, allocations: 19.33 kB / 0.6545 GB, free: 52.35 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001023/0.2241, allocations: 1.923 MB / 0.6564 GB, free: 50.82 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.866e-05/0.2241, allocations: 123 kB / 0.6565 GB, free: 50.73 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 7.705e-05/0.2242, allocations: 56.64 kB / 0.6565 GB, free: 50.73 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.87e-05/0.2243, allocations: 45.53 kB / 0.6566 GB, free: 50.71 MB / 0.5573 GB Notification: Performance of SimCode: time 4.81e-07/0.2243, allocations: 0 / 0.6566 GB, free: 50.71 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01622/0.2405, allocations: 5.07 MB / 0.6615 GB, free: 49.64 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.375/6.616, allocations: 5.125 kB / 0.6615 GB, free: 49.64 MB / 0.5573 GB " [Timeout remaining time 653] (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: 9.028037808835506] Failed to read output from testmodel.py, exit status != 0: 6.694183623418212 6.70063746 6.480610414 Calling exit ...