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.001738/0.001738, 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.002321/0.002321, allocations: 217.7 kB / 22.26 MB, free: 5.125 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.551/1.551, 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/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.376/3.376, allocations: 0.505 GB / 0.8101 GB, free: 22 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="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"}) [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.002055/0.002055, allocations: 63.88 kB / 1.177 GB, free: 17.04 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4063/0.4084, allocations: 180.2 MB / 1.353 GB, free: 8.434 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings): time 0.003275/0.4117, allocations: 1.519 MB / 1.354 GB, free: 6.906 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001856/0.4135, allocations: 1.243 MB / 1.356 GB, free: 5.656 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.873e-05/0.4136, allocations: 0 / 1.356 GB, free: 5.656 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0002017/0.4138, allocations: 15.86 kB / 1.356 GB, free: 5.641 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.000187/0.414, allocations: 43.78 kB / 1.356 GB, free: 5.598 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002022/0.4142, allocations: 64.52 kB / 1.356 GB, free: 5.535 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002527/0.4144, allocations: 155.6 kB / 1.356 GB, free: 5.383 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001522/0.4146, allocations: 29.52 kB / 1.356 GB, free: 5.355 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001219/0.4147, allocations: 87.75 kB / 1.356 GB, free: 5.27 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002188/0.4149, allocations: 59.69 kB / 1.356 GB, free: 5.211 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 5.344e-05/0.415, allocations: 12 kB / 1.356 GB, free: 5.199 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 8.548e-05/0.4151, allocations: 24 kB / 1.356 GB, free: 5.176 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 9.89e-05/0.4152, allocations: 55.81 kB / 1.356 GB, free: 5.121 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001079/0.4153, allocations: 75.58 kB / 1.356 GB, free: 5.047 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0003204/0.4156, allocations: 191.2 kB / 1.356 GB, free: 4.859 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.4156, allocations: 0 / 1.356 GB, free: 4.859 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.084e-06/0.4156, allocations: 4 kB / 1.356 GB, free: 4.855 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.124e-06/0.4156, allocations: 3.938 kB / 1.356 GB, free: 4.852 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.0008728/0.4165, allocations: 425.4 kB / 1.357 GB, free: 4.406 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.001e-05/0.4165, allocations: 19.91 kB / 1.357 GB, free: 4.387 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.281e-05/0.4166, allocations: 34.75 kB / 1.357 GB, free: 4.344 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.971e-05/0.4167, allocations: 24.8 kB / 1.357 GB, free: 4.32 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000364/0.417, allocations: 194.2 kB / 1.357 GB, free: 4.105 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002465/0.4173, allocations: 226.2 kB / 1.357 GB, free: 3.836 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.613e-05/0.4173, allocations: 4.375 kB / 1.357 GB, free: 3.832 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003837/0.4177, allocations: 165.4 kB / 1.357 GB, free: 3.664 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.4177, allocations: 0 / 1.357 GB, free: 3.664 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.72e-05/0.4177, allocations: 8 kB / 1.357 GB, free: 3.656 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.624e-05/0.4177, allocations: 4 kB / 1.357 GB, free: 3.652 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001022/0.4178, allocations: 43.97 kB / 1.357 GB, free: 3.609 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00118/0.419, allocations: 431.5 kB / 1.358 GB, free: 3.145 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 8.294e-05/0.4191, allocations: 38.56 kB / 1.358 GB, free: 3.098 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.535e-05/0.4192, allocations: 20.86 kB / 1.358 GB, free: 3.074 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.242e-05/0.4192, allocations: 7.984 kB / 1.358 GB, free: 3.066 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.709e-05/0.4192, allocations: 38.56 kB / 1.358 GB, free: 3.02 MB / 1.045 GB Notification: Performance of pre-optimization done (n=8): time 1.232e-06/0.4192, allocations: 0 / 1.358 GB, free: 3.02 MB / 1.045 GB Notification: Performance of matching and sorting (n=8): time 0.0002884/0.4195, allocations: 109.7 kB / 1.358 GB, free: 2.906 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.904e-05/0.4196, allocations: 59.34 kB / 1.358 GB, free: 2.836 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002527/0.4198, allocations: 215.8 kB / 1.358 GB, free: 2.613 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.04e-05/0.4198, allocations: 25.7 kB / 1.358 GB, free: 2.582 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001022/0.4199, allocations: 128.1 kB / 1.358 GB, free: 2.453 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.979e-05/0.42, allocations: 31.8 kB / 1.358 GB, free: 2.422 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.979e-05/0.42, allocations: 25.72 kB / 1.359 GB, free: 2.391 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001565/0.4202, allocations: 330.8 kB / 1.359 GB, free: 2.059 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.668e-05/0.4202, allocations: 27.92 kB / 1.359 GB, free: 2.031 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001222/0.4204, allocations: 98.28 kB / 1.359 GB, free: 1.898 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002005/0.4206, allocations: 142.1 kB / 1.359 GB, free: 1.723 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.4206, allocations: 0 / 1.359 GB, free: 1.723 MB / 1.045 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002561/0.4208, allocations: 157.3 kB / 1.359 GB, free: 1.562 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.4208, allocations: 6.188 kB / 1.359 GB, free: 1.559 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.4208, allocations: 4 kB / 1.359 GB, free: 1.555 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.682e-05/0.4209, allocations: 4 kB / 1.359 GB, free: 1.551 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001149/0.421, allocations: 27.92 kB / 1.359 GB, free: 1.523 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.218e-06/0.421, allocations: 3.938 kB / 1.359 GB, free: 1.52 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.211e-05/0.4211, allocations: 12.31 kB / 1.359 GB, free: 1.508 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.213e-05/0.4211, allocations: 12 kB / 1.359 GB, free: 1.496 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.0001411/0.4212, allocations: 145.7 kB / 1.359 GB, free: 1.344 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.395e-05/0.4213, allocations: 15.91 kB / 1.359 GB, free: 1.328 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002415/0.4215, allocations: 121.4 kB / 1.36 GB, free: 1.203 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.4215, allocations: 4 kB / 1.36 GB, free: 1.199 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/0.4215, allocations: 7.938 kB / 1.36 GB, free: 1.191 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.4215, allocations: 0 / 1.36 GB, free: 1.191 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002696/0.4218, allocations: 204.6 kB / 1.36 GB, free: 0.9492 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.4218, allocations: 0 / 1.36 GB, free: 0.9492 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.129e-05/0.4218, allocations: 19.94 kB / 1.36 GB, free: 0.9297 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.4218, allocations: 0 / 1.36 GB, free: 0.9297 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.492e-05/0.4219, allocations: 11.98 kB / 1.36 GB, free: 0.918 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.4219, allocations: 3.938 kB / 1.36 GB, free: 0.9141 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.4219, allocations: 3.938 kB / 1.36 GB, free: 0.9102 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002327/0.4221, allocations: 179.4 kB / 1.36 GB, free: 0.7188 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 2.447e-05/0.4221, allocations: 11.91 kB / 1.36 GB, free: 0.707 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.339e-05/0.4221, allocations: 7.938 kB / 1.36 GB, free: 0.6992 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002401/0.4224, allocations: 23.97 kB / 1.36 GB, free: 0.6758 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.864e-05/0.4224, allocations: 7.938 kB / 1.36 GB, free: 0.668 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.67e-05/0.4224, allocations: 15.97 kB / 1.36 GB, free: 0.6523 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001842/0.4226, allocations: 161.5 kB / 1.36 GB, free: 0.4961 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4226, allocations: 0 / 1.36 GB, free: 0.4961 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0003094/0.4229, allocations: 39.88 kB / 1.36 GB, free: 468 kB / 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.000793/0.4237, allocations: 0.7426 MB / 1.361 GB, free: 15.69 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001904/0.4239, allocations: 80.38 kB / 1.361 GB, free: 15.61 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.113e-06/0.4239, allocations: 0 / 1.361 GB, free: 15.61 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 4.8e-05/0.424, allocations: 27.92 kB / 1.361 GB, free: 15.59 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003148/0.4243, allocations: 15.94 kB / 1.361 GB, free: 15.57 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002286/0.4266, allocations: 1.915 MB / 1.363 GB, free: 13.51 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004086/0.427, allocations: 0.7352 MB / 1.364 GB, free: 12.75 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001192/0.4271, allocations: 50.31 kB / 1.364 GB, free: 12.7 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.404e-05/0.4272, allocations: 47.42 kB / 1.364 GB, free: 12.66 MB / 1.061 GB Notification: Performance of SimCode: time 3.3e-07/0.4272, allocations: 0 / 1.364 GB, free: 12.66 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03736/0.4645, allocations: 4.386 MB / 1.368 GB, free: 8.434 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.84/12.3, allocations: 16.84 kB / 1.368 GB, free: 8.422 MB / 1.061 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.3483206811361]