Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.008269/0.008269, allocations: 99.38 kB / 15.73 MB, free: 6.008 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.001249/0.001249, allocations: 197.5 kB / 16.67 MB, free: 5.934 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.453/1.453, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.797/2.797, allocations: 469.8 MB / 0.7425 GB, free: 7.348 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002201/0.002201, allocations: 67.84 kB / 1.065 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3716/0.3738, allocations: 159.1 MB / 1.221 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3): time 0.002579/0.3763, allocations: 1.266 MB / 1.222 GB, free: 12.51 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001128/0.3775, allocations: 0.7289 MB / 1.223 GB, free: 11.78 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.324e-05/0.3775, allocations: 4 kB / 1.223 GB, free: 11.78 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.919e-05/0.3775, allocations: 3.938 kB / 1.223 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002444/0.3778, allocations: 11.94 kB / 1.223 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001876/0.378, allocations: 47.92 kB / 1.223 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.366e-05/0.3781, allocations: 27.91 kB / 1.223 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.979e-05/0.3781, allocations: 0 / 1.223 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.842e-05/0.3782, allocations: 11.94 kB / 1.223 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001341/0.3783, allocations: 11.97 kB / 1.223 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.563e-05/0.3783, allocations: 0 / 1.223 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 4.581e-05/0.3784, allocations: 15.94 kB / 1.223 GB, free: 11.65 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.266e-05/0.3784, allocations: 0 / 1.223 GB, free: 11.65 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.382e-05/0.3785, allocations: 19.91 kB / 1.223 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001028/0.3786, allocations: 23.92 kB / 1.223 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.3786, allocations: 0 / 1.223 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.182e-06/0.3786, allocations: 0 / 1.223 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.45e-06/0.3786, allocations: 0 / 1.223 GB, free: 11.61 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.0004031/0.379, allocations: 331.4 kB / 1.223 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.747e-05/0.379, allocations: 12.03 kB / 1.223 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.959e-05/0.3791, allocations: 88.11 kB / 1.223 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001425/0.3793, allocations: 235.7 kB / 1.223 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.828e-05/0.3793, allocations: 150.9 kB / 1.224 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.21e-05/0.3794, allocations: 154.9 kB / 1.224 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.838e-05/0.3794, allocations: 101.5 kB / 1.224 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.821e-05/0.3795, allocations: 75.47 kB / 1.224 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.154e-05/0.3795, allocations: 170.4 kB / 1.224 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.608e-05/0.3796, allocations: 150.6 kB / 1.224 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.416e-05/0.3797, allocations: 154.6 kB / 1.224 GB, free: 9.914 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003133/0.38, allocations: 453.9 kB / 1.225 GB, free: 9.422 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 7.928e-05/0.3801, allocations: 173.1 kB / 1.225 GB, free: 9.242 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.469e-05/0.3801, allocations: 80.14 kB / 1.225 GB, free: 9.16 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.994e-05/0.3801, allocations: 79.22 kB / 1.225 GB, free: 9.082 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.615e-05/0.3802, allocations: 105.8 kB / 1.225 GB, free: 8.969 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/0.3802, allocations: 0 / 1.225 GB, free: 8.969 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 8.12e-05/0.3803, allocations: 33.64 kB / 1.225 GB, free: 8.93 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.845e-05/0.3803, allocations: 130.7 kB / 1.225 GB, free: 8.789 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001154/0.3804, allocations: 109.8 kB / 1.225 GB, free: 8.672 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.498e-05/0.3804, allocations: 25.7 kB / 1.225 GB, free: 8.641 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.772e-05/0.3805, allocations: 80.14 kB / 1.226 GB, free: 8.559 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.914e-06/0.3805, allocations: 0 / 1.226 GB, free: 8.559 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.563e-05/0.3805, allocations: 21.66 kB / 1.226 GB, free: 8.531 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001007/0.3806, allocations: 314.8 kB / 1.226 GB, free: 8.215 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.848e-05/0.3806, allocations: 4 kB / 1.226 GB, free: 8.211 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.831e-05/0.3807, allocations: 19.92 kB / 1.226 GB, free: 8.191 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.406e-05/0.3807, allocations: 12.86 kB / 1.226 GB, free: 8.176 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.3807, allocations: 0 / 1.226 GB, free: 8.176 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001033/0.3808, allocations: 45.69 kB / 1.226 GB, free: 8.125 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.3808, allocations: 4 kB / 1.226 GB, free: 8.121 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.585e-06/0.3808, allocations: 7.875 kB / 1.226 GB, free: 8.113 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.3808, allocations: 0 / 1.226 GB, free: 8.113 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.02e-07/0.3808, allocations: 0 / 1.226 GB, free: 8.113 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.558e-06/0.3808, allocations: 0 / 1.226 GB, free: 8.113 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.179e-05/0.3809, allocations: 8.125 kB / 1.226 GB, free: 8.105 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.755e-06/0.3809, allocations: 0 / 1.226 GB, free: 8.105 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 9.949e-05/0.381, allocations: 189.6 kB / 1.226 GB, free: 7.91 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.613e-05/0.3811, allocations: 104.9 kB / 1.226 GB, free: 7.801 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.965e-05/0.3812, allocations: 108.5 kB / 1.226 GB, free: 7.684 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.638e-05/0.3812, allocations: 184.2 kB / 1.226 GB, free: 7.496 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.639e-05/0.3813, allocations: 184.3 kB / 1.227 GB, free: 7.309 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.804e-05/0.3813, allocations: 184.5 kB / 1.227 GB, free: 7.121 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002142/0.3816, allocations: 401.2 kB / 1.227 GB, free: 6.672 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.103e-05/0.3816, allocations: 116.9 kB / 1.227 GB, free: 6.551 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.481e-05/0.3816, allocations: 104.9 kB / 1.227 GB, free: 6.441 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.742e-05/0.3817, allocations: 184.3 kB / 1.228 GB, free: 6.254 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.705e-05/0.3818, allocations: 180.2 kB / 1.228 GB, free: 6.07 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.783e-05/0.3818, allocations: 184.2 kB / 1.228 GB, free: 5.883 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.337e-05/0.3819, allocations: 176.3 kB / 1.228 GB, free: 5.703 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001629/0.3821, allocations: 311.8 kB / 1.228 GB, free: 5.375 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.665e-05/0.3821, allocations: 190 kB / 1.229 GB, free: 5.164 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.927e-05/0.3822, allocations: 184.2 kB / 1.229 GB, free: 4.977 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.325e-05/0.3823, allocations: 105 kB / 1.229 GB, free: 4.867 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.661e-05/0.3824, allocations: 184.2 kB / 1.229 GB, free: 4.68 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.772e-05/0.3824, allocations: 105 kB / 1.229 GB, free: 4.57 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.703e-05/0.3825, allocations: 83.27 kB / 1.229 GB, free: 4.488 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.3825, allocations: 4 kB / 1.229 GB, free: 4.484 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002226/0.3827, allocations: 7.938 kB / 1.229 GB, free: 4.477 MB / 0.9825 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.0003324/0.383, allocations: 186.5 kB / 1.229 GB, free: 4.285 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 8.145e-05/0.3831, allocations: 7.938 kB / 1.229 GB, free: 4.277 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.3831, allocations: 0 / 1.229 GB, free: 4.277 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.717e-06/0.3831, allocations: 8.062 kB / 1.229 GB, free: 4.27 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003559/0.3835, allocations: 452.8 kB / 1.23 GB, free: 3.824 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002885/0.3838, allocations: 184.6 kB / 1.23 GB, free: 3.617 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002644/0.384, allocations: 0.6767 MB / 1.231 GB, free: 2.914 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 1.952e-05/0.384, allocations: 4 kB / 1.231 GB, free: 2.91 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.468e-05/0.3841, allocations: 11.44 kB / 1.231 GB, free: 2.898 MB / 0.9825 GB Notification: Performance of SimCode: time 2.71e-07/0.3841, allocations: 0 / 1.231 GB, free: 2.898 MB / 0.9825 GB Notification: Performance of Templates: time 0.002359/0.3864, allocations: 428.5 kB / 1.231 GB, free: 2.496 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.makefile (rm -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.sim & ./Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches