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.001432/0.001432, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.001895/0.001895, allocations: 216.9 kB / 22.25 MB, free: 5.105 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.543/1.543, allocations: 230.6 MB / 256 MB, free: 7.824 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.235/3.235, allocations: 0.49 GB / 0.7951 GB, free: 35.48 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.002111/0.002111, allocations: 67.06 kB / 1.154 GB, free: 25.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3484/0.3506, allocations: 176.1 MB / 1.326 GB, free: 1.512 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings): time 0.003342/0.3539, allocations: 1.501 MB / 1.327 GB, free: 4 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002043/0.3559, allocations: 1.204 MB / 1.328 GB, free: 14.79 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.146e-05/0.356, allocations: 3.938 kB / 1.328 GB, free: 14.79 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002089/0.3562, allocations: 27.84 kB / 1.329 GB, free: 14.76 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002226/0.3564, allocations: 43.72 kB / 1.329 GB, free: 14.72 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001988/0.3566, allocations: 58.17 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002113/0.3569, allocations: 143.6 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001891/0.357, allocations: 41.5 kB / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001064/0.3572, allocations: 79.7 kB / 1.329 GB, free: 14.4 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001816/0.3573, allocations: 51.77 kB / 1.329 GB, free: 14.35 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.07e-05/0.3574, allocations: 16 kB / 1.329 GB, free: 14.34 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 7.683e-05/0.3575, allocations: 27.98 kB / 1.329 GB, free: 14.31 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 9.453e-05/0.3575, allocations: 47.83 kB / 1.329 GB, free: 14.26 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 8.39e-05/0.3576, allocations: 59.7 kB / 1.329 GB, free: 14.2 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002832/0.3579, allocations: 211.1 kB / 1.329 GB, free: 14 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.3579, allocations: 0 / 1.329 GB, free: 14 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.844e-06/0.3579, allocations: 0 / 1.329 GB, free: 14 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.423e-06/0.3579, allocations: 0 / 1.329 GB, free: 14 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.0007395/0.3587, allocations: 425.3 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.533e-05/0.3587, allocations: 16.03 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.332e-05/0.3588, allocations: 42.73 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.747e-05/0.3588, allocations: 16.84 kB / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003372/0.3592, allocations: 202.5 kB / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002066/0.3594, allocations: 222.2 kB / 1.33 GB, free: 12.98 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.342e-05/0.3594, allocations: 4.375 kB / 1.33 GB, free: 12.98 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004114/0.3598, allocations: 266.5 kB / 1.33 GB, free: 12.69 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.719e-06/0.3598, allocations: 4 kB / 1.33 GB, free: 12.68 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.41e-05/0.3598, allocations: 7.938 kB / 1.33 GB, free: 12.68 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.515e-05/0.3599, allocations: 12 kB / 1.33 GB, free: 12.66 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.078e-05/0.36, allocations: 47.91 kB / 1.33 GB, free: 12.62 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001088/0.361, allocations: 395.6 kB / 1.331 GB, free: 12.19 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 8.964e-05/0.3611, allocations: 42.5 kB / 1.331 GB, free: 12.14 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.39e-05/0.3612, allocations: 20.84 kB / 1.331 GB, free: 12.11 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.025e-05/0.3612, allocations: 15.98 kB / 1.331 GB, free: 12.1 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.214e-05/0.3612, allocations: 38.5 kB / 1.331 GB, free: 12.05 MB / 1.029 GB Notification: Performance of pre-optimization done (n=8): time 1.092e-06/0.3612, allocations: 0 / 1.331 GB, free: 12.05 MB / 1.029 GB Notification: Performance of matching and sorting (n=8): time 0.0002975/0.3615, allocations: 109.7 kB / 1.331 GB, free: 11.94 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.368e-05/0.3616, allocations: 55.34 kB / 1.331 GB, free: 11.87 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000233/0.3618, allocations: 211.8 kB / 1.331 GB, free: 11.65 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.197e-05/0.3618, allocations: 25.7 kB / 1.331 GB, free: 11.62 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.672e-05/0.3619, allocations: 128.1 kB / 1.331 GB, free: 11.49 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.388e-05/0.362, allocations: 27.75 kB / 1.331 GB, free: 11.46 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.269e-05/0.362, allocations: 33.7 kB / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001415/0.3622, allocations: 326.8 kB / 1.332 GB, free: 11.1 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.141e-05/0.3622, allocations: 27.98 kB / 1.332 GB, free: 11.07 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001166/0.3623, allocations: 106.2 kB / 1.332 GB, free: 10.93 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001911/0.3625, allocations: 146.1 kB / 1.332 GB, free: 10.75 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.3625, allocations: 0 / 1.332 GB, free: 10.75 MB / 1.029 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002437/0.3628, allocations: 149.3 kB / 1.332 GB, free: 10.6 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.089e-05/0.3628, allocations: 8.375 kB / 1.332 GB, free: 10.59 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.039e-05/0.3628, allocations: 11.98 kB / 1.332 GB, free: 10.58 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/0.3628, allocations: 4 kB / 1.332 GB, free: 10.57 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001082/0.3629, allocations: 16 kB / 1.332 GB, free: 10.56 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.204e-05/0.363, allocations: 19.8 kB / 1.332 GB, free: 10.54 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.502e-05/0.363, allocations: 11.89 kB / 1.332 GB, free: 10.53 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.896e-05/0.363, allocations: 12 kB / 1.332 GB, free: 10.52 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.0001429/0.3632, allocations: 137.8 kB / 1.332 GB, free: 10.37 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.323e-05/0.3632, allocations: 15.91 kB / 1.332 GB, free: 10.36 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002515/0.3635, allocations: 121.1 kB / 1.333 GB, free: 10.23 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.3635, allocations: 4 kB / 1.333 GB, free: 10.23 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.3635, allocations: 7.938 kB / 1.333 GB, free: 10.22 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.3635, allocations: 3.984 kB / 1.333 GB, free: 10.21 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002668/0.3638, allocations: 184.7 kB / 1.333 GB, free: 9.992 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.3638, allocations: 0 / 1.333 GB, free: 9.992 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.898e-05/0.3638, allocations: 12 kB / 1.333 GB, free: 9.98 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.3638, allocations: 0 / 1.333 GB, free: 9.98 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.316e-06/0.3638, allocations: 0 / 1.333 GB, free: 9.98 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.829e-06/0.3638, allocations: 4 kB / 1.333 GB, free: 9.977 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.3638, allocations: 3.938 kB / 1.333 GB, free: 9.973 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002266/0.3641, allocations: 191.4 kB / 1.333 GB, free: 9.77 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.407e-05/0.3641, allocations: 11.91 kB / 1.333 GB, free: 9.758 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.344e-05/0.3641, allocations: 8 kB / 1.333 GB, free: 9.75 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002524/0.3644, allocations: 11.98 kB / 1.333 GB, free: 9.738 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.116e-05/0.3644, allocations: 15.92 kB / 1.333 GB, free: 9.723 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.598e-05/0.3644, allocations: 11.98 kB / 1.333 GB, free: 9.711 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000159/0.3646, allocations: 157.5 kB / 1.333 GB, free: 9.559 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3646, allocations: 3.938 kB / 1.333 GB, free: 9.555 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003012/0.3649, allocations: 27.94 kB / 1.333 GB, free: 9.527 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.0007072/0.3656, allocations: 0.7526 MB / 1.334 GB, free: 8.754 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001848/0.3658, allocations: 71.81 kB / 1.334 GB, free: 8.684 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.3658, allocations: 4 kB / 1.334 GB, free: 8.68 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 4.508e-05/0.3658, allocations: 20.73 kB / 1.334 GB, free: 8.66 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003365/0.3662, allocations: 31.94 kB / 1.334 GB, free: 8.629 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002198/0.3684, allocations: 1.913 MB / 1.336 GB, free: 6.562 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001321/0.3685, allocations: 122.1 kB / 1.336 GB, free: 6.422 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001304/0.3686, allocations: 62.42 kB / 1.336 GB, free: 6.371 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.368e-05/0.3687, allocations: 43.42 kB / 1.336 GB, free: 6.328 MB / 1.029 GB Notification: Performance of SimCode: time 5.21e-07/0.3687, allocations: 0 / 1.336 GB, free: 6.328 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03466/0.4034, allocations: 4.959 MB / 1.341 GB, free: 1.547 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.73/12.13, allocations: 12.36 kB / 1.341 GB, free: 1.539 MB / 1.029 GB " [Timeout remaining time 288] (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: 18.958278945996426]