Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|timeSpan.2.|timeSpan.1.",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|timeSpan.2.|timeSpan.1.",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001412/0.001412, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00148/0.00148, allocations: 196.1 kB / 16.14 MB, free: 6.711 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.485/1.485, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.806/2.806, allocations: 437 MB / 0.7099 GB, free: 5.34 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00197/0.001971, allocations: 59.91 kB / 0.8686 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6841/0.6861, allocations: 151.6 MB / 1.017 GB, free: 2.785 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader): time 0.00251/0.6887, allocations: 1.303 MB / 1.018 GB, free: 1.473 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001084/0.6898, allocations: 0.6917 MB / 1.019 GB, free: 0.7773 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.503e-05/0.6898, allocations: 0 / 1.019 GB, free: 0.7773 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.514e-05/0.6898, allocations: 3.938 kB / 1.019 GB, free: 0.7734 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001826/0.69, allocations: 19.98 kB / 1.019 GB, free: 0.7539 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 7.025e-05/0.6901, allocations: 11.91 kB / 1.019 GB, free: 0.7422 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 6.401e-05/0.6902, allocations: 15.98 kB / 1.019 GB, free: 0.7266 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 4.279e-05/0.6902, allocations: 4 kB / 1.019 GB, free: 0.7227 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 1.737e-05/0.6903, allocations: 0 / 1.019 GB, free: 0.7227 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001556/0.6904, allocations: 10.03 kB / 1.019 GB, free: 0.7148 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.809e-05/0.6904, allocations: 0 / 1.019 GB, free: 0.7148 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 5.103e-05/0.6905, allocations: 15.91 kB / 1.019 GB, free: 0.6992 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 3.736e-05/0.6905, allocations: 0 / 1.019 GB, free: 0.6992 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.631e-05/0.6906, allocations: 7.938 kB / 1.019 GB, free: 0.6914 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 8.239e-05/0.6907, allocations: 19.97 kB / 1.019 GB, free: 0.6719 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.6907, allocations: 0 / 1.019 GB, free: 0.6719 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.142e-06/0.6907, allocations: 0 / 1.019 GB, free: 0.6719 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 7.254e-06/0.6907, allocations: 0 / 1.019 GB, free: 0.6719 MB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0003406/0.691, allocations: 323.5 kB / 1.019 GB, free: 312 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.289e-05/0.6911, allocations: 8.031 kB / 1.019 GB, free: 304 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.901e-05/0.6911, allocations: 76.22 kB / 1.019 GB, free: 228 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001924/0.6913, allocations: 239.7 kB / 1.019 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.241e-05/0.6914, allocations: 162.9 kB / 1.019 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.228e-05/0.6915, allocations: 150.9 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.964e-05/0.6916, allocations: 101.5 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.056e-05/0.6916, allocations: 75.47 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.689e-05/0.6917, allocations: 158.4 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.46e-05/0.6918, allocations: 154.6 kB / 1.02 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.368e-05/0.6918, allocations: 154.5 kB / 1.02 GB, free: 15 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003209/0.6922, allocations: 449.9 kB / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 9.105e-05/0.6923, allocations: 165.1 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.71e-05/0.6923, allocations: 84.08 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.455e-05/0.6924, allocations: 79.28 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.158e-05/0.6924, allocations: 113.8 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 9.21e-07/0.6924, allocations: 0 / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 7.847e-05/0.6925, allocations: 33.62 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.392e-05/0.6926, allocations: 126.7 kB / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001132/0.6927, allocations: 97.86 kB / 1.021 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.894e-05/0.6927, allocations: 25.7 kB / 1.021 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.556e-05/0.6928, allocations: 80.14 kB / 1.021 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.737e-06/0.6928, allocations: 4 kB / 1.021 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.699e-05/0.6928, allocations: 13.72 kB / 1.021 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001373/0.693, allocations: 310.8 kB / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.626e-06/0.693, allocations: 4 kB / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.671e-05/0.693, allocations: 11.92 kB / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.392e-05/0.6931, allocations: 79.38 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.067e-05/0.6931, allocations: 79.28 kB / 1.022 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.476e-05/0.6932, allocations: 25.7 kB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.654e-05/0.6932, allocations: 83.28 kB / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-05/0.6932, allocations: 79.22 kB / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.508e-05/0.6933, allocations: 154.5 kB / 1.022 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.027e-05/0.6934, allocations: 75.28 kB / 1.022 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.121e-05/0.6934, allocations: 166.5 kB / 1.022 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001259/0.6936, allocations: 79.27 kB / 1.023 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.167e-05/0.6936, allocations: 75.28 kB / 1.023 GB, free: 12.42 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (0): * Single equations (assignments): 0 * 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.000139/0.6938, allocations: 266.3 kB / 1.023 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.016e-05/0.6938, allocations: 101 kB / 1.023 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.543e-05/0.6939, allocations: 112.1 kB / 1.023 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.313e-05/0.694, allocations: 196.2 kB / 1.023 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.979e-05/0.6941, allocations: 176.5 kB / 1.023 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.481e-05/0.6941, allocations: 180.2 kB / 1.024 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000257/0.6944, allocations: 405.2 kB / 1.024 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.446e-05/0.6945, allocations: 105 kB / 1.024 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.809e-05/0.6945, allocations: 108.9 kB / 1.024 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.608e-05/0.6946, allocations: 176.3 kB / 1.024 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.108e-05/0.6947, allocations: 192.1 kB / 1.025 GB, free: 10.31 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.137e-05/0.6948, allocations: 180.2 kB / 1.025 GB, free: 10.13 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.799e-05/0.6949, allocations: 176.3 kB / 1.025 GB, free: 9.949 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001592/0.695, allocations: 307.8 kB / 1.025 GB, free: 9.625 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 9.027e-05/0.6951, allocations: 182 kB / 1.025 GB, free: 9.422 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.206e-05/0.6952, allocations: 188.2 kB / 1.026 GB, free: 9.23 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.281e-05/0.6953, allocations: 101 kB / 1.026 GB, free: 9.125 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.615e-05/0.6954, allocations: 188.2 kB / 1.026 GB, free: 8.934 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.142e-05/0.6954, allocations: 105 kB / 1.026 GB, free: 8.824 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.093e-05/0.6955, allocations: 79.28 kB / 1.026 GB, free: 8.746 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6955, allocations: 0 / 1.026 GB, free: 8.746 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002763/0.6958, allocations: 7.984 kB / 1.026 GB, free: 8.738 MB / 0.7794 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 (0): * Single equations (assignments): 0 * 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.0003748/0.6962, allocations: 190.7 kB / 1.026 GB, free: 8.547 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 5.064e-05/0.6962, allocations: 8.031 kB / 1.026 GB, free: 8.539 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.6962, allocations: 0 / 1.026 GB, free: 8.539 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.513e-06/0.6962, allocations: 4 kB / 1.026 GB, free: 8.535 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004688/0.6967, allocations: 0.5185 MB / 1.027 GB, free: 8.012 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003289/0.697, allocations: 169.2 kB / 1.027 GB, free: 7.82 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003198/0.6974, allocations: 0.6731 MB / 1.027 GB, free: 7.121 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.699e-05/0.6974, allocations: 7.875 kB / 1.028 GB, free: 7.113 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.654e-05/0.6974, allocations: 11.44 kB / 1.028 GB, free: 7.102 MB / 0.7794 GB Notification: Performance of SimCode: time 3.1e-07/0.6974, allocations: 0 / 1.028 GB, free: 7.102 MB / 0.7794 GB Notification: Performance of Templates: time 0.002698/0.7001, allocations: 314.1 kB / 1.028 GB, free: 6.824 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.sim & ./Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches