Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_NonzeroStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|timeSpan.1.|timeSpan.2.",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|timeSpan.1.|timeSpan.2.",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001493/0.001494, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001824/0.001824, allocations: 189.4 kB / 16.25 MB, free: 6.637 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.609/1.609, allocations: 222.9 MB / 239.9 MB, free: 4.492 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.487/2.487, allocations: 390.2 MB / 0.6643 GB, free: 0.5586 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001355/0.001355, allocations: 67.89 kB / 0.812 GB, free: 14.76 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7658/0.7672, allocations: 140.4 MB / 0.9491 GB, free: 9.07 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart): time 0.002434/0.7697, allocations: 1.327 MB / 0.9504 GB, free: 8.02 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000964/0.7707, allocations: 0.7238 MB / 0.9511 GB, free: 7.449 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.656e-05/0.7707, allocations: 0 / 0.9511 GB, free: 7.449 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.612e-05/0.7708, allocations: 0 / 0.9511 GB, free: 7.449 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002211/0.771, allocations: 10.91 kB / 0.9511 GB, free: 7.441 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001896/0.7712, allocations: 54.16 kB / 0.9512 GB, free: 7.41 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.431e-05/0.7713, allocations: 24.05 kB / 0.9512 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.02e-05/0.7714, allocations: 1.188 kB / 0.9512 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.486e-05/0.7714, allocations: 11.89 kB / 0.9512 GB, free: 7.395 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001417/0.7715, allocations: 9.328 kB / 0.9512 GB, free: 7.391 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.659e-05/0.7716, allocations: 4 kB / 0.9512 GB, free: 7.387 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 4.779e-05/0.7716, allocations: 12.78 kB / 0.9512 GB, free: 7.379 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.405e-05/0.7717, allocations: 11.36 kB / 0.9512 GB, free: 7.371 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.071e-05/0.7717, allocations: 7.609 kB / 0.9512 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.706e-05/0.7718, allocations: 21.55 kB / 0.9513 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.7718, allocations: 0 / 0.9513 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.463e-06/0.7718, allocations: 0 / 0.9513 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.397e-06/0.7718, allocations: 2.188 kB / 0.9513 GB, free: 7.355 MB / 0.7169 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.0002608/0.7721, allocations: 324.5 kB / 0.9516 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.7722, allocations: 12.94 kB / 0.9516 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.966e-05/0.7722, allocations: 86.39 kB / 0.9517 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001065/0.7723, allocations: 248.8 kB / 0.9519 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.882e-05/0.7724, allocations: 156.1 kB / 0.952 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.245e-05/0.7724, allocations: 152.5 kB / 0.9522 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.727e-05/0.7724, allocations: 105.5 kB / 0.9523 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.616e-05/0.7725, allocations: 79.47 kB / 0.9524 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.757e-05/0.7725, allocations: 155.6 kB / 0.9525 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.229e-05/0.7725, allocations: 150.6 kB / 0.9527 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.673e-05/0.7726, allocations: 151.6 kB / 0.9528 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001996/0.7728, allocations: 449 kB / 0.9532 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.131e-05/0.7728, allocations: 176.2 kB / 0.9534 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.817e-05/0.7728, allocations: 80.14 kB / 0.9535 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.216e-05/0.7729, allocations: 79.28 kB / 0.9536 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.21e-05/0.7729, allocations: 107.1 kB / 0.9537 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.7729, allocations: 3.938 kB / 0.9537 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 6.902e-05/0.773, allocations: 36.22 kB / 0.9537 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.625e-05/0.773, allocations: 130.7 kB / 0.9538 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.422e-05/0.7731, allocations: 113.7 kB / 0.9539 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.019e-05/0.7731, allocations: 27.14 kB / 0.954 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.394e-05/0.7732, allocations: 80.14 kB / 0.954 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.933e-06/0.7732, allocations: 1.625 kB / 0.954 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.113e-05/0.7732, allocations: 17.78 kB / 0.954 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.765e-05/0.7732, allocations: 316.2 kB / 0.9544 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.783e-05/0.7733, allocations: 6.781 kB / 0.9544 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.528e-05/0.7733, allocations: 5.625 kB / 0.9544 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.393e-05/0.7733, allocations: 21.25 kB / 0.9544 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.664e-06/0.7733, allocations: 0 / 0.9544 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.882e-05/0.7734, allocations: 36.67 kB / 0.9544 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.7735, allocations: 4.656 kB / 0.9544 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.293e-06/0.7735, allocations: 3.938 kB / 0.9544 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.7735, allocations: 1.531 kB / 0.9544 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.52e-07/0.7735, allocations: 8.062 kB / 0.9544 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.7735, allocations: 3.984 kB / 0.9544 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001541/0.7737, allocations: 2.594 kB / 0.9544 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.071e-05/0.7737, allocations: 1.062 kB / 0.9544 GB, free: 3.941 MB / 0.7169 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 8.084e-05/0.7738, allocations: 183.4 kB / 0.9546 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.235e-05/0.7738, allocations: 110.4 kB / 0.9547 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.289e-05/0.7739, allocations: 118 kB / 0.9548 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.668e-05/0.7739, allocations: 184.2 kB / 0.955 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-05/0.7739, allocations: 177.6 kB / 0.9552 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.452e-05/0.774, allocations: 181.3 kB / 0.9554 GB, free: 2.965 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001536/0.7741, allocations: 404.8 kB / 0.9557 GB, free: 2.516 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.22e-05/0.7742, allocations: 112.9 kB / 0.9558 GB, free: 2.398 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.504e-05/0.7742, allocations: 102 kB / 0.9559 GB, free: 2.293 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-05/0.7742, allocations: 185.9 kB / 0.9561 GB, free: 2.105 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.078e-05/0.7742, allocations: 186 kB / 0.9563 GB, free: 1.918 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.065e-05/0.7743, allocations: 184.3 kB / 0.9565 GB, free: 1.73 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.581e-05/0.7743, allocations: 181.2 kB / 0.9566 GB, free: 1.547 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.73e-05/0.7744, allocations: 308.5 kB / 0.9569 GB, free: 1.227 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.972e-05/0.7745, allocations: 183.1 kB / 0.9571 GB, free: 1.023 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.019e-05/0.7745, allocations: 185.4 kB / 0.9573 GB, free: 0.8359 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.58e-05/0.7746, allocations: 106.2 kB / 0.9574 GB, free: 0.7266 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.229e-05/0.7746, allocations: 182.2 kB / 0.9576 GB, free: 0.543 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.91e-05/0.7747, allocations: 105.2 kB / 0.9577 GB, free: 444 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.114e-05/0.7747, allocations: 88.5 kB / 0.9578 GB, free: 360 kB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7747, allocations: 0 / 0.9578 GB, free: 360 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002223/0.7749, allocations: 7.094 kB / 0.9578 GB, free: 356 kB / 0.7169 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.0002362/0.7752, allocations: 196.9 kB / 0.9579 GB, free: 180 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 7.53e-05/0.7753, allocations: 12.09 kB / 0.958 GB, free: 172 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.7753, allocations: 5.25 kB / 0.958 GB, free: 168 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.473e-06/0.7753, allocations: 0 / 0.958 GB, free: 168 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003473/0.7756, allocations: 456.9 kB / 0.9584 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002617/0.7759, allocations: 165.6 kB / 0.9586 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002395/0.7761, allocations: 0.6835 MB / 0.9592 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 1.684e-05/0.7762, allocations: 1.281 kB / 0.9592 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.238e-05/0.7762, allocations: 11.38 kB / 0.9592 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of SimCode: time 3.3e-07/0.7762, allocations: 1.688 kB / 0.9592 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of Templates: time 0.002893/0.7791, allocations: 441.7 kB / 0.9597 GB, free: 14.61 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.sim & ./Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches