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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.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.008369/0.008369, allocations: 96.98 kB / 15.73 MB, free: 5.988 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.002031/0.002031, allocations: 187.9 kB / 16.67 MB, free: 5.918 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.493/1.493, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.039/3.039, allocations: 472.6 MB / 0.7453 GB, free: 4.594 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001441/0.001442, allocations: 63.91 kB / 1.069 GB, free: 9.223 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.364/0.3655, allocations: 159.9 MB / 1.226 GB, free: 9.195 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3): time 0.002363/0.3679, allocations: 1.256 MB / 1.227 GB, free: 7.93 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001116/0.369, allocations: 0.7348 MB / 1.228 GB, free: 7.191 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.396e-05/0.3691, allocations: 4 kB / 1.228 GB, free: 7.188 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.168e-05/0.3692, allocations: 0 / 1.228 GB, free: 7.188 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002243/0.3694, allocations: 15.92 kB / 1.228 GB, free: 7.172 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001934/0.3696, allocations: 50.86 kB / 1.228 GB, free: 7.125 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.422e-05/0.3697, allocations: 19.92 kB / 1.228 GB, free: 7.105 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.716e-05/0.3697, allocations: 4 kB / 1.228 GB, free: 7.102 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.023e-05/0.3698, allocations: 15.98 kB / 1.228 GB, free: 7.086 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001337/0.3699, allocations: 15.86 kB / 1.228 GB, free: 7.07 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.62e-05/0.37, allocations: 4 kB / 1.228 GB, free: 7.066 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 5.932e-05/0.37, allocations: 11.92 kB / 1.228 GB, free: 7.055 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.179e-05/0.3701, allocations: 4 kB / 1.228 GB, free: 7.051 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.424e-05/0.3701, allocations: 15.92 kB / 1.228 GB, free: 7.035 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 9.789e-05/0.3702, allocations: 19.97 kB / 1.228 GB, free: 7.016 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.3702, allocations: 4 kB / 1.228 GB, free: 7.012 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.453e-06/0.3702, allocations: 0 / 1.228 GB, free: 7.012 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.005e-05/0.3703, allocations: 0 / 1.228 GB, free: 7.012 MB / 0.9825 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.000336/0.3706, allocations: 335.3 kB / 1.228 GB, free: 6.633 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.479e-05/0.3706, allocations: 8.031 kB / 1.228 GB, free: 6.625 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.573e-05/0.3707, allocations: 88.17 kB / 1.228 GB, free: 6.539 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001454/0.3709, allocations: 239.7 kB / 1.228 GB, free: 6.266 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.161e-05/0.3709, allocations: 150.9 kB / 1.229 GB, free: 6.117 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.976e-05/0.371, allocations: 150.9 kB / 1.229 GB, free: 5.969 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.134e-05/0.371, allocations: 109.5 kB / 1.229 GB, free: 5.855 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.518e-05/0.3711, allocations: 79.41 kB / 1.229 GB, free: 5.777 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.678e-05/0.3711, allocations: 162.5 kB / 1.229 GB, free: 5.617 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.036e-05/0.3712, allocations: 150.6 kB / 1.229 GB, free: 5.469 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.108e-05/0.3713, allocations: 150.6 kB / 1.229 GB, free: 5.32 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002958/0.3716, allocations: 453.9 kB / 1.23 GB, free: 4.828 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 7.839e-05/0.3716, allocations: 169.1 kB / 1.23 GB, free: 4.652 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.625e-05/0.3717, allocations: 84.08 kB / 1.23 GB, free: 4.566 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.599e-05/0.3717, allocations: 75.28 kB / 1.23 GB, free: 4.492 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.395e-05/0.3718, allocations: 109.8 kB / 1.23 GB, free: 4.375 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.3718, allocations: 0 / 1.23 GB, free: 4.375 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 7.392e-05/0.3718, allocations: 29.64 kB / 1.23 GB, free: 4.34 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.222e-05/0.3719, allocations: 130.7 kB / 1.23 GB, free: 4.199 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001453/0.3721, allocations: 105.8 kB / 1.23 GB, free: 4.086 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.588e-05/0.3721, allocations: 25.7 kB / 1.23 GB, free: 4.055 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.711e-05/0.3721, allocations: 88.14 kB / 1.231 GB, free: 3.965 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.315e-06/0.3721, allocations: 0 / 1.231 GB, free: 3.965 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.844e-05/0.3722, allocations: 21.66 kB / 1.231 GB, free: 3.938 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001129/0.3723, allocations: 310.8 kB / 1.231 GB, free: 3.625 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.05e-05/0.3723, allocations: 7.938 kB / 1.231 GB, free: 3.617 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.109e-05/0.3724, allocations: 19.98 kB / 1.231 GB, free: 3.598 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.507e-05/0.3724, allocations: 12.86 kB / 1.231 GB, free: 3.582 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.3724, allocations: 0 / 1.231 GB, free: 3.582 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001056/0.3725, allocations: 37.69 kB / 1.231 GB, free: 3.539 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.3725, allocations: 8 kB / 1.231 GB, free: 3.531 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.3725, allocations: 3.938 kB / 1.231 GB, free: 3.527 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.3726, allocations: 3.938 kB / 1.231 GB, free: 3.523 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.192e-06/0.3726, allocations: 0 / 1.231 GB, free: 3.523 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.3726, allocations: 4.125 kB / 1.231 GB, free: 3.52 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.857e-05/0.3727, allocations: 3.938 kB / 1.231 GB, free: 3.516 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.402e-05/0.3727, allocations: 7.984 kB / 1.231 GB, free: 3.508 MB / 0.9825 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.0001042/0.3728, allocations: 193.6 kB / 1.231 GB, free: 3.309 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.744e-05/0.3729, allocations: 105 kB / 1.231 GB, free: 3.199 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.081e-05/0.3729, allocations: 108.5 kB / 1.231 GB, free: 3.078 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.686e-05/0.373, allocations: 184.2 kB / 1.232 GB, free: 2.891 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.227e-05/0.3731, allocations: 180.3 kB / 1.232 GB, free: 2.707 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-05/0.3732, allocations: 192.2 kB / 1.232 GB, free: 2.512 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002369/0.3734, allocations: 401.5 kB / 1.232 GB, free: 2.062 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.259e-05/0.3735, allocations: 105 kB / 1.232 GB, free: 1.953 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.546e-05/0.3735, allocations: 108.9 kB / 1.232 GB, free: 1.84 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.815e-05/0.3736, allocations: 180.3 kB / 1.233 GB, free: 1.656 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.573e-05/0.3736, allocations: 188.1 kB / 1.233 GB, free: 1.465 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.563e-05/0.3737, allocations: 180.3 kB / 1.233 GB, free: 1.281 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.819e-05/0.3738, allocations: 180.2 kB / 1.233 GB, free: 1.098 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001479/0.3739, allocations: 307.8 kB / 1.233 GB, free: 0.7734 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.221e-05/0.374, allocations: 186 kB / 1.234 GB, free: 0.5664 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.419e-05/0.3741, allocations: 188.2 kB / 1.234 GB, free: 384 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.069e-05/0.3742, allocations: 101 kB / 1.234 GB, free: 276 kB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.536e-05/0.3743, allocations: 184.2 kB / 1.234 GB, free: 84 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.228e-05/0.3743, allocations: 101 kB / 1.234 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.451e-05/0.3744, allocations: 91.27 kB / 1.234 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3744, allocations: 0 / 1.234 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002332/0.3746, allocations: 7.938 kB / 1.234 GB, free: 15.88 MB / 0.9981 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.0002945/0.3749, allocations: 182.5 kB / 1.234 GB, free: 15.69 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 8.023e-05/0.375, allocations: 11.94 kB / 1.234 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.375, allocations: 64 / 1.234 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.853e-06/0.375, allocations: 4 kB / 1.234 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003634/0.3754, allocations: 455.7 kB / 1.235 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002694/0.3757, allocations: 180.6 kB / 1.235 GB, free: 15.02 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002477/0.3759, allocations: 0.6729 MB / 1.236 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.35e-05/0.376, allocations: 11.98 kB / 1.236 GB, free: 14.31 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.531e-05/0.376, allocations: 7.438 kB / 1.236 GB, free: 14.3 MB / 0.9981 GB Notification: Performance of SimCode: time 3.9e-07/0.376, allocations: 7.875 kB / 1.236 GB, free: 14.3 MB / 0.9981 GB Notification: Performance of Templates: time 0.002494/0.3785, allocations: 424.4 kB / 1.236 GB, free: 13.9 MB / 0.9981 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