Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.GetTimeSpanTMY3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|timeSpan.1.|timeSpan.2.",fileNamePrefix="Buildings_latest_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_latest_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.005215/0.005215, allocations: 101.1 kB / 15.73 MB, free: 6.035 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.001189/0.001189, allocations: 186.8 kB / 16.67 MB, free: 5.973 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.338/1.338, allocations: 222.9 MB / 240.4 MB, free: 4.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.684/2.684, allocations: 461.9 MB / 0.7348 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001171/0.001171, allocations: 68.12 kB / 1.054 GB, free: 7.152 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3238/0.325, allocations: 157.4 MB / 1.208 GB, free: 9.641 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3): time 0.002343/0.3274, allocations: 1.26 MB / 1.209 GB, free: 8.367 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001075/0.3285, allocations: 0.7388 MB / 1.21 GB, free: 7.625 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.21e-05/0.3285, allocations: 0 / 1.21 GB, free: 7.625 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.481e-05/0.3285, allocations: 0 / 1.21 GB, free: 7.625 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0002546/0.3288, allocations: 11.92 kB / 1.21 GB, free: 7.613 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002338/0.3291, allocations: 49.73 kB / 1.21 GB, free: 7.566 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001075/0.3292, allocations: 27.92 kB / 1.21 GB, free: 7.539 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 6.06e-05/0.3292, allocations: 7.984 kB / 1.21 GB, free: 7.531 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 7.89e-05/0.3293, allocations: 8 kB / 1.21 GB, free: 7.523 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001609/0.3295, allocations: 14 kB / 1.21 GB, free: 7.512 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.951e-05/0.3295, allocations: 3.984 kB / 1.21 GB, free: 7.508 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 4.899e-05/0.3296, allocations: 7.984 kB / 1.21 GB, free: 7.5 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 5.328e-05/0.3296, allocations: 4 kB / 1.21 GB, free: 7.496 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.494e-05/0.3297, allocations: 7.938 kB / 1.21 GB, free: 7.488 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001152/0.3298, allocations: 19.97 kB / 1.21 GB, free: 7.469 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.743e-06/0.3298, allocations: 0 / 1.21 GB, free: 7.469 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.773e-06/0.3298, allocations: 4 kB / 1.21 GB, free: 7.465 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.122e-05/0.3298, allocations: 4 kB / 1.21 GB, free: 7.461 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.000425/0.3303, allocations: 331.4 kB / 1.21 GB, free: 7.086 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.752e-05/0.3303, allocations: 8.625 kB / 1.21 GB, free: 7.078 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.332e-05/0.3304, allocations: 80.16 kB / 1.21 GB, free: 7 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000163/0.3306, allocations: 247.6 kB / 1.21 GB, free: 6.719 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001333/0.3307, allocations: 150.9 kB / 1.211 GB, free: 6.57 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.112e-05/0.3308, allocations: 154.9 kB / 1.211 GB, free: 6.418 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.581e-05/0.3309, allocations: 101.5 kB / 1.211 GB, free: 6.312 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.599e-05/0.3309, allocations: 79.47 kB / 1.211 GB, free: 6.234 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.997e-05/0.331, allocations: 158.5 kB / 1.211 GB, free: 6.078 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-05/0.3311, allocations: 150.6 kB / 1.211 GB, free: 5.93 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.695e-05/0.3311, allocations: 154.5 kB / 1.211 GB, free: 5.777 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003713/0.3315, allocations: 453.9 kB / 1.212 GB, free: 5.285 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001037/0.3316, allocations: 169.1 kB / 1.212 GB, free: 5.109 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.924e-05/0.3317, allocations: 80.14 kB / 1.212 GB, free: 5.027 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.392e-05/0.3317, allocations: 79.27 kB / 1.212 GB, free: 4.949 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.157e-05/0.3318, allocations: 109.8 kB / 1.212 GB, free: 4.832 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 8.02e-07/0.3318, allocations: 4 kB / 1.212 GB, free: 4.828 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 9.481e-05/0.3319, allocations: 41.42 kB / 1.212 GB, free: 4.781 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.091e-05/0.332, allocations: 126.7 kB / 1.212 GB, free: 4.645 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001622/0.3322, allocations: 109.8 kB / 1.213 GB, free: 4.527 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.032e-05/0.3322, allocations: 29.69 kB / 1.213 GB, free: 4.492 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.183e-05/0.3322, allocations: 84.64 kB / 1.213 GB, free: 4.406 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.246e-06/0.3323, allocations: 4 kB / 1.213 GB, free: 4.402 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.095e-05/0.3323, allocations: 21.7 kB / 1.213 GB, free: 4.375 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001335/0.3324, allocations: 310.8 kB / 1.213 GB, free: 4.062 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.961e-05/0.3325, allocations: 4 kB / 1.213 GB, free: 4.059 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.564e-05/0.3325, allocations: 4 kB / 1.213 GB, free: 4.055 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.409e-05/0.3325, allocations: 20.84 kB / 1.213 GB, free: 4.031 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.6e-06/0.3326, allocations: 0 / 1.213 GB, free: 4.031 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001331/0.3327, allocations: 45.73 kB / 1.213 GB, free: 3.98 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/0.3327, allocations: 5.406 kB / 1.213 GB, free: 3.977 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/0.3327, allocations: 7.922 kB / 1.213 GB, free: 3.969 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.3328, allocations: 4 kB / 1.213 GB, free: 3.965 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.252e-06/0.3328, allocations: 0 / 1.213 GB, free: 3.965 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.184e-06/0.3328, allocations: 0 / 1.213 GB, free: 3.965 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.798e-05/0.3329, allocations: 0 / 1.213 GB, free: 3.965 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.482e-05/0.3329, allocations: 4 kB / 1.213 GB, free: 3.961 MB / 0.9669 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.0001179/0.333, allocations: 185.2 kB / 1.213 GB, free: 3.77 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.385e-05/0.3331, allocations: 116.8 kB / 1.213 GB, free: 3.648 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.586e-05/0.3332, allocations: 112.5 kB / 1.213 GB, free: 3.527 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.35e-05/0.3333, allocations: 176.3 kB / 1.214 GB, free: 3.348 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001088/0.3334, allocations: 180.3 kB / 1.214 GB, free: 3.164 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.613e-05/0.3335, allocations: 184.3 kB / 1.214 GB, free: 2.977 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002693/0.3338, allocations: 409.2 kB / 1.214 GB, free: 2.52 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.755e-05/0.3338, allocations: 105 kB / 1.214 GB, free: 2.41 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.579e-05/0.3338, allocations: 105 kB / 1.215 GB, free: 2.301 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.254e-05/0.3339, allocations: 184.2 kB / 1.215 GB, free: 2.113 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.295e-05/0.334, allocations: 184.2 kB / 1.215 GB, free: 1.926 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.154e-05/0.3341, allocations: 188.2 kB / 1.215 GB, free: 1.734 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.567e-05/0.3341, allocations: 180.3 kB / 1.215 GB, free: 1.551 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001434/0.3343, allocations: 311.7 kB / 1.216 GB, free: 1.223 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 9.998e-05/0.3344, allocations: 178.1 kB / 1.216 GB, free: 1.023 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.831e-05/0.3345, allocations: 188.1 kB / 1.216 GB, free: 0.832 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.003e-05/0.3346, allocations: 105 kB / 1.216 GB, free: 0.7227 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.1e-05/0.3346, allocations: 180.2 kB / 1.216 GB, free: 0.5391 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.755e-05/0.3347, allocations: 105.2 kB / 1.216 GB, free: 440 kB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.296e-05/0.3348, allocations: 91.28 kB / 1.216 GB, free: 348 kB / 0.9669 GB Notification: Performance of sort global known variables: time 2.31e-07/0.3348, allocations: 0 / 1.216 GB, free: 348 kB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002568/0.335, allocations: 4 kB / 1.216 GB, free: 344 kB / 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 (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.0003167/0.3353, allocations: 201.1 kB / 1.217 GB, free: 136 kB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 8.472e-05/0.3354, allocations: 4 kB / 1.217 GB, free: 132 kB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3354, allocations: 0 / 1.217 GB, free: 132 kB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 3.757e-06/0.3355, allocations: 0 / 1.217 GB, free: 132 kB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003933/0.3359, allocations: 459.6 kB / 1.217 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000322/0.3362, allocations: 176.8 kB / 1.217 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002955/0.3365, allocations: 0.6729 MB / 1.218 GB, free: 14.78 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.182e-05/0.3365, allocations: 0 / 1.218 GB, free: 14.78 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.767e-05/0.3365, allocations: 11.42 kB / 1.218 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of SimCode: time 2e-07/0.3365, allocations: 0 / 1.218 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of Templates: time 0.00298/0.3395, allocations: 433.5 kB / 1.218 GB, free: 14.36 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches