Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.GetTimeSpanTMY3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|timeSpan.1.|timeSpan.2.",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|timeSpan.1.|timeSpan.2.",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001496/0.001502, allocations: 106.2 kB / 16.36 MB, free: 6.355 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.001627/0.001627, allocations: 195.8 kB / 17.3 MB, free: 5.906 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.377/1.377, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.43/2.43, allocations: 437.1 MB / 0.7112 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 64.69 kB / 0.8707 GB, free: 1.445 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3005/0.3018, allocations: 151.6 MB / 1.019 GB, free: 9.855 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3): time 0.002252/0.3041, allocations: 1.259 MB / 1.02 GB, free: 8.586 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0009849/0.3051, allocations: 0.7349 MB / 1.021 GB, free: 7.848 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.589e-05/0.3052, allocations: 0 / 1.021 GB, free: 7.848 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.002e-05/0.3052, allocations: 3.984 kB / 1.021 GB, free: 7.844 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0002194/0.3054, allocations: 15.92 kB / 1.021 GB, free: 7.828 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001964/0.3056, allocations: 47.86 kB / 1.021 GB, free: 7.781 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001037/0.3058, allocations: 19.98 kB / 1.021 GB, free: 7.762 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 5.264e-05/0.3058, allocations: 4 kB / 1.021 GB, free: 7.758 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 6.328e-05/0.3059, allocations: 15.92 kB / 1.021 GB, free: 7.742 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001601/0.306, allocations: 15.92 kB / 1.021 GB, free: 7.727 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.681e-05/0.3061, allocations: 0 / 1.021 GB, free: 7.727 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 5.265e-05/0.3061, allocations: 7.984 kB / 1.021 GB, free: 7.719 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 5.133e-05/0.3062, allocations: 5.531 kB / 1.021 GB, free: 7.715 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 4.056e-05/0.3062, allocations: 11.94 kB / 1.021 GB, free: 7.703 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001335/0.3064, allocations: 19.97 kB / 1.021 GB, free: 7.684 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 9.198e-06/0.3064, allocations: 3.984 kB / 1.021 GB, free: 7.68 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.224e-06/0.3064, allocations: 0 / 1.021 GB, free: 7.68 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.442e-06/0.3064, allocations: 7.938 kB / 1.021 GB, free: 7.672 MB / 0.795 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.0004509/0.3069, allocations: 331.4 kB / 1.021 GB, free: 7.297 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.898e-05/0.3069, allocations: 16.86 kB / 1.021 GB, free: 7.281 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.017e-05/0.307, allocations: 80.12 kB / 1.021 GB, free: 7.203 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001926/0.3072, allocations: 239.7 kB / 1.022 GB, free: 6.93 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.092e-05/0.3073, allocations: 154.9 kB / 1.022 GB, free: 6.777 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.518e-05/0.3074, allocations: 150.9 kB / 1.022 GB, free: 6.629 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.583e-05/0.3075, allocations: 101.5 kB / 1.022 GB, free: 6.523 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.052e-05/0.3075, allocations: 83.47 kB / 1.022 GB, free: 6.441 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.868e-05/0.3076, allocations: 154.5 kB / 1.022 GB, free: 6.289 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.542e-05/0.3076, allocations: 154.6 kB / 1.022 GB, free: 6.137 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.384e-05/0.3077, allocations: 150.6 kB / 1.022 GB, free: 5.988 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003146/0.308, allocations: 450 kB / 1.023 GB, free: 5.5 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 9.419e-05/0.3081, allocations: 181.1 kB / 1.023 GB, free: 5.312 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.077e-05/0.3082, allocations: 84.14 kB / 1.023 GB, free: 5.227 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 3.619e-05/0.3082, allocations: 79.27 kB / 1.023 GB, free: 5.148 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.257e-05/0.3083, allocations: 109.8 kB / 1.023 GB, free: 5.031 MB / 0.795 GB Notification: Performance of pre-optimization done (n=0): time 8.52e-07/0.3083, allocations: 0 / 1.023 GB, free: 5.031 MB / 0.795 GB Notification: Performance of matching and sorting (n=0): time 9.242e-05/0.3084, allocations: 37.58 kB / 1.023 GB, free: 4.988 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.12e-05/0.3085, allocations: 130.7 kB / 1.023 GB, free: 4.848 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001376/0.3086, allocations: 105.8 kB / 1.024 GB, free: 4.734 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.705e-05/0.3086, allocations: 25.7 kB / 1.024 GB, free: 4.703 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 5.028e-05/0.3087, allocations: 84.14 kB / 1.024 GB, free: 4.617 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.675e-06/0.3087, allocations: 0 / 1.024 GB, free: 4.617 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.816e-05/0.3087, allocations: 17.7 kB / 1.024 GB, free: 4.594 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001222/0.3089, allocations: 314.8 kB / 1.024 GB, free: 4.277 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.417e-05/0.3089, allocations: 8 kB / 1.024 GB, free: 4.27 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.717e-05/0.3089, allocations: 7.984 kB / 1.024 GB, free: 4.262 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.123e-05/0.309, allocations: 12.86 kB / 1.024 GB, free: 4.246 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.309, allocations: 0 / 1.024 GB, free: 4.246 MB / 0.795 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001359/0.3091, allocations: 53.53 kB / 1.024 GB, free: 4.188 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.3092, allocations: 4 kB / 1.024 GB, free: 4.184 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.397e-06/0.3092, allocations: 3.938 kB / 1.024 GB, free: 4.18 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.3092, allocations: 4.125 kB / 1.024 GB, free: 4.176 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.012e-06/0.3092, allocations: 4 kB / 1.024 GB, free: 4.172 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/0.3092, allocations: 0 / 1.024 GB, free: 4.172 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.533e-05/0.3093, allocations: 0 / 1.024 GB, free: 4.172 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.488e-05/0.3093, allocations: 4 kB / 1.024 GB, free: 4.168 MB / 0.795 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 (1): * Single equations (assignments): 0 * Array equations: 1 * 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.00014/0.3095, allocations: 189.7 kB / 1.024 GB, free: 3.973 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.888e-05/0.3096, allocations: 105 kB / 1.024 GB, free: 3.863 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.445e-05/0.3096, allocations: 116.4 kB / 1.024 GB, free: 3.742 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.383e-05/0.3097, allocations: 180.3 kB / 1.025 GB, free: 3.559 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.777e-05/0.3098, allocations: 188.1 kB / 1.025 GB, free: 3.367 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.766e-05/0.3099, allocations: 180.3 kB / 1.025 GB, free: 3.184 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002585/0.3101, allocations: 397.2 kB / 1.025 GB, free: 2.738 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.215e-05/0.3102, allocations: 112.9 kB / 1.025 GB, free: 2.621 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.977e-05/0.3102, allocations: 109 kB / 1.026 GB, free: 2.508 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.89e-05/0.3103, allocations: 180.4 kB / 1.026 GB, free: 2.324 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.175e-05/0.3104, allocations: 184.2 kB / 1.026 GB, free: 2.137 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.538e-05/0.3105, allocations: 180.3 kB / 1.026 GB, free: 1.953 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.579e-05/0.3106, allocations: 184.2 kB / 1.026 GB, free: 1.766 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001559/0.3107, allocations: 311.8 kB / 1.027 GB, free: 1.438 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001061/0.3108, allocations: 178.1 kB / 1.027 GB, free: 1.238 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.484e-05/0.3109, allocations: 184.5 kB / 1.027 GB, free: 1.051 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001002/0.3111, allocations: 116.9 kB / 1.027 GB, free: 0.9297 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.137e-05/0.3111, allocations: 176.3 kB / 1.027 GB, free: 0.75 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.227e-05/0.3112, allocations: 108.9 kB / 1.027 GB, free: 0.6367 MB / 0.795 GB Notification: Performance of sorting global known variables: time 5.059e-05/0.3113, allocations: 83.28 kB / 1.027 GB, free: 0.5547 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3113, allocations: 0 / 1.027 GB, free: 0.5547 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002488/0.3115, allocations: 7.984 kB / 1.027 GB, free: 0.5469 MB / 0.795 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.0004067/0.3119, allocations: 190.5 kB / 1.028 GB, free: 356 kB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0001021/0.312, allocations: 8 kB / 1.028 GB, free: 348 kB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.3121, allocations: 0 / 1.028 GB, free: 348 kB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 1.744e-06/0.3121, allocations: 0 / 1.028 GB, free: 348 kB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004662/0.3125, allocations: 457.2 kB / 1.028 GB, free: 15.89 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003319/0.3129, allocations: 179.1 kB / 1.028 GB, free: 15.69 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002727/0.3132, allocations: 0.6768 MB / 1.029 GB, free: 14.99 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.047e-05/0.3132, allocations: 4 kB / 1.029 GB, free: 14.98 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.424e-05/0.3132, allocations: 7.438 kB / 1.029 GB, free: 14.98 MB / 0.8106 GB Notification: Performance of SimCode: time 2.7e-07/0.3132, allocations: 4 kB / 1.029 GB, free: 14.97 MB / 0.8106 GB Notification: Performance of Templates: time 0.002653/0.3159, allocations: 427.9 kB / 1.029 GB, free: 14.57 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.sim & ./Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches