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.005095/0.005095, allocations: 99.31 kB / 15.73 MB, free: 6.047 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.001198/0.001199, allocations: 186.3 kB / 16.67 MB, free: 5.977 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.501/1.501, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.85/2.85, allocations: 461.9 MB / 0.7348 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001527/0.001527, allocations: 60.12 kB / 1.054 GB, free: 7.715 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2988/0.3003, allocations: 157.4 MB / 1.207 GB, free: 10.21 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings): time 0.002798/0.3032, allocations: 1.47 MB / 1.209 GB, free: 8.723 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001534/0.3047, allocations: 1.117 MB / 1.21 GB, free: 7.598 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.4e-05/0.3048, allocations: 7.938 kB / 1.21 GB, free: 7.59 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001898/0.305, allocations: 19.86 kB / 1.21 GB, free: 7.57 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001945/0.3052, allocations: 47.77 kB / 1.21 GB, free: 7.523 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002017/0.3055, allocations: 53.53 kB / 1.21 GB, free: 7.473 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001961/0.3057, allocations: 143.6 kB / 1.21 GB, free: 7.332 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001675/0.3058, allocations: 69.02 kB / 1.21 GB, free: 7.266 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001095/0.3059, allocations: 87.69 kB / 1.21 GB, free: 7.18 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001792/0.3061, allocations: 57.67 kB / 1.21 GB, free: 7.125 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.338e-05/0.3062, allocations: 12 kB / 1.21 GB, free: 7.113 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 8.523e-05/0.3063, allocations: 28 kB / 1.21 GB, free: 7.086 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 7.847e-05/0.3064, allocations: 47.88 kB / 1.21 GB, free: 7.039 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 8.879e-05/0.3065, allocations: 83.52 kB / 1.21 GB, free: 6.957 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000262/0.3067, allocations: 199.6 kB / 1.211 GB, free: 6.762 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.72e-06/0.3067, allocations: 4 kB / 1.211 GB, free: 6.758 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.412e-06/0.3068, allocations: 0 / 1.211 GB, free: 6.758 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.097e-05/0.3068, allocations: 0 / 1.211 GB, free: 6.758 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.0006924/0.3075, allocations: 494.7 kB / 1.211 GB, free: 6.227 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.3075, allocations: 12.61 kB / 1.211 GB, free: 6.215 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.041e-05/0.3076, allocations: 38.75 kB / 1.211 GB, free: 6.168 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.19e-05/0.3077, allocations: 24.66 kB / 1.211 GB, free: 6.145 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003202/0.308, allocations: 252 kB / 1.211 GB, free: 5.859 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001373/0.3081, allocations: 119.4 kB / 1.212 GB, free: 5.719 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.746e-05/0.3081, allocations: 4.375 kB / 1.212 GB, free: 5.715 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000348/0.3085, allocations: 157.5 kB / 1.212 GB, free: 5.555 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.286e-06/0.3085, allocations: 3.938 kB / 1.212 GB, free: 5.551 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.429e-05/0.3085, allocations: 8 kB / 1.212 GB, free: 5.543 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.081e-05/0.3086, allocations: 11.92 kB / 1.212 GB, free: 5.531 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.287e-05/0.3087, allocations: 47.97 kB / 1.212 GB, free: 5.484 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001089/0.3098, allocations: 460.3 kB / 1.212 GB, free: 4.984 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 7.372e-05/0.3099, allocations: 38.56 kB / 1.212 GB, free: 4.938 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.387e-05/0.3099, allocations: 28.8 kB / 1.212 GB, free: 4.906 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.639e-05/0.31, allocations: 3.984 kB / 1.212 GB, free: 4.902 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.534e-05/0.31, allocations: 34.56 kB / 1.212 GB, free: 4.859 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=8): time 1.533e-06/0.31, allocations: 0 / 1.212 GB, free: 4.859 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8): time 0.0002664/0.3103, allocations: 101.6 kB / 1.212 GB, free: 4.754 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.37e-05/0.3103, allocations: 55.34 kB / 1.212 GB, free: 4.688 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000207/0.3105, allocations: 215.8 kB / 1.213 GB, free: 4.461 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.495e-05/0.3105, allocations: 29.7 kB / 1.213 GB, free: 4.426 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.163e-05/0.3106, allocations: 124 kB / 1.213 GB, free: 4.301 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.624e-05/0.3107, allocations: 31.69 kB / 1.213 GB, free: 4.27 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.065e-05/0.3107, allocations: 29.72 kB / 1.213 GB, free: 4.234 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 9.73e-05/0.3108, allocations: 322.8 kB / 1.213 GB, free: 3.91 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.367e-05/0.3109, allocations: 35.91 kB / 1.213 GB, free: 3.875 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.312e-05/0.311, allocations: 98.28 kB / 1.213 GB, free: 3.742 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001561/0.3111, allocations: 138.2 kB / 1.213 GB, free: 3.57 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.3111, allocations: 7.938 kB / 1.213 GB, free: 3.562 MB / 0.9669 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002403/0.3114, allocations: 149.2 kB / 1.214 GB, free: 3.41 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.3114, allocations: 8 kB / 1.214 GB, free: 3.402 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.3114, allocations: 0 / 1.214 GB, free: 3.402 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.3114, allocations: 4.375 kB / 1.214 GB, free: 3.398 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001053/0.3116, allocations: 31.92 kB / 1.214 GB, free: 3.367 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.16e-05/0.3116, allocations: 11.88 kB / 1.214 GB, free: 3.355 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.873e-05/0.3116, allocations: 11.94 kB / 1.214 GB, free: 3.344 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.312e-05/0.3117, allocations: 8 kB / 1.214 GB, free: 3.336 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.0001149/0.3118, allocations: 137.8 kB / 1.214 GB, free: 3.191 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.688e-05/0.3118, allocations: 15.81 kB / 1.214 GB, free: 3.176 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002229/0.3121, allocations: 128.6 kB / 1.214 GB, free: 3.051 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.3121, allocations: 0 / 1.214 GB, free: 3.051 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.3121, allocations: 3.938 kB / 1.214 GB, free: 3.047 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.3121, allocations: 4 kB / 1.214 GB, free: 3.043 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002247/0.3123, allocations: 233.5 kB / 1.214 GB, free: 2.766 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.3124, allocations: 4 kB / 1.214 GB, free: 2.762 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.831e-05/0.3124, allocations: 12 kB / 1.214 GB, free: 2.75 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.978e-06/0.3124, allocations: 3.984 kB / 1.214 GB, free: 2.746 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.696e-06/0.3124, allocations: 8 kB / 1.214 GB, free: 2.738 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.654e-06/0.3124, allocations: 3.938 kB / 1.214 GB, free: 2.734 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.389e-06/0.3124, allocations: 7.922 kB / 1.214 GB, free: 2.727 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000184/0.3126, allocations: 187.3 kB / 1.214 GB, free: 2.527 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.315e-05/0.3127, allocations: 88.92 kB / 1.214 GB, free: 2.422 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.066e-05/0.3127, allocations: 4 kB / 1.214 GB, free: 2.418 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002596/0.313, allocations: 15.98 kB / 1.214 GB, free: 2.402 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.99e-05/0.313, allocations: 11.92 kB / 1.214 GB, free: 2.391 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.497e-05/0.313, allocations: 11.98 kB / 1.214 GB, free: 2.379 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001316/0.3132, allocations: 157.5 kB / 1.215 GB, free: 2.227 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.51e-07/0.3132, allocations: 0 / 1.215 GB, free: 2.227 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003116/0.3135, allocations: 35.94 kB / 1.215 GB, free: 2.191 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.0005537/0.3141, allocations: 0.7497 MB / 1.215 GB, free: 1.422 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.000171/0.3143, allocations: 79.88 kB / 1.215 GB, free: 1.344 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.3143, allocations: 0 / 1.215 GB, free: 1.344 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 4.032e-05/0.3143, allocations: 23.94 kB / 1.215 GB, free: 1.32 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003092/0.3146, allocations: 22.36 kB / 1.215 GB, free: 1.301 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001833/0.3165, allocations: 1.913 MB / 1.217 GB, free: 15.24 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002775/0.3168, allocations: 0.7314 MB / 1.218 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001197/0.3169, allocations: 54.22 kB / 1.218 GB, free: 14.43 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.095e-05/0.317, allocations: 47.36 kB / 1.218 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of SimCode: time 2.3e-07/0.317, allocations: 0 / 1.218 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02337/0.3403, allocations: 4.317 MB / 1.222 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.03/8.371, allocations: 4 kB / 1.222 GB, free: 10.26 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