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.001463/0.001463, allocations: 105 kB / 15.99 MB, free: 6.352 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.001736/0.001737, allocations: 195.6 kB / 16.91 MB, free: 6.184 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.424/1.424, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.732/2.732, allocations: 469.8 MB / 0.7427 GB, free: 3.625 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001933/0.001933, allocations: 64.67 kB / 0.9087 GB, free: 14.23 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3599/0.3619, allocations: 159.1 MB / 1.064 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3): time 0.002662/0.3646, allocations: 1.327 MB / 1.065 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001096/0.3657, allocations: 0.719 MB / 1.066 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.504e-05/0.3657, allocations: 3.938 kB / 1.066 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.89e-05/0.3658, allocations: 3.984 kB / 1.066 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0002372/0.366, allocations: 11.98 kB / 1.066 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001804/0.3662, allocations: 51.31 kB / 1.066 GB, free: 12.99 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 6.909e-05/0.3663, allocations: 23.92 kB / 1.066 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 4.806e-05/0.3664, allocations: 0 / 1.066 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 5.573e-05/0.3664, allocations: 15.92 kB / 1.066 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001364/0.3666, allocations: 15.92 kB / 1.066 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.367e-05/0.3666, allocations: 0 / 1.066 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 4.884e-05/0.3666, allocations: 11.98 kB / 1.066 GB, free: 12.92 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 3.907e-05/0.3667, allocations: 4 kB / 1.066 GB, free: 12.92 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.041e-05/0.3667, allocations: 11.92 kB / 1.066 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 6.866e-05/0.3668, allocations: 8 kB / 1.066 GB, free: 12.9 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.3668, allocations: 7.984 kB / 1.066 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.883e-06/0.3668, allocations: 0 / 1.066 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 8.145e-06/0.3668, allocations: 0 / 1.066 GB, free: 12.89 MB / 0.8419 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.0003673/0.3672, allocations: 331.8 kB / 1.067 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.3673, allocations: 8.031 kB / 1.067 GB, free: 12.51 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.119e-05/0.3673, allocations: 84.12 kB / 1.067 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001777/0.3675, allocations: 235.7 kB / 1.067 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.098e-05/0.3676, allocations: 154.9 kB / 1.067 GB, free: 12 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.686e-05/0.3677, allocations: 154.9 kB / 1.067 GB, free: 11.85 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.771e-05/0.3678, allocations: 105.5 kB / 1.067 GB, free: 11.74 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.044e-05/0.3678, allocations: 75.47 kB / 1.067 GB, free: 11.67 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.899e-05/0.3679, allocations: 158.5 kB / 1.068 GB, free: 11.51 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.007e-05/0.368, allocations: 154.6 kB / 1.068 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.611e-05/0.368, allocations: 150.6 kB / 1.068 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003473/0.3684, allocations: 449.9 kB / 1.068 GB, free: 10.72 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001008/0.3685, allocations: 173.1 kB / 1.068 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.608e-05/0.3685, allocations: 80.14 kB / 1.069 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.588e-05/0.3686, allocations: 79.28 kB / 1.069 GB, free: 10.38 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.487e-05/0.3686, allocations: 109.8 kB / 1.069 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=0): time 3.416e-06/0.3687, allocations: 0 / 1.069 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of matching and sorting (n=0): time 8.565e-05/0.3687, allocations: 37.58 kB / 1.069 GB, free: 10.22 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.352e-05/0.3688, allocations: 134.7 kB / 1.069 GB, free: 10.08 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001318/0.369, allocations: 105.8 kB / 1.069 GB, free: 9.965 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.877e-05/0.369, allocations: 29.7 kB / 1.069 GB, free: 9.93 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 4.713e-05/0.369, allocations: 84.14 kB / 1.069 GB, free: 9.844 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.264e-06/0.3691, allocations: 0 / 1.069 GB, free: 9.844 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.111e-05/0.3691, allocations: 21.61 kB / 1.069 GB, free: 9.816 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001439/0.3692, allocations: 314.8 kB / 1.069 GB, free: 9.5 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.833e-05/0.3693, allocations: 7.938 kB / 1.069 GB, free: 9.492 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.883e-05/0.3693, allocations: 12.23 kB / 1.069 GB, free: 9.48 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.664e-05/0.3693, allocations: 16.95 kB / 1.069 GB, free: 9.461 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.3694, allocations: 4 kB / 1.069 GB, free: 9.457 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001168/0.3695, allocations: 45.62 kB / 1.069 GB, free: 9.406 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.3695, allocations: 8 kB / 1.069 GB, free: 9.398 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.3695, allocations: 3.938 kB / 1.069 GB, free: 9.395 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.3695, allocations: 0 / 1.069 GB, free: 9.395 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.41e-07/0.3695, allocations: 0 / 1.069 GB, free: 9.395 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.201e-06/0.3695, allocations: 0 / 1.069 GB, free: 9.395 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.036e-05/0.3696, allocations: 0 / 1.069 GB, free: 9.395 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.154e-05/0.3697, allocations: 4 kB / 1.069 GB, free: 9.391 MB / 0.8419 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.0001233/0.3698, allocations: 185.2 kB / 1.07 GB, free: 9.199 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.608e-05/0.3699, allocations: 109 kB / 1.07 GB, free: 9.086 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.613e-05/0.3699, allocations: 112.4 kB / 1.07 GB, free: 8.969 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.759e-05/0.37, allocations: 180.3 kB / 1.07 GB, free: 8.785 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.807e-05/0.3701, allocations: 176.3 kB / 1.07 GB, free: 8.605 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.2e-05/0.3702, allocations: 188.2 kB / 1.07 GB, free: 8.414 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000285/0.3705, allocations: 405.3 kB / 1.071 GB, free: 7.961 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.519e-05/0.3705, allocations: 108.9 kB / 1.071 GB, free: 7.848 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.048e-05/0.3706, allocations: 105 kB / 1.071 GB, free: 7.738 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.193e-05/0.3707, allocations: 176.3 kB / 1.071 GB, free: 7.559 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.043e-05/0.3708, allocations: 184.1 kB / 1.071 GB, free: 7.371 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.7e-05/0.3709, allocations: 184.3 kB / 1.071 GB, free: 7.184 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.342e-05/0.3709, allocations: 180.2 kB / 1.072 GB, free: 7 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001597/0.3711, allocations: 307.8 kB / 1.072 GB, free: 6.676 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001028/0.3712, allocations: 182 kB / 1.072 GB, free: 6.473 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.504e-05/0.3713, allocations: 196.2 kB / 1.072 GB, free: 6.273 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.561e-05/0.3714, allocations: 112.8 kB / 1.072 GB, free: 6.156 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.207e-05/0.3715, allocations: 176.3 kB / 1.073 GB, free: 5.977 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.287e-05/0.3716, allocations: 108.9 kB / 1.073 GB, free: 5.863 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 5.449e-05/0.3716, allocations: 87.28 kB / 1.073 GB, free: 5.777 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3716, allocations: 0 / 1.073 GB, free: 5.777 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002395/0.3719, allocations: 7.984 kB / 1.073 GB, free: 5.77 MB / 0.8419 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.0003451/0.3722, allocations: 194.4 kB / 1.073 GB, free: 5.57 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 7.234e-05/0.3723, allocations: 4 kB / 1.073 GB, free: 5.566 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3723, allocations: 0 / 1.073 GB, free: 5.566 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 1.593e-06/0.3723, allocations: 0 / 1.073 GB, free: 5.566 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004013/0.3727, allocations: 459.8 kB / 1.073 GB, free: 5.113 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002993/0.373, allocations: 202.5 kB / 1.074 GB, free: 4.883 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003115/0.3733, allocations: 0.6806 MB / 1.074 GB, free: 4.176 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.39e-05/0.3734, allocations: 7.438 kB / 1.074 GB, free: 4.168 MB / 0.8419 GB Notification: Performance of SimCode: time 2.5e-07/0.3734, allocations: 0 / 1.074 GB, free: 4.168 MB / 0.8419 GB Notification: Performance of Templates: time 0.002064/0.3754, allocations: 0.5228 MB / 1.075 GB, free: 3.652 MB / 0.8419 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=400 -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/jenkins1/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