Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|timeSpan.2.|timeSpan.1.",fileNamePrefix="Buildings_latest_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_latest_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.001469/0.001469, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001849/0.001849, allocations: 200 kB / 16.79 MB, free: 6.828 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.415/1.415, allocations: 222.9 MB / 240.5 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.831/2.831, allocations: 461.8 MB / 0.7348 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001318/0.001318, allocations: 65.66 kB / 0.899 GB, free: 37.04 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3604/0.3618, allocations: 157.4 MB / 1.053 GB, free: 8.285 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader): time 0.003089/0.3649, allocations: 1.309 MB / 1.054 GB, free: 6.961 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001278/0.3662, allocations: 0.7033 MB / 1.055 GB, free: 6.254 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.405e-05/0.3663, allocations: 0 / 1.055 GB, free: 6.254 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.98e-05/0.3664, allocations: 0 / 1.055 GB, free: 6.254 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002578/0.3666, allocations: 15.97 kB / 1.055 GB, free: 6.238 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 8.277e-05/0.3667, allocations: 4 kB / 1.055 GB, free: 6.234 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.728e-05/0.3668, allocations: 19.92 kB / 1.055 GB, free: 6.215 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 5.159e-05/0.3669, allocations: 0 / 1.055 GB, free: 6.215 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.494e-05/0.3669, allocations: 4 kB / 1.055 GB, free: 6.211 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001821/0.3671, allocations: 15.97 kB / 1.055 GB, free: 6.195 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.459e-05/0.3671, allocations: 0 / 1.055 GB, free: 6.195 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 5.747e-05/0.3672, allocations: 4 kB / 1.055 GB, free: 6.191 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.719e-05/0.3672, allocations: 4 kB / 1.055 GB, free: 6.188 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.465e-05/0.3673, allocations: 11.92 kB / 1.055 GB, free: 6.176 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 8.33e-05/0.3673, allocations: 11.98 kB / 1.055 GB, free: 6.164 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.3674, allocations: 0 / 1.055 GB, free: 6.164 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.032e-06/0.3674, allocations: 0 / 1.055 GB, free: 6.164 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.922e-06/0.3674, allocations: 0 / 1.055 GB, free: 6.164 MB / 0.8106 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.0003668/0.3677, allocations: 319.5 kB / 1.055 GB, free: 5.801 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/0.3678, allocations: 15.97 kB / 1.055 GB, free: 5.785 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.717e-05/0.3679, allocations: 76.22 kB / 1.055 GB, free: 5.711 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000193/0.3681, allocations: 247.6 kB / 1.055 GB, free: 5.43 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.776e-05/0.3682, allocations: 150.9 kB / 1.056 GB, free: 5.281 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.639e-05/0.3682, allocations: 150.9 kB / 1.056 GB, free: 5.133 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.495e-05/0.3683, allocations: 101.5 kB / 1.056 GB, free: 5.027 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.807e-05/0.3683, allocations: 79.47 kB / 1.056 GB, free: 4.949 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.538e-05/0.3684, allocations: 154.5 kB / 1.056 GB, free: 4.797 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.712e-05/0.3684, allocations: 150.6 kB / 1.056 GB, free: 4.648 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.283e-05/0.3685, allocations: 158.5 kB / 1.056 GB, free: 4.492 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003001/0.3688, allocations: 449.9 kB / 1.057 GB, free: 4.004 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 8.439e-05/0.3689, allocations: 169.1 kB / 1.057 GB, free: 3.828 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.363e-05/0.3689, allocations: 80.14 kB / 1.057 GB, free: 3.746 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.151e-05/0.369, allocations: 79.28 kB / 1.057 GB, free: 3.668 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.887e-05/0.369, allocations: 109.8 kB / 1.057 GB, free: 3.551 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 8.12e-07/0.369, allocations: 0 / 1.057 GB, free: 3.551 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 9.016e-05/0.3691, allocations: 37.58 kB / 1.057 GB, free: 3.508 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.466e-05/0.3692, allocations: 130.7 kB / 1.057 GB, free: 3.367 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001051/0.3693, allocations: 93.86 kB / 1.057 GB, free: 3.266 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.523e-05/0.3693, allocations: 25.7 kB / 1.057 GB, free: 3.234 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.314e-05/0.3694, allocations: 84.14 kB / 1.058 GB, free: 3.148 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.805e-06/0.3694, allocations: 3.938 kB / 1.058 GB, free: 3.145 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.238e-05/0.3694, allocations: 13.72 kB / 1.058 GB, free: 3.125 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001132/0.3696, allocations: 315 kB / 1.058 GB, free: 2.809 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.701e-06/0.3696, allocations: 0 / 1.058 GB, free: 2.809 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.26e-05/0.3696, allocations: 7.984 kB / 1.058 GB, free: 2.801 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.231e-05/0.3696, allocations: 75.28 kB / 1.058 GB, free: 2.727 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.114e-05/0.3697, allocations: 75.28 kB / 1.058 GB, free: 2.652 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.231e-05/0.3697, allocations: 33.64 kB / 1.058 GB, free: 2.613 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.537e-05/0.3698, allocations: 79.28 kB / 1.058 GB, free: 2.535 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.508e-05/0.3698, allocations: 83.27 kB / 1.058 GB, free: 2.453 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.068e-05/0.3699, allocations: 158.5 kB / 1.058 GB, free: 2.297 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.192e-05/0.3699, allocations: 83.28 kB / 1.058 GB, free: 2.215 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.926e-05/0.37, allocations: 150.6 kB / 1.059 GB, free: 2.066 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001407/0.3701, allocations: 87.34 kB / 1.059 GB, free: 1.98 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.514e-05/0.3702, allocations: 79.3 kB / 1.059 GB, free: 1.902 MB / 0.8106 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.0001243/0.3703, allocations: 264.7 kB / 1.059 GB, free: 1.633 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.301e-05/0.3704, allocations: 104.9 kB / 1.059 GB, free: 1.523 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.16e-05/0.3704, allocations: 116 kB / 1.059 GB, free: 1.406 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.674e-05/0.3705, allocations: 180.2 kB / 1.059 GB, free: 1.223 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.409e-05/0.3706, allocations: 180.2 kB / 1.06 GB, free: 1.039 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.818e-05/0.3706, allocations: 176.3 kB / 1.06 GB, free: 0.8594 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002253/0.3709, allocations: 413.2 kB / 1.06 GB, free: 408 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.756e-05/0.3709, allocations: 101 kB / 1.06 GB, free: 300 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.558e-05/0.3709, allocations: 101 kB / 1.06 GB, free: 192 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.512e-05/0.371, allocations: 184.2 kB / 1.06 GB, free: 0 / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.358e-05/0.3711, allocations: 180.2 kB / 1.061 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.079e-05/0.3712, allocations: 188.2 kB / 1.061 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.857e-05/0.3712, allocations: 180.2 kB / 1.061 GB, free: 15.44 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001499/0.3714, allocations: 307.8 kB / 1.061 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.909e-05/0.3715, allocations: 178.1 kB / 1.061 GB, free: 14.92 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.259e-05/0.3716, allocations: 192.1 kB / 1.062 GB, free: 14.72 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.18e-05/0.3716, allocations: 112.9 kB / 1.062 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.892e-05/0.3717, allocations: 176.3 kB / 1.062 GB, free: 14.43 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.786e-05/0.3718, allocations: 104.9 kB / 1.062 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.025e-05/0.3718, allocations: 79.28 kB / 1.062 GB, free: 14.24 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.363e-06/0.3718, allocations: 0 / 1.062 GB, free: 14.24 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002635/0.3721, allocations: 7.938 kB / 1.062 GB, free: 14.23 MB / 0.8262 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.0003183/0.3724, allocations: 200.2 kB / 1.062 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 4.247e-05/0.3725, allocations: 0 / 1.062 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3725, allocations: 0 / 1.062 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 2.815e-06/0.3725, allocations: 4 kB / 1.062 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003947/0.3729, allocations: 0.5263 MB / 1.063 GB, free: 13.49 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002953/0.3732, allocations: 185.8 kB / 1.063 GB, free: 13.27 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002418/0.3734, allocations: 0.677 MB / 1.064 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.702e-05/0.3735, allocations: 7.438 kB / 1.064 GB, free: 12.56 MB / 0.8262 GB Notification: Performance of SimCode: time 3.31e-07/0.3735, allocations: 0 / 1.064 GB, free: 12.56 MB / 0.8262 GB Notification: Performance of Templates: time 0.002041/0.3755, allocations: 466.9 kB / 1.064 GB, free: 12.11 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches