Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001273/0.001273, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.00157/0.00157, allocations: 211.8 kB / 22.24 MB, free: 5.262 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.456/1.456, allocations: 230.6 MB / 256 MB, free: 7.773 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.199/3.199, allocations: 0.4892 GB / 0.7944 GB, free: 35.75 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_Buildings_Utilities_IO_Files_Validation_WeeklyScheduleWindowsLineEndings",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings,fileNamePrefix="Buildings_12_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.002177/0.002177, allocations: 65.62 kB / 1.153 GB, free: 26.01 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4522/0.4544, allocations: 176.1 MB / 1.325 GB, free: 2.543 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings): time 0.003318/0.4577, allocations: 1.501 MB / 1.327 GB, free: 1.035 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001997/0.4597, allocations: 1.2 MB / 1.328 GB, free: 15.83 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.553e-05/0.4598, allocations: 4 kB / 1.328 GB, free: 15.82 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002036/0.46, allocations: 19.86 kB / 1.328 GB, free: 15.8 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002255/0.4602, allocations: 35.78 kB / 1.328 GB, free: 15.77 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002149/0.4604, allocations: 67.83 kB / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002162/0.4606, allocations: 135.6 kB / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001524/0.4608, allocations: 45.48 kB / 1.328 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001165/0.4609, allocations: 83.7 kB / 1.328 GB, free: 15.44 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001774/0.4611, allocations: 55.7 kB / 1.328 GB, free: 15.39 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.411e-05/0.4611, allocations: 16 kB / 1.328 GB, free: 15.37 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001003/0.4612, allocations: 27.98 kB / 1.328 GB, free: 15.34 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.82e-05/0.4613, allocations: 47.83 kB / 1.328 GB, free: 15.3 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 8.55e-05/0.4614, allocations: 55.7 kB / 1.328 GB, free: 15.24 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003037/0.4617, allocations: 203.2 kB / 1.328 GB, free: 15.04 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.4617, allocations: 3.938 kB / 1.328 GB, free: 15.04 MB / 1.029 GB Notification: Performance of FrontEnd: time 4.078e-06/0.4617, allocations: 3.984 kB / 1.328 GB, free: 15.04 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.701e-06/0.4617, allocations: 0 / 1.328 GB, free: 15.04 MB / 1.029 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.0007574/0.4625, allocations: 435.2 kB / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.821e-05/0.4625, allocations: 12.03 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.252e-05/0.4626, allocations: 34.75 kB / 1.329 GB, free: 14.53 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.364e-05/0.4626, allocations: 28.78 kB / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003754/0.463, allocations: 198.8 kB / 1.329 GB, free: 14.28 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002256/0.4632, allocations: 222.2 kB / 1.329 GB, free: 14.02 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.045e-05/0.4632, allocations: 8.375 kB / 1.329 GB, free: 14.01 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004394/0.4637, allocations: 264.2 kB / 1.33 GB, free: 13.72 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.4637, allocations: 0 / 1.33 GB, free: 13.72 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.337e-05/0.4637, allocations: 8 kB / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.641e-05/0.4638, allocations: 11.98 kB / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.01e-05/0.4638, allocations: 42.08 kB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001292/0.4651, allocations: 407.5 kB / 1.33 GB, free: 13.22 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 9.412e-05/0.4652, allocations: 42.55 kB / 1.33 GB, free: 13.17 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.408e-05/0.4653, allocations: 20.86 kB / 1.33 GB, free: 13.14 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.208e-05/0.4653, allocations: 7.984 kB / 1.33 GB, free: 13.14 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.809e-05/0.4653, allocations: 38.56 kB / 1.33 GB, free: 13.09 MB / 1.029 GB Notification: Performance of pre-optimization done (n=8): time 1.724e-06/0.4653, allocations: 0 / 1.33 GB, free: 13.09 MB / 1.029 GB Notification: Performance of matching and sorting (n=8): time 0.0003067/0.4656, allocations: 101.5 kB / 1.33 GB, free: 12.98 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.918e-05/0.4657, allocations: 55.34 kB / 1.33 GB, free: 12.92 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002608/0.466, allocations: 215.8 kB / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.311e-05/0.466, allocations: 33.64 kB / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001003/0.4661, allocations: 124.2 kB / 1.331 GB, free: 12.53 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.114e-05/0.4661, allocations: 27.8 kB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.581e-05/0.4662, allocations: 29.72 kB / 1.331 GB, free: 12.47 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001674/0.4664, allocations: 334.8 kB / 1.331 GB, free: 12.13 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.526e-05/0.4664, allocations: 23.98 kB / 1.331 GB, free: 12.11 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001325/0.4666, allocations: 102.2 kB / 1.331 GB, free: 11.97 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001918/0.4667, allocations: 138.2 kB / 1.331 GB, free: 11.8 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.4667, allocations: 0 / 1.331 GB, free: 11.8 MB / 1.029 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002686/0.467, allocations: 153.6 kB / 1.331 GB, free: 11.64 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/0.467, allocations: 13.91 kB / 1.331 GB, free: 11.63 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.467, allocations: 4 kB / 1.331 GB, free: 11.63 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.4671, allocations: 0 / 1.331 GB, free: 11.63 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001153/0.4672, allocations: 27.92 kB / 1.331 GB, free: 11.6 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.154e-05/0.4672, allocations: 7.938 kB / 1.331 GB, free: 11.59 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.492e-05/0.4673, allocations: 11.89 kB / 1.331 GB, free: 11.58 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.536e-05/0.4673, allocations: 8 kB / 1.332 GB, free: 11.57 MB / 1.029 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.000171/0.4674, allocations: 145.8 kB / 1.332 GB, free: 11.42 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.482e-05/0.4675, allocations: 15.91 kB / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002701/0.4678, allocations: 129.6 kB / 1.332 GB, free: 11.27 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.4678, allocations: 4 kB / 1.332 GB, free: 11.27 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.266e-06/0.4678, allocations: 7.938 kB / 1.332 GB, free: 11.26 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.4678, allocations: 3.938 kB / 1.332 GB, free: 11.26 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002618/0.468, allocations: 180.7 kB / 1.332 GB, free: 11.04 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.468, allocations: 0 / 1.332 GB, free: 11.04 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.932e-05/0.4681, allocations: 19.92 kB / 1.332 GB, free: 11.02 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.4681, allocations: 3.938 kB / 1.332 GB, free: 11.02 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.915e-06/0.4681, allocations: 0 / 1.332 GB, free: 11.02 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.4681, allocations: 0 / 1.332 GB, free: 11.02 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.673e-06/0.4681, allocations: 11.94 kB / 1.332 GB, free: 11 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002298/0.4683, allocations: 183.4 kB / 1.332 GB, free: 10.81 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.733e-05/0.4684, allocations: 19.91 kB / 1.332 GB, free: 10.79 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.002e-05/0.4684, allocations: 0 / 1.332 GB, free: 10.79 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002408/0.4686, allocations: 19.97 kB / 1.332 GB, free: 10.77 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.144e-05/0.4686, allocations: 11.92 kB / 1.332 GB, free: 10.76 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.603e-05/0.4687, allocations: 15.98 kB / 1.332 GB, free: 10.74 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001804/0.4689, allocations: 157.5 kB / 1.332 GB, free: 10.59 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.4689, allocations: 0 / 1.332 GB, free: 10.59 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003029/0.4692, allocations: 31.94 kB / 1.332 GB, free: 10.56 MB / 1.029 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.0009672/0.4701, allocations: 0.7521 MB / 1.333 GB, free: 9.785 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001835/0.4703, allocations: 67.84 kB / 1.333 GB, free: 9.719 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.4703, allocations: 0.75 kB / 1.333 GB, free: 9.719 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 4.558e-05/0.4704, allocations: 27.92 kB / 1.333 GB, free: 9.691 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003546/0.4707, allocations: 29.61 kB / 1.333 GB, free: 9.664 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002637/0.4734, allocations: 1.905 MB / 1.335 GB, free: 7.605 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001601/0.4735, allocations: 122.1 kB / 1.335 GB, free: 7.465 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.000147/0.4737, allocations: 52.06 kB / 1.335 GB, free: 7.422 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001064/0.4738, allocations: 51.42 kB / 1.335 GB, free: 7.371 MB / 1.029 GB Notification: Performance of SimCode: time 7.42e-07/0.4738, allocations: 0 / 1.335 GB, free: 7.371 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03686/0.5106, allocations: 4.923 MB / 1.34 GB, free: 2.625 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.97/12.48, allocations: 12 kB / 1.34 GB, free: 2.617 MB / 1.029 GB " [Timeout remaining time 287] (rm -f Buildings_12_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.pipe ; mkfifo Buildings_12_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.pipe >> ../files/Buildings_12_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_IO_Files_Validation_WeeklyScheduleWindowsLineEndings_fmu --startTime=-10000 --stopTime=1e+06 --stepSize=404 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_IO_Files_Validation_WeeklyScheduleWindowsLineEndings.fmu > Buildings_12_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_IO_Files_Validation_WeeklyScheduleWindowsLineEndings.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.255973068997264]