Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.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.GetTimeSpanTMY3LongHeader,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|timeSpan.2.|timeSpan.1.",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|timeSpan.2.|timeSpan.1.",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001552/0.001552, allocations: 110.7 kB / 16.41 MB, free: 6.488 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.001726/0.001727, allocations: 187 kB / 17.34 MB, free: 5.762 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.373/1.373, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.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.275/2.275, allocations: 390.2 MB / 0.6655 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001604/0.001604, allocations: 59.91 kB / 0.9515 GB, free: 7.672 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8964/0.898, allocations: 140.4 MB / 1.089 GB, free: 5.789 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader): time 0.002575/0.9006, allocations: 1.235 MB / 1.09 GB, free: 4.926 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001103/0.9017, allocations: 0.7225 MB / 1.091 GB, free: 4.402 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.682e-05/0.9018, allocations: 1.156 kB / 1.091 GB, free: 4.402 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.068e-05/0.9018, allocations: 0.75 kB / 1.091 GB, free: 4.402 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002267/0.9021, allocations: 19.25 kB / 1.091 GB, free: 4.391 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 7.784e-05/0.9022, allocations: 6.078 kB / 1.091 GB, free: 4.391 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 6.579e-05/0.9022, allocations: 9.125 kB / 1.091 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.341e-05/0.9023, allocations: 5.781 kB / 1.091 GB, free: 4.383 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.194e-05/0.9023, allocations: 10.81 kB / 1.091 GB, free: 4.375 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001775/0.9025, allocations: 17.22 kB / 1.091 GB, free: 4.363 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.249e-05/0.9025, allocations: 0 / 1.091 GB, free: 4.363 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 4.144e-05/0.9026, allocations: 5.781 kB / 1.091 GB, free: 4.363 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.202e-05/0.9026, allocations: 2.859 kB / 1.091 GB, free: 4.363 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.507e-05/0.9027, allocations: 1.625 kB / 1.091 GB, free: 4.363 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 9.192e-05/0.9028, allocations: 10.25 kB / 1.091 GB, free: 4.359 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.9028, allocations: 1.562 kB / 1.091 GB, free: 4.359 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.573e-06/0.9028, allocations: 0 / 1.091 GB, free: 4.359 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.221e-06/0.9028, allocations: 0 / 1.091 GB, free: 4.359 MB / 0.8575 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.000273/0.9031, allocations: 323.2 kB / 1.091 GB, free: 4 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.9031, allocations: 9.547 kB / 1.091 GB, free: 4 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.632e-05/0.9032, allocations: 77.28 kB / 1.091 GB, free: 3.926 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001194/0.9033, allocations: 242.9 kB / 1.091 GB, free: 3.652 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.802e-05/0.9033, allocations: 155.7 kB / 1.091 GB, free: 3.5 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.674e-05/0.9034, allocations: 151.8 kB / 1.092 GB, free: 3.352 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.718e-05/0.9034, allocations: 106.9 kB / 1.092 GB, free: 3.242 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.364e-05/0.9034, allocations: 79.41 kB / 1.092 GB, free: 3.164 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.731e-05/0.9035, allocations: 159.9 kB / 1.092 GB, free: 3.008 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.17e-05/0.9035, allocations: 151.5 kB / 1.092 GB, free: 2.859 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.431e-05/0.9035, allocations: 150.6 kB / 1.092 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002043/0.9037, allocations: 446.9 kB / 1.093 GB, free: 2.23 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.799e-05/0.9038, allocations: 174.2 kB / 1.093 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.02e-05/0.9038, allocations: 80.14 kB / 1.093 GB, free: 1.969 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.652e-05/0.9038, allocations: 76.38 kB / 1.093 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.806e-05/0.9039, allocations: 107.8 kB / 1.093 GB, free: 1.781 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.9039, allocations: 4 kB / 1.093 GB, free: 1.777 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 7.056e-05/0.9039, allocations: 35.36 kB / 1.093 GB, free: 1.738 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.656e-05/0.904, allocations: 127.8 kB / 1.093 GB, free: 1.602 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.815e-05/0.9041, allocations: 98.97 kB / 1.093 GB, free: 1.5 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.655e-06/0.9041, allocations: 25.7 kB / 1.093 GB, free: 1.469 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.012e-05/0.9041, allocations: 81.23 kB / 1.093 GB, free: 1.387 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.104e-06/0.9041, allocations: 3.938 kB / 1.093 GB, free: 1.383 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.035e-05/0.9041, allocations: 12.56 kB / 1.093 GB, free: 1.367 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.296e-05/0.9042, allocations: 316.8 kB / 1.094 GB, free: 1.051 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.917e-06/0.9042, allocations: 0 / 1.094 GB, free: 1.051 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.534e-05/0.9042, allocations: 1.594 kB / 1.094 GB, free: 1.051 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.332e-05/0.9042, allocations: 76.44 kB / 1.094 GB, free: 0.9766 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-05/0.9043, allocations: 75.94 kB / 1.094 GB, free: 0.9023 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.414e-05/0.9043, allocations: 33.09 kB / 1.094 GB, free: 0.8672 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.932e-05/0.9044, allocations: 85.06 kB / 1.094 GB, free: 0.7891 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.703e-05/0.9044, allocations: 84.12 kB / 1.094 GB, free: 0.707 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.24e-05/0.9044, allocations: 152.1 kB / 1.094 GB, free: 0.5586 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.146e-05/0.9044, allocations: 80.84 kB / 1.094 GB, free: 492 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.029e-05/0.9045, allocations: 156.2 kB / 1.094 GB, free: 16.33 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001313/0.9047, allocations: 81.98 kB / 1.094 GB, free: 16.25 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.747e-05/0.9047, allocations: 76.03 kB / 1.095 GB, free: 16.18 MB / 0.8731 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 (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 prepare postOptimizeDAE: time 0.0001199/0.9048, allocations: 267.9 kB / 1.095 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.523e-05/0.9049, allocations: 102.5 kB / 1.095 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.091e-05/0.9049, allocations: 114.3 kB / 1.095 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.115e-05/0.905, allocations: 178 kB / 1.095 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.276e-05/0.9051, allocations: 182 kB / 1.095 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.444e-05/0.9052, allocations: 186.4 kB / 1.096 GB, free: 15.13 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002021/0.9054, allocations: 401.3 kB / 1.096 GB, free: 14.69 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.986e-05/0.9054, allocations: 110.9 kB / 1.096 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.656e-05/0.9054, allocations: 102.7 kB / 1.096 GB, free: 14.47 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.802e-05/0.9055, allocations: 181.6 kB / 1.096 GB, free: 14.29 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.304e-05/0.9056, allocations: 186.4 kB / 1.096 GB, free: 14.1 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.613e-05/0.9056, allocations: 182 kB / 1.097 GB, free: 13.91 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.215e-05/0.9057, allocations: 181.8 kB / 1.097 GB, free: 13.73 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001296/0.9058, allocations: 309 kB / 1.097 GB, free: 13.41 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 7.186e-05/0.9059, allocations: 188.3 kB / 1.097 GB, free: 13.2 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.853e-05/0.906, allocations: 186.1 kB / 1.097 GB, free: 13.02 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.763e-05/0.9061, allocations: 106.6 kB / 1.098 GB, free: 12.91 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.318e-05/0.9062, allocations: 177.9 kB / 1.098 GB, free: 12.73 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.741e-05/0.9062, allocations: 107.2 kB / 1.098 GB, free: 12.62 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 5.796e-05/0.9063, allocations: 83.17 kB / 1.098 GB, free: 12.54 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9063, allocations: 0 / 1.098 GB, free: 12.54 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0002738/0.9065, allocations: 5.984 kB / 1.098 GB, free: 12.54 MB / 0.8731 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.000362/0.9069, allocations: 195.2 kB / 1.098 GB, free: 12.37 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 5.226e-05/0.907, allocations: 1.031 kB / 1.098 GB, free: 12.37 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.907, allocations: 0 / 1.098 GB, free: 12.37 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 3.797e-06/0.907, allocations: 1.594 kB / 1.098 GB, free: 12.37 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003544/0.9074, allocations: 462.5 kB / 1.099 GB, free: 11.91 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002783/0.9076, allocations: 191.2 kB / 1.099 GB, free: 11.71 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002214/0.9079, allocations: 0.6711 MB / 1.099 GB, free: 11.02 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.584e-05/0.9079, allocations: 9.266 kB / 1.099 GB, free: 11.01 MB / 0.8731 GB Notification: Performance of SimCode: time 2.2e-07/0.9079, allocations: 0 / 1.099 GB, free: 11.01 MB / 0.8731 GB Notification: Performance of Templates: time 0.002126/0.91, allocations: 479.1 kB / 1.1 GB, free: 10.98 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.sim & ./Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches