Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002124/0.002124, allocations: 113 kB / 18.14 MB, free: 3.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002027/0.002027, allocations: 198.2 kB / 21.43 MB, free: 412 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.425/1.425, allocations: 225.6 MB / 250.2 MB, free: 13.22 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.743/2.743, allocations: 476.7 MB / 0.7637 GB, free: 10.08 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_Buildings_Utilities_IO_Files_Validation_WeeklyScheduleWindowsLineEndings",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings,fileNamePrefix="Buildings_11_Buildings_Utilities_IO_Files_Validation_WeeklyScheduleWindowsLineEndings",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001912/0.001912, allocations: 63.91 kB / 1.108 GB, free: 7.031 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7995/0.8014, allocations: 168.7 MB / 1.273 GB, free: 4.332 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings): time 0.002801/0.8042, allocations: 1.511 MB / 1.274 GB, free: 2.812 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001608/0.8058, allocations: 1.194 MB / 1.275 GB, free: 1.613 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.422e-05/0.8058, allocations: 0 / 1.275 GB, free: 1.613 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001777/0.806, allocations: 19.86 kB / 1.275 GB, free: 1.594 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.00018/0.8062, allocations: 47.77 kB / 1.276 GB, free: 1.547 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002026/0.8064, allocations: 55.91 kB / 1.276 GB, free: 1.492 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002158/0.8066, allocations: 155.5 kB / 1.276 GB, free: 1.34 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001288/0.8067, allocations: 34.89 kB / 1.276 GB, free: 1.309 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001002/0.8068, allocations: 79.75 kB / 1.276 GB, free: 1.23 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001888/0.807, allocations: 63.64 kB / 1.276 GB, free: 1.168 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.535e-05/0.8071, allocations: 12 kB / 1.276 GB, free: 1.156 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 6.946e-05/0.8071, allocations: 27.98 kB / 1.276 GB, free: 1.129 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 7.279e-05/0.8072, allocations: 43.89 kB / 1.276 GB, free: 1.086 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 8.738e-05/0.8073, allocations: 79.56 kB / 1.276 GB, free: 1.008 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002707/0.8076, allocations: 203.2 kB / 1.276 GB, free: 0.8086 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.8076, allocations: 0 / 1.276 GB, free: 0.8086 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.353e-06/0.8076, allocations: 0 / 1.276 GB, free: 0.8086 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.901e-06/0.8076, allocations: 0 / 1.276 GB, free: 0.8086 MB / 0.9669 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.0007273/0.8083, allocations: 498.5 kB / 1.277 GB, free: 280 kB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.8083, allocations: 8.031 kB / 1.277 GB, free: 272 kB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.116e-05/0.8084, allocations: 38.75 kB / 1.277 GB, free: 224 kB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.784e-05/0.8085, allocations: 20.8 kB / 1.277 GB, free: 204 kB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003735/0.8088, allocations: 264 kB / 1.277 GB, free: 15.9 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001539/0.809, allocations: 119.4 kB / 1.277 GB, free: 15.76 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.488e-05/0.809, allocations: 4.375 kB / 1.277 GB, free: 15.76 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003779/0.8094, allocations: 168.5 kB / 1.277 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.156e-06/0.8094, allocations: 0 / 1.277 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.118e-05/0.8094, allocations: 3.938 kB / 1.277 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.452e-05/0.8094, allocations: 8 kB / 1.277 GB, free: 15.58 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.813e-05/0.8095, allocations: 47.91 kB / 1.277 GB, free: 15.53 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00109/0.8106, allocations: 460.4 kB / 1.278 GB, free: 15.03 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 7.813e-05/0.8107, allocations: 38.55 kB / 1.278 GB, free: 14.98 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.35e-05/0.8107, allocations: 24.84 kB / 1.278 GB, free: 14.96 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.43e-05/0.8108, allocations: 4 kB / 1.278 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.135e-05/0.8108, allocations: 34.56 kB / 1.278 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=8): time 1.203e-06/0.8108, allocations: 0 / 1.278 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8): time 0.0002737/0.8111, allocations: 109.7 kB / 1.278 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.943e-05/0.8111, allocations: 55.34 kB / 1.278 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002352/0.8113, allocations: 219.7 kB / 1.278 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.989e-05/0.8114, allocations: 25.7 kB / 1.278 GB, free: 14.46 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.24e-05/0.8115, allocations: 128.2 kB / 1.278 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.958e-05/0.8115, allocations: 31.73 kB / 1.278 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.191e-05/0.8115, allocations: 33.7 kB / 1.278 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001434/0.8117, allocations: 322.8 kB / 1.279 GB, free: 13.94 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.449e-05/0.8117, allocations: 23.98 kB / 1.279 GB, free: 13.92 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001108/0.8118, allocations: 106.2 kB / 1.279 GB, free: 13.78 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001749/0.812, allocations: 138.1 kB / 1.279 GB, free: 13.61 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.63e-06/0.812, allocations: 4 kB / 1.279 GB, free: 13.6 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002452/0.8123, allocations: 153.3 kB / 1.279 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.8123, allocations: 4 kB / 1.279 GB, free: 13.44 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.8123, allocations: 4 kB / 1.279 GB, free: 13.44 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/0.8123, allocations: 4 kB / 1.279 GB, free: 13.43 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001045/0.8124, allocations: 27.92 kB / 1.279 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.036e-05/0.8124, allocations: 8.312 kB / 1.279 GB, free: 13.4 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.706e-05/0.8125, allocations: 15.95 kB / 1.279 GB, free: 13.38 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.504e-05/0.8125, allocations: 11.94 kB / 1.279 GB, free: 13.37 MB / 0.9825 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.0001387/0.8126, allocations: 157.7 kB / 1.279 GB, free: 13.21 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.609e-05/0.8127, allocations: 11.91 kB / 1.279 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00022/0.8129, allocations: 112.2 kB / 1.28 GB, free: 13.09 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.8129, allocations: 0 / 1.28 GB, free: 13.09 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.742e-06/0.8129, allocations: 3.938 kB / 1.28 GB, free: 13.08 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.8129, allocations: 0 / 1.28 GB, free: 13.08 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002612/0.8132, allocations: 237.5 kB / 1.28 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.051e-06/0.8132, allocations: 0 / 1.28 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.951e-05/0.8132, allocations: 12 kB / 1.28 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.8132, allocations: 3.984 kB / 1.28 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.106e-05/0.8133, allocations: 8 kB / 1.28 GB, free: 12.78 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.8133, allocations: 3.938 kB / 1.28 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.8133, allocations: 3.938 kB / 1.28 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002186/0.8135, allocations: 187.3 kB / 1.28 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.592e-05/0.8135, allocations: 89.06 kB / 1.28 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.014e-05/0.8136, allocations: 4 kB / 1.28 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002485/0.8138, allocations: 19.97 kB / 1.28 GB, free: 12.44 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.309e-05/0.8138, allocations: 7.938 kB / 1.28 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.506e-05/0.8139, allocations: 11.98 kB / 1.28 GB, free: 12.42 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001515/0.814, allocations: 157.5 kB / 1.28 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.814, allocations: 0 / 1.28 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002982/0.8143, allocations: 35.94 kB / 1.28 GB, free: 12.23 MB / 0.9825 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.0006887/0.815, allocations: 0.7487 MB / 1.281 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001826/0.8152, allocations: 76.38 kB / 1.281 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.8152, allocations: 0 / 1.281 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.729e-05/0.8152, allocations: 23.98 kB / 1.281 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003063/0.8155, allocations: 22.06 kB / 1.281 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002109/0.8176, allocations: 1.936 MB / 1.283 GB, free: 9.258 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003616/0.818, allocations: 0.7275 MB / 1.284 GB, free: 8.504 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001204/0.8181, allocations: 59.7 kB / 1.284 GB, free: 8.453 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.546e-05/0.8182, allocations: 43.42 kB / 1.284 GB, free: 8.41 MB / 0.9825 GB Notification: Performance of SimCode: time 2.9e-07/0.8182, allocations: 0 / 1.284 GB, free: 8.41 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04116/0.8594, allocations: 4.247 MB / 1.288 GB, free: 4.297 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.175/9.035, allocations: 4.062 kB / 1.288 GB, free: 4.293 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.pipe ; mkfifo Buildings_11_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.pipe >> ../files/Buildings_11_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_IO_Files_Validation_WeeklyScheduleWindowsLineEndings_fmu --startTime=-10000 --stopTime=1e+06 --stepSize=404 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_IO_Files_Validation_WeeklyScheduleWindowsLineEndings.fmu > Buildings_11_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_IO_Files_Validation_WeeklyScheduleWindowsLineEndings.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 14.956841669045389]