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.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: 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.001597/0.001597, 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.001949/0.001949, allocations: 191.7 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.416/1.416, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.782/2.782, allocations: 461.9 MB / 0.7342 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001265, allocations: 60.83 kB / 0.8984 GB, free: 37.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3492/0.3505, allocations: 157.4 MB / 1.052 GB, free: 8.875 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader): time 0.002492/0.3531, allocations: 1.298 MB / 1.053 GB, free: 7.562 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0009977/0.3541, allocations: 0.7072 MB / 1.054 GB, free: 6.852 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.788e-05/0.3541, allocations: 4 kB / 1.054 GB, free: 6.848 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.229e-05/0.3542, allocations: 0 / 1.054 GB, free: 6.848 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001968/0.3544, allocations: 15.92 kB / 1.054 GB, free: 6.832 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 6.614e-05/0.3544, allocations: 3.984 kB / 1.054 GB, free: 6.828 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.217e-05/0.3545, allocations: 11.98 kB / 1.054 GB, free: 6.816 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.232e-05/0.3545, allocations: 4 kB / 1.054 GB, free: 6.812 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 1.72e-05/0.3546, allocations: 0 / 1.054 GB, free: 6.812 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001839/0.3548, allocations: 15.92 kB / 1.054 GB, free: 6.797 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.257e-05/0.3548, allocations: 3.938 kB / 1.054 GB, free: 6.793 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 4.947e-05/0.3548, allocations: 11.98 kB / 1.054 GB, free: 6.781 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.629e-05/0.3549, allocations: 4 kB / 1.054 GB, free: 6.777 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.133e-05/0.3549, allocations: 4 kB / 1.054 GB, free: 6.773 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 7.734e-05/0.355, allocations: 19.97 kB / 1.054 GB, free: 6.754 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.355, allocations: 0 / 1.054 GB, free: 6.754 MB / 0.8106 GB Notification: Performance of FrontEnd: time 7.21e-07/0.355, allocations: 0 / 1.054 GB, free: 6.754 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.978e-06/0.355, allocations: 0 / 1.054 GB, free: 6.754 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.0002898/0.3553, allocations: 315.5 kB / 1.054 GB, free: 6.395 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.575e-05/0.3553, allocations: 12.03 kB / 1.054 GB, free: 6.383 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.747e-05/0.3554, allocations: 76.22 kB / 1.055 GB, free: 6.309 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001463/0.3556, allocations: 239.7 kB / 1.055 GB, free: 6.035 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.026e-05/0.3556, allocations: 154.9 kB / 1.055 GB, free: 5.883 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.349e-05/0.3557, allocations: 158.9 kB / 1.055 GB, free: 5.727 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.454e-05/0.3557, allocations: 101.5 kB / 1.055 GB, free: 5.621 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.873e-05/0.3558, allocations: 75.47 kB / 1.055 GB, free: 5.547 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.825e-05/0.3558, allocations: 166.4 kB / 1.055 GB, free: 5.383 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.615e-05/0.3559, allocations: 150.6 kB / 1.056 GB, free: 5.234 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.693e-05/0.3559, allocations: 154.5 kB / 1.056 GB, free: 5.082 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002639/0.3562, allocations: 446 kB / 1.056 GB, free: 4.598 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 7.232e-05/0.3563, allocations: 173.1 kB / 1.056 GB, free: 4.418 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.209e-05/0.3563, allocations: 80.14 kB / 1.056 GB, free: 4.336 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.385e-05/0.3563, allocations: 75.28 kB / 1.056 GB, free: 4.262 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.274e-05/0.3564, allocations: 105.8 kB / 1.057 GB, free: 4.148 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 8.01e-07/0.3564, allocations: 4 kB / 1.057 GB, free: 4.145 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 7.356e-05/0.3565, allocations: 41.56 kB / 1.057 GB, free: 4.098 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.799e-05/0.3565, allocations: 130.7 kB / 1.057 GB, free: 3.957 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.013e-05/0.3566, allocations: 93.86 kB / 1.057 GB, free: 3.855 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.123e-05/0.3566, allocations: 25.7 kB / 1.057 GB, free: 3.824 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.871e-05/0.3567, allocations: 80.14 kB / 1.057 GB, free: 3.742 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.312e-06/0.3567, allocations: 0 / 1.057 GB, free: 3.742 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.298e-05/0.3567, allocations: 13.72 kB / 1.057 GB, free: 3.723 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.87e-05/0.3568, allocations: 318.8 kB / 1.057 GB, free: 3.402 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.591e-06/0.3568, allocations: 4 kB / 1.057 GB, free: 3.398 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.29e-05/0.3568, allocations: 4.125 kB / 1.057 GB, free: 3.395 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.534e-05/0.3569, allocations: 79.28 kB / 1.057 GB, free: 3.316 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.078e-05/0.3569, allocations: 75.28 kB / 1.057 GB, free: 3.242 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.425e-05/0.3569, allocations: 29.69 kB / 1.057 GB, free: 3.207 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.572e-05/0.357, allocations: 87.22 kB / 1.057 GB, free: 3.121 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.38e-05/0.357, allocations: 79.3 kB / 1.058 GB, free: 3.043 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.853e-05/0.3571, allocations: 158.6 kB / 1.058 GB, free: 2.887 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.277e-05/0.3571, allocations: 83.25 kB / 1.058 GB, free: 2.805 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.832e-05/0.3572, allocations: 162.5 kB / 1.058 GB, free: 2.645 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001202/0.3573, allocations: 79.22 kB / 1.058 GB, free: 2.566 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.048e-05/0.3573, allocations: 75.28 kB / 1.058 GB, free: 2.492 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.0001062/0.3574, allocations: 262.2 kB / 1.058 GB, free: 2.227 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.462e-05/0.3575, allocations: 105 kB / 1.058 GB, free: 2.117 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.995e-05/0.3575, allocations: 116 kB / 1.059 GB, free: 2 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.352e-05/0.3576, allocations: 184.3 kB / 1.059 GB, free: 1.812 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.339e-05/0.3576, allocations: 180.2 kB / 1.059 GB, free: 1.629 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.123e-05/0.3577, allocations: 176.3 kB / 1.059 GB, free: 1.449 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002068/0.3579, allocations: 401.2 kB / 1.059 GB, free: 1 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.785e-05/0.358, allocations: 108.9 kB / 1.06 GB, free: 0.8867 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.09e-05/0.358, allocations: 105 kB / 1.06 GB, free: 0.7773 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.915e-05/0.3581, allocations: 184.1 kB / 1.06 GB, free: 0.5898 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.498e-05/0.3581, allocations: 180.2 kB / 1.06 GB, free: 416 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.654e-05/0.3582, allocations: 184.2 kB / 1.06 GB, free: 224 kB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.218e-05/0.3583, allocations: 188.2 kB / 1.06 GB, free: 28 kB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001335/0.3584, allocations: 307.7 kB / 1.061 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.371e-05/0.3585, allocations: 182.1 kB / 1.061 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.73e-05/0.3585, allocations: 180.2 kB / 1.061 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.08e-05/0.3586, allocations: 108.9 kB / 1.061 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.375e-05/0.3587, allocations: 184.3 kB / 1.061 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.184e-05/0.3588, allocations: 104.9 kB / 1.061 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.336e-05/0.3588, allocations: 83.27 kB / 1.061 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3588, allocations: 0 / 1.061 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002554/0.3591, allocations: 4 kB / 1.061 GB, free: 14.82 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.0003345/0.3594, allocations: 193.7 kB / 1.062 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 4.436e-05/0.3595, allocations: 0 / 1.062 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3595, allocations: 0 / 1.062 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.262e-06/0.3595, allocations: 0 / 1.062 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000379/0.3599, allocations: 0.5224 MB / 1.062 GB, free: 14.09 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002746/0.3601, allocations: 170.4 kB / 1.062 GB, free: 13.9 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002285/0.3604, allocations: 0.6731 MB / 1.063 GB, free: 13.2 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.38e-05/0.3604, allocations: 3.938 kB / 1.063 GB, free: 13.2 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.531e-05/0.3604, allocations: 7.438 kB / 1.063 GB, free: 13.19 MB / 0.8262 GB Notification: Performance of SimCode: time 4.11e-07/0.3604, allocations: 0 / 1.063 GB, free: 13.19 MB / 0.8262 GB Notification: Performance of Templates: time 0.002381/0.3628, allocations: 326.3 kB / 1.063 GB, free: 12.91 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/jenkins/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