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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006925/0.006925, allocations: 100.7 kB / 15.73 MB, free: 6.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0014/0.0014, allocations: 192.4 kB / 16.67 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.448/1.448, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.796/2.796, allocations: 461.9 MB / 0.7348 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00132/0.00132, allocations: 68.11 kB / 1.054 GB, free: 7.652 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3179/0.3193, allocations: 157.4 MB / 1.207 GB, free: 10.15 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings): time 0.002965/0.3223, allocations: 1.482 MB / 1.209 GB, free: 8.652 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.00174/0.324, allocations: 1.109 MB / 1.21 GB, free: 7.535 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.68e-05/0.3241, allocations: 4 kB / 1.21 GB, free: 7.531 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0002095/0.3244, allocations: 11.86 kB / 1.21 GB, free: 7.52 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0002376/0.3246, allocations: 47.77 kB / 1.21 GB, free: 7.473 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002479/0.3249, allocations: 66.3 kB / 1.21 GB, free: 7.41 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002325/0.3251, allocations: 139.6 kB / 1.21 GB, free: 7.273 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001906/0.3253, allocations: 77.02 kB / 1.21 GB, free: 7.199 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001513/0.3255, allocations: 79.7 kB / 1.21 GB, free: 7.121 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002054/0.3257, allocations: 59.7 kB / 1.21 GB, free: 7.062 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.637e-05/0.3258, allocations: 8 kB / 1.21 GB, free: 7.055 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 9.677e-05/0.3259, allocations: 31.98 kB / 1.21 GB, free: 7.023 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001176/0.326, allocations: 43.89 kB / 1.21 GB, free: 6.98 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001154/0.3261, allocations: 79.52 kB / 1.21 GB, free: 6.902 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000278/0.3264, allocations: 195.6 kB / 1.211 GB, free: 6.711 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.3264, allocations: 3.938 kB / 1.211 GB, free: 6.707 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.352e-06/0.3264, allocations: 4 kB / 1.211 GB, free: 6.703 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.006e-05/0.3264, allocations: 0 / 1.211 GB, free: 6.703 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.0007366/0.3272, allocations: 0.4909 MB / 1.211 GB, free: 6.164 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/0.3272, allocations: 8.625 kB / 1.211 GB, free: 6.156 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.053e-05/0.3273, allocations: 42.73 kB / 1.211 GB, free: 6.105 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.869e-05/0.3274, allocations: 20.66 kB / 1.211 GB, free: 6.086 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003084/0.3277, allocations: 240.1 kB / 1.211 GB, free: 5.812 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001481/0.3278, allocations: 127.3 kB / 1.212 GB, free: 5.664 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.522e-05/0.3279, allocations: 4.375 kB / 1.212 GB, free: 5.66 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003475/0.3282, allocations: 167.7 kB / 1.212 GB, free: 5.492 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.3282, allocations: 3.938 kB / 1.212 GB, free: 5.488 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.577e-05/0.3283, allocations: 8 kB / 1.212 GB, free: 5.48 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.751e-05/0.3283, allocations: 11.92 kB / 1.212 GB, free: 5.469 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.315e-05/0.3284, allocations: 39.97 kB / 1.212 GB, free: 5.43 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001131/0.3295, allocations: 464.3 kB / 1.212 GB, free: 4.926 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 7.734e-05/0.3296, allocations: 34.52 kB / 1.212 GB, free: 4.883 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.686e-05/0.3297, allocations: 28.84 kB / 1.212 GB, free: 4.852 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.438e-05/0.3297, allocations: 8.141 kB / 1.212 GB, free: 4.844 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.352e-05/0.3298, allocations: 38.55 kB / 1.212 GB, free: 4.797 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=8): time 1.533e-06/0.3298, allocations: 0 / 1.212 GB, free: 4.797 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8): time 0.0003141/0.3301, allocations: 105.4 kB / 1.212 GB, free: 4.688 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.785e-05/0.3302, allocations: 55.34 kB / 1.212 GB, free: 4.621 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002238/0.3304, allocations: 215.8 kB / 1.213 GB, free: 4.395 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.866e-05/0.3304, allocations: 25.7 kB / 1.213 GB, free: 4.363 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.397e-05/0.3305, allocations: 120 kB / 1.213 GB, free: 4.242 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.613e-05/0.3305, allocations: 31.7 kB / 1.213 GB, free: 4.211 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.763e-05/0.3306, allocations: 29.7 kB / 1.213 GB, free: 4.176 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001413/0.3307, allocations: 326.8 kB / 1.213 GB, free: 3.848 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.453e-05/0.3308, allocations: 35.97 kB / 1.213 GB, free: 3.812 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001066/0.3309, allocations: 102.2 kB / 1.213 GB, free: 3.676 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001699/0.3311, allocations: 138.2 kB / 1.213 GB, free: 3.504 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.3311, allocations: 0 / 1.213 GB, free: 3.504 MB / 0.9669 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002584/0.3314, allocations: 153.2 kB / 1.214 GB, free: 3.348 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.3314, allocations: 8 kB / 1.214 GB, free: 3.34 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.3314, allocations: 0 / 1.214 GB, free: 3.34 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.916e-05/0.3314, allocations: 4 kB / 1.214 GB, free: 3.336 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001039/0.3315, allocations: 31.86 kB / 1.214 GB, free: 3.305 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.718e-06/0.3316, allocations: 7.938 kB / 1.214 GB, free: 3.297 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.398e-05/0.3316, allocations: 8.312 kB / 1.214 GB, free: 3.289 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.668e-05/0.3317, allocations: 16 kB / 1.214 GB, free: 3.273 MB / 0.9669 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.0001305/0.3318, allocations: 141.8 kB / 1.214 GB, free: 3.125 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.538e-05/0.3319, allocations: 15.81 kB / 1.214 GB, free: 3.109 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002227/0.3321, allocations: 124.1 kB / 1.214 GB, free: 2.988 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.3321, allocations: 0 / 1.214 GB, free: 2.988 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.3321, allocations: 3.938 kB / 1.214 GB, free: 2.984 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.3321, allocations: 0 / 1.214 GB, free: 2.984 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002532/0.3324, allocations: 229.6 kB / 1.214 GB, free: 2.711 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.3324, allocations: 0 / 1.214 GB, free: 2.711 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.223e-05/0.3324, allocations: 19.94 kB / 1.214 GB, free: 2.691 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.3325, allocations: 4 kB / 1.214 GB, free: 2.688 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-06/0.3325, allocations: 0 / 1.214 GB, free: 2.688 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.3325, allocations: 80 / 1.214 GB, free: 2.688 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.616e-06/0.3325, allocations: 7.922 kB / 1.214 GB, free: 2.68 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002019/0.3327, allocations: 191.3 kB / 1.214 GB, free: 2.477 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.969e-05/0.3327, allocations: 88.91 kB / 1.214 GB, free: 2.371 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.888e-05/0.3328, allocations: 4 kB / 1.214 GB, free: 2.367 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002249/0.333, allocations: 19.98 kB / 1.214 GB, free: 2.348 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.871e-05/0.333, allocations: 15.86 kB / 1.214 GB, free: 2.332 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.556e-05/0.3331, allocations: 11.98 kB / 1.214 GB, free: 2.32 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001428/0.3332, allocations: 161.5 kB / 1.215 GB, free: 2.164 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3332, allocations: 4 kB / 1.215 GB, free: 2.16 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.000302/0.3335, allocations: 23.94 kB / 1.215 GB, free: 2.137 MB / 0.9669 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.0006287/0.3342, allocations: 0.7432 MB / 1.215 GB, free: 1.375 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001823/0.3344, allocations: 80.34 kB / 1.215 GB, free: 1.297 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3344, allocations: 0 / 1.215 GB, free: 1.297 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 3.965e-05/0.3344, allocations: 27.92 kB / 1.215 GB, free: 1.27 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003112/0.3347, allocations: 34.34 kB / 1.216 GB, free: 1.238 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002256/0.337, allocations: 1.913 MB / 1.217 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003415/0.3374, allocations: 0.7353 MB / 1.218 GB, free: 14.41 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001216/0.3375, allocations: 51.36 kB / 1.218 GB, free: 14.37 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.845e-05/0.3376, allocations: 47.41 kB / 1.218 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of SimCode: time 4.41e-07/0.3376, allocations: 0 / 1.218 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02504/0.3626, allocations: 4.258 MB / 1.222 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.005/8.368, allocations: 11.94 kB / 1.222 GB, free: 10.25 MB / 0.9825 GB (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 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_IO_Files_Validation_WeeklyScheduleWindowsLineEndings.fmu > Buildings_latest_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.pipe 2>&1) 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) Reference file matches