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.001797/0.001797, allocations: 105.8 kB / 16.41 MB, free: 6.457 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.002239/0.002239, allocations: 189.5 kB / 17.34 MB, free: 5.719 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.454/1.454, allocations: 222.9 MB / 241 MB, free: 15.13 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.249/2.249, allocations: 390.3 MB / 0.6655 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001397/0.001397, allocations: 67.89 kB / 0.9515 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8706/0.872, allocations: 140.4 MB / 1.089 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader): time 0.002153/0.8742, allocations: 1.245 MB / 1.09 GB, free: 4.648 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0009205/0.8751, allocations: 0.7226 MB / 1.091 GB, free: 4.129 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.11e-05/0.8752, allocations: 0 / 1.091 GB, free: 4.129 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.418e-05/0.8752, allocations: 1.906 kB / 1.091 GB, free: 4.129 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002228/0.8755, allocations: 17.98 kB / 1.091 GB, free: 4.117 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 7.537e-05/0.8756, allocations: 3.484 kB / 1.091 GB, free: 4.117 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 6.012e-05/0.8756, allocations: 12.81 kB / 1.091 GB, free: 4.109 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.974e-05/0.8757, allocations: 2.953 kB / 1.091 GB, free: 4.109 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.174e-05/0.8757, allocations: 6.188 kB / 1.091 GB, free: 4.105 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001662/0.8759, allocations: 13.42 kB / 1.091 GB, free: 4.098 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.148e-05/0.8759, allocations: 0 / 1.091 GB, free: 4.098 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 4.053e-05/0.8759, allocations: 8.938 kB / 1.091 GB, free: 4.094 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.036e-05/0.876, allocations: 3.172 kB / 1.091 GB, free: 4.094 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.323e-05/0.876, allocations: 1.062 kB / 1.091 GB, free: 4.094 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 8.252e-05/0.8761, allocations: 15.56 kB / 1.091 GB, free: 4.086 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.8761, allocations: 1.094 kB / 1.091 GB, free: 4.086 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.362e-06/0.8761, allocations: 0 / 1.091 GB, free: 4.086 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.8761, allocations: 0 / 1.091 GB, free: 4.086 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.0002396/0.8764, allocations: 326.2 kB / 1.091 GB, free: 3.727 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.401e-05/0.8764, allocations: 9.375 kB / 1.091 GB, free: 3.727 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.827e-05/0.8764, allocations: 76.97 kB / 1.091 GB, free: 3.652 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001073/0.8766, allocations: 242.2 kB / 1.091 GB, free: 3.379 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.415e-05/0.8766, allocations: 156 kB / 1.091 GB, free: 3.227 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.636e-05/0.8766, allocations: 152.9 kB / 1.092 GB, free: 3.078 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.602e-05/0.8767, allocations: 105.5 kB / 1.092 GB, free: 2.969 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.408e-05/0.8767, allocations: 76.47 kB / 1.092 GB, free: 2.895 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.078e-05/0.8767, allocations: 155.2 kB / 1.092 GB, free: 2.742 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.792e-05/0.8767, allocations: 150.6 kB / 1.092 GB, free: 2.594 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.057e-05/0.8768, allocations: 159.3 kB / 1.092 GB, free: 2.438 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001748/0.8769, allocations: 445.8 kB / 1.093 GB, free: 1.957 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.988e-05/0.877, allocations: 171 kB / 1.093 GB, free: 1.781 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.136e-05/0.877, allocations: 81.2 kB / 1.093 GB, free: 1.699 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.332e-05/0.877, allocations: 75.84 kB / 1.093 GB, free: 1.625 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.962e-05/0.8771, allocations: 110.9 kB / 1.093 GB, free: 1.508 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 8.61e-07/0.8771, allocations: 4 kB / 1.093 GB, free: 1.504 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 6.404e-05/0.8771, allocations: 35.7 kB / 1.093 GB, free: 1.465 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.858e-05/0.8772, allocations: 128 kB / 1.093 GB, free: 1.328 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.865e-05/0.8773, allocations: 98.8 kB / 1.093 GB, free: 1.227 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 6.131e-06/0.8773, allocations: 26.27 kB / 1.093 GB, free: 1.195 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.637e-05/0.8773, allocations: 80.86 kB / 1.093 GB, free: 1.113 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.653e-06/0.8773, allocations: 0.7188 kB / 1.093 GB, free: 1.113 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.066e-05/0.8773, allocations: 12.05 kB / 1.093 GB, free: 1.098 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.965e-05/0.8774, allocations: 316.2 kB / 1.094 GB, free: 16.78 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.06e-06/0.8774, allocations: 0.6562 kB / 1.094 GB, free: 16.78 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.462e-05/0.8774, allocations: 2.094 kB / 1.094 GB, free: 16.78 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.787e-05/0.8775, allocations: 75.28 kB / 1.094 GB, free: 16.71 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.377e-05/0.8775, allocations: 76.86 kB / 1.094 GB, free: 16.63 MB / 0.8731 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.734e-05/0.8776, allocations: 32.5 kB / 1.094 GB, free: 16.6 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 3.286e-05/0.8776, allocations: 80.84 kB / 1.094 GB, free: 16.52 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.788e-05/0.8776, allocations: 88.91 kB / 1.094 GB, free: 16.44 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.22e-05/0.8777, allocations: 156.1 kB / 1.094 GB, free: 16.29 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.306e-05/0.8777, allocations: 80.73 kB / 1.094 GB, free: 16.21 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.359e-05/0.8778, allocations: 156.4 kB / 1.094 GB, free: 16.05 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001214/0.8779, allocations: 81.64 kB / 1.094 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.365e-05/0.8779, allocations: 76.12 kB / 1.095 GB, free: 15.9 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.0001091/0.8781, allocations: 267 kB / 1.095 GB, free: 15.63 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.79e-05/0.8781, allocations: 107.3 kB / 1.095 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.476e-05/0.8782, allocations: 110.1 kB / 1.095 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.593e-05/0.8782, allocations: 181.7 kB / 1.095 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.658e-05/0.8783, allocations: 186.5 kB / 1.095 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.343e-05/0.8784, allocations: 182 kB / 1.096 GB, free: 14.86 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000209/0.8786, allocations: 405.5 kB / 1.096 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.387e-05/0.8786, allocations: 106.3 kB / 1.096 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.796e-05/0.8787, allocations: 102.9 kB / 1.096 GB, free: 14.19 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.761e-05/0.8787, allocations: 181.5 kB / 1.096 GB, free: 14.01 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.343e-05/0.8788, allocations: 181.8 kB / 1.096 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.046e-05/0.8788, allocations: 189.9 kB / 1.097 GB, free: 13.63 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.041e-05/0.8789, allocations: 178.3 kB / 1.097 GB, free: 13.45 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001186/0.879, allocations: 306 kB / 1.097 GB, free: 13.14 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 6.93e-05/0.8791, allocations: 188.2 kB / 1.097 GB, free: 12.93 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.714e-05/0.8792, allocations: 190.6 kB / 1.097 GB, free: 12.74 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.796e-05/0.8793, allocations: 101.6 kB / 1.098 GB, free: 12.63 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.214e-05/0.8793, allocations: 178.7 kB / 1.098 GB, free: 12.45 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.358e-05/0.8794, allocations: 106.8 kB / 1.098 GB, free: 12.34 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 3.576e-05/0.8794, allocations: 78.48 kB / 1.098 GB, free: 12.27 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.1e-07/0.8794, allocations: 3.938 kB / 1.098 GB, free: 12.27 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0002612/0.8797, allocations: 6.797 kB / 1.098 GB, free: 12.27 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.0002825/0.88, allocations: 196.4 kB / 1.098 GB, free: 12.09 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 4.629e-05/0.88, allocations: 1 kB / 1.098 GB, free: 12.09 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.88, allocations: 0 / 1.098 GB, free: 12.09 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 2.936e-06/0.88, allocations: 1.094 kB / 1.098 GB, free: 12.09 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000334/0.8804, allocations: 462.3 kB / 1.099 GB, free: 11.64 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002775/0.8807, allocations: 190.8 kB / 1.099 GB, free: 11.44 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002292/0.8809, allocations: 0.6713 MB / 1.099 GB, free: 10.74 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.692e-05/0.8809, allocations: 9.062 kB / 1.099 GB, free: 10.73 MB / 0.8731 GB Notification: Performance of SimCode: time 3.3e-07/0.8809, allocations: 0 / 1.099 GB, free: 10.73 MB / 0.8731 GB Notification: Performance of Templates: time 0.002273/0.8832, allocations: 480.2 kB / 1.1 GB, free: 10.71 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