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.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.001598/0.001598, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.002059/0.002059, allocations: 217 kB / 23.04 MB, free: 5.074 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.636/1.636, allocations: 230.6 MB / 256.8 MB, free: 7.965 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.36/3.36, allocations: 0.5003 GB / 0.8061 GB, free: 26.79 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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(Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings,fileNamePrefix="Buildings_latest_Buildings_Utilities_IO_Files_Validation_WeeklyScheduleWindowsLineEndings",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings,fileNamePrefix="Buildings_latest_Buildings_Utilities_IO_Files_Validation_WeeklyScheduleWindowsLineEndings",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings 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.002705/0.002705, allocations: 67.28 kB / 1.171 GB, free: 19.76 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4126/0.4153, allocations: 179 MB / 1.345 GB, free: 464 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings): time 0.003586/0.4189, allocations: 1.513 MB / 1.347 GB, free: 14.93 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001936/0.4208, allocations: 1.231 MB / 1.348 GB, free: 13.69 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.605e-05/0.4209, allocations: 11.94 kB / 1.348 GB, free: 13.68 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.000187/0.4211, allocations: 27.78 kB / 1.348 GB, free: 13.65 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.000193/0.4213, allocations: 35.78 kB / 1.348 GB, free: 13.61 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002275/0.4215, allocations: 56.98 kB / 1.348 GB, free: 13.56 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002339/0.4217, allocations: 151.6 kB / 1.348 GB, free: 13.41 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001859/0.4219, allocations: 41.48 kB / 1.348 GB, free: 13.37 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001421/0.4221, allocations: 87.7 kB / 1.348 GB, free: 13.29 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002247/0.4223, allocations: 53.52 kB / 1.348 GB, free: 13.23 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.336e-05/0.4223, allocations: 16 kB / 1.348 GB, free: 13.22 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 7.877e-05/0.4224, allocations: 24 kB / 1.348 GB, free: 13.2 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 8.66e-05/0.4225, allocations: 51.81 kB / 1.349 GB, free: 13.14 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 9.333e-05/0.4226, allocations: 79.58 kB / 1.349 GB, free: 13.07 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002905/0.4229, allocations: 199.2 kB / 1.349 GB, free: 12.87 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.69e-06/0.4229, allocations: 3.938 kB / 1.349 GB, free: 12.87 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.373e-06/0.4229, allocations: 0 / 1.349 GB, free: 12.87 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.032e-06/0.4229, allocations: 0 / 1.349 GB, free: 12.87 MB / 1.045 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.0007085/0.4236, allocations: 433.3 kB / 1.349 GB, free: 12.41 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.4236, allocations: 8.031 kB / 1.349 GB, free: 12.41 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.292e-05/0.4236, allocations: 4.188 kB / 1.349 GB, free: 12.4 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.729e-05/0.4237, allocations: 38.75 kB / 1.349 GB, free: 12.36 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.782e-05/0.4238, allocations: 20.8 kB / 1.349 GB, free: 12.34 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003075/0.4241, allocations: 205.9 kB / 1.349 GB, free: 12.11 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002002/0.4243, allocations: 218.2 kB / 1.35 GB, free: 11.85 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.99e-05/0.4243, allocations: 12.12 kB / 1.35 GB, free: 11.84 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000345/0.4246, allocations: 157.6 kB / 1.35 GB, free: 11.68 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.014e-06/0.4246, allocations: 4 kB / 1.35 GB, free: 11.67 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.942e-05/0.4247, allocations: 0 / 1.35 GB, free: 11.67 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.725e-05/0.4247, allocations: 15.98 kB / 1.35 GB, free: 11.66 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.237e-05/0.4248, allocations: 35.98 kB / 1.35 GB, free: 11.62 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001112/0.4259, allocations: 427.5 kB / 1.35 GB, free: 11.16 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 8.549e-05/0.426, allocations: 38.5 kB / 1.35 GB, free: 11.11 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.001e-05/0.426, allocations: 29 kB / 1.35 GB, free: 11.08 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.693e-05/0.426, allocations: 3.984 kB / 1.35 GB, free: 11.08 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.002e-05/0.4261, allocations: 38.56 kB / 1.35 GB, free: 11.03 MB / 1.045 GB Notification: Performance of pre-optimization done (n=8): time 1.192e-06/0.4261, allocations: 4 kB / 1.35 GB, free: 11.03 MB / 1.045 GB Notification: Performance of matching and sorting (n=8): time 0.0002854/0.4264, allocations: 97.58 kB / 1.351 GB, free: 10.93 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.497e-05/0.4264, allocations: 59.34 kB / 1.351 GB, free: 10.86 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000245/0.4267, allocations: 211.8 kB / 1.351 GB, free: 10.64 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.279e-05/0.4267, allocations: 29.7 kB / 1.351 GB, free: 10.6 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 9.448e-05/0.4268, allocations: 128.1 kB / 1.351 GB, free: 10.47 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.69e-05/0.4268, allocations: 27.78 kB / 1.351 GB, free: 10.45 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.377e-05/0.4269, allocations: 37.64 kB / 1.351 GB, free: 10.4 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001638/0.427, allocations: 338.7 kB / 1.351 GB, free: 10.06 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.487e-05/0.4271, allocations: 23.98 kB / 1.351 GB, free: 10.04 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001258/0.4272, allocations: 98.28 kB / 1.351 GB, free: 9.906 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001929/0.4274, allocations: 142.1 kB / 1.352 GB, free: 9.73 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.07e-06/0.4274, allocations: 4 kB / 1.352 GB, free: 9.727 MB / 1.045 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002606/0.4277, allocations: 153.5 kB / 1.352 GB, free: 9.57 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/0.4277, allocations: 6.031 kB / 1.352 GB, free: 9.566 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.241e-06/0.4277, allocations: 4 kB / 1.352 GB, free: 9.562 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.849e-05/0.4277, allocations: 4 kB / 1.352 GB, free: 9.559 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001238/0.4278, allocations: 27.92 kB / 1.352 GB, free: 9.531 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.822e-05/0.4279, allocations: 7.938 kB / 1.352 GB, free: 9.523 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.221e-05/0.4279, allocations: 7.938 kB / 1.352 GB, free: 9.516 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.265e-05/0.4279, allocations: 4 kB / 1.352 GB, free: 9.512 MB / 1.045 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.0001399/0.4281, allocations: 150.8 kB / 1.352 GB, free: 9.355 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.498e-05/0.4281, allocations: 11.91 kB / 1.352 GB, free: 9.344 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002437/0.4284, allocations: 128.2 kB / 1.352 GB, free: 9.211 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.888e-06/0.4284, allocations: 3.938 kB / 1.352 GB, free: 9.207 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.4284, allocations: 0 / 1.352 GB, free: 9.207 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.4284, allocations: 0 / 1.352 GB, free: 9.207 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002599/0.4286, allocations: 208.6 kB / 1.352 GB, free: 8.961 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.4286, allocations: 0 / 1.352 GB, free: 8.961 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.852e-05/0.4287, allocations: 12 kB / 1.352 GB, free: 8.949 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.4287, allocations: 0 / 1.352 GB, free: 8.949 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.467e-06/0.4287, allocations: 7.984 kB / 1.352 GB, free: 8.941 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.4287, allocations: 7.938 kB / 1.352 GB, free: 8.934 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.4287, allocations: 4.328 kB / 1.352 GB, free: 8.93 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002357/0.4289, allocations: 195.3 kB / 1.352 GB, free: 8.723 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 2.294e-05/0.429, allocations: 15.91 kB / 1.352 GB, free: 8.707 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.005e-05/0.429, allocations: 0 / 1.352 GB, free: 8.707 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002796/0.4293, allocations: 23.91 kB / 1.352 GB, free: 8.684 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.886e-05/0.4293, allocations: 8 kB / 1.352 GB, free: 8.676 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.768e-05/0.4293, allocations: 15.97 kB / 1.353 GB, free: 8.66 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001765/0.4295, allocations: 153.5 kB / 1.353 GB, free: 8.512 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4295, allocations: 0 / 1.353 GB, free: 8.512 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0003118/0.4298, allocations: 35.89 kB / 1.353 GB, free: 8.477 MB / 1.045 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.0007232/0.4305, allocations: 0.7487 MB / 1.353 GB, free: 7.707 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001968/0.4307, allocations: 67.89 kB / 1.353 GB, free: 7.641 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.4307, allocations: 0.75 kB / 1.353 GB, free: 7.641 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 4.447e-05/0.4308, allocations: 27.92 kB / 1.354 GB, free: 7.613 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003214/0.4311, allocations: 29.09 kB / 1.354 GB, free: 7.586 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002286/0.4334, allocations: 1.913 MB / 1.355 GB, free: 5.523 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00039/0.4338, allocations: 0.7352 MB / 1.356 GB, free: 4.762 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001306/0.4339, allocations: 56.19 kB / 1.356 GB, free: 4.715 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.509e-05/0.434, allocations: 43.42 kB / 1.356 GB, free: 4.672 MB / 1.045 GB Notification: Performance of SimCode: time 9.82e-07/0.434, allocations: 0 / 1.356 GB, free: 4.672 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02732/0.4613, allocations: 4.425 MB / 1.361 GB, free: 440 kB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.83/12.29, allocations: 22.2 kB / 1.361 GB, free: 424 kB / 1.045 GB " [Timeout remaining time 288] (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 --stepSize=404 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_IO_Files_Validation_WeeklyScheduleWindowsLineEndings.fmu > Buildings_latest_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_IO_Files_Validation_WeeklyScheduleWindowsLineEndings.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.6930144400103]