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.01131/0.01131, allocations: 102.8 kB / 15.73 MB, free: 5.996 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.002591/0.002592, allocations: 193.2 kB / 16.67 MB, free: 5.918 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.383/1.383, allocations: 222.9 MB / 240.3 MB, free: 15.09 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.34/2.34, allocations: 390.2 MB / 0.6648 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 63.91 kB / 0.9508 GB, free: 7.652 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.098/1.099, allocations: 140.4 MB / 1.088 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader): time 0.002494/1.102, allocations: 1.224 MB / 1.089 GB, free: 4.664 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001068/1.103, allocations: 0.7292 MB / 1.09 GB, free: 4.137 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.889e-05/1.103, allocations: 1.219 kB / 1.09 GB, free: 4.137 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.838e-05/1.103, allocations: 4.609 kB / 1.09 GB, free: 4.133 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002303/1.103, allocations: 15.14 kB / 1.09 GB, free: 4.125 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 7.861e-05/1.103, allocations: 6.547 kB / 1.09 GB, free: 4.121 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 6.409e-05/1.103, allocations: 9.578 kB / 1.09 GB, free: 4.117 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.455e-05/1.103, allocations: 1.766 kB / 1.09 GB, free: 4.117 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.246e-05/1.103, allocations: 3.156 kB / 1.09 GB, free: 4.117 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001842/1.103, allocations: 12.41 kB / 1.09 GB, free: 4.109 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.415e-05/1.103, allocations: 0 / 1.09 GB, free: 4.109 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 5.435e-05/1.103, allocations: 10.19 kB / 1.09 GB, free: 4.105 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.776e-05/1.104, allocations: 2.656 kB / 1.09 GB, free: 4.105 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.768e-05/1.104, allocations: 4.875 kB / 1.09 GB, free: 4.102 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001009/1.104, allocations: 15.75 kB / 1.09 GB, free: 4.094 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.219e-06/1.104, allocations: 0.7969 kB / 1.09 GB, free: 4.094 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.004e-06/1.104, allocations: 0 / 1.09 GB, free: 4.094 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.911e-06/1.104, allocations: 0 / 1.09 GB, free: 4.094 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.000279/1.104, allocations: 319.2 kB / 1.09 GB, free: 3.738 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/1.104, allocations: 9.688 kB / 1.09 GB, free: 3.738 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.942e-05/1.104, allocations: 77.73 kB / 1.09 GB, free: 3.664 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001122/1.104, allocations: 246.4 kB / 1.091 GB, free: 3.387 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.981e-05/1.104, allocations: 152.1 kB / 1.091 GB, free: 3.238 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.608e-05/1.104, allocations: 154.9 kB / 1.091 GB, free: 3.086 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.35e-05/1.104, allocations: 107.2 kB / 1.091 GB, free: 2.977 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.749e-05/1.104, allocations: 76.59 kB / 1.091 GB, free: 2.902 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.568e-05/1.104, allocations: 154.5 kB / 1.091 GB, free: 2.75 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.238e-05/1.104, allocations: 154.6 kB / 1.091 GB, free: 2.598 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.508e-05/1.104, allocations: 152.8 kB / 1.091 GB, free: 2.449 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001923/1.105, allocations: 444.9 kB / 1.092 GB, free: 1.969 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 5.274e-05/1.105, allocations: 170.7 kB / 1.092 GB, free: 1.793 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.845e-05/1.105, allocations: 84.14 kB / 1.092 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.713e-05/1.105, allocations: 76.94 kB / 1.092 GB, free: 1.633 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.544e-05/1.105, allocations: 111.6 kB / 1.092 GB, free: 1.516 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/1.105, allocations: 0 / 1.092 GB, free: 1.516 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 7.199e-05/1.105, allocations: 31.14 kB / 1.092 GB, free: 1.48 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.867e-05/1.105, allocations: 131.5 kB / 1.092 GB, free: 1.34 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.97e-05/1.105, allocations: 98.83 kB / 1.093 GB, free: 1.238 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 8.165e-06/1.105, allocations: 27.22 kB / 1.093 GB, free: 1.207 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.029e-05/1.105, allocations: 80.14 kB / 1.093 GB, free: 1.125 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.345e-06/1.105, allocations: 0.875 kB / 1.093 GB, free: 1.125 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.191e-05/1.105, allocations: 16.73 kB / 1.093 GB, free: 1.105 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001246/1.105, allocations: 311.6 kB / 1.093 GB, free: 16.79 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.601e-06/1.105, allocations: 0 / 1.093 GB, free: 16.79 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.023e-05/1.105, allocations: 1.969 kB / 1.093 GB, free: 16.79 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.486e-05/1.105, allocations: 80.25 kB / 1.093 GB, free: 16.71 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.998e-05/1.105, allocations: 76.72 kB / 1.093 GB, free: 16.64 MB / 0.8731 GB Notification: Performance of matching and sorting (n=0) (initialization): time 0.0001113/1.106, allocations: 32.5 kB / 1.093 GB, free: 16.61 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 4.361e-05/1.106, allocations: 81.19 kB / 1.093 GB, free: 16.53 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.299e-05/1.106, allocations: 84.94 kB / 1.093 GB, free: 16.45 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.164e-05/1.106, allocations: 152.3 kB / 1.093 GB, free: 16.3 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.817e-05/1.106, allocations: 79.22 kB / 1.094 GB, free: 16.22 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.628e-05/1.106, allocations: 169.2 kB / 1.094 GB, free: 16.06 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001436/1.106, allocations: 76.83 kB / 1.094 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.673e-05/1.106, allocations: 80.91 kB / 1.094 GB, free: 15.91 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.0001425/1.106, allocations: 260 kB / 1.094 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.012e-05/1.106, allocations: 102.6 kB / 1.094 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.786e-05/1.106, allocations: 118.2 kB / 1.094 GB, free: 15.42 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.647e-05/1.106, allocations: 181.7 kB / 1.094 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.56e-05/1.107, allocations: 181.8 kB / 1.095 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.429e-05/1.107, allocations: 186.2 kB / 1.095 GB, free: 14.86 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002159/1.107, allocations: 398.2 kB / 1.095 GB, free: 14.42 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.228e-05/1.107, allocations: 114.7 kB / 1.095 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.758e-05/1.107, allocations: 105.7 kB / 1.095 GB, free: 14.2 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.349e-05/1.107, allocations: 178 kB / 1.096 GB, free: 14.02 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.725e-05/1.107, allocations: 185.9 kB / 1.096 GB, free: 13.83 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.322e-05/1.107, allocations: 177.9 kB / 1.096 GB, free: 13.65 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.226e-05/1.107, allocations: 182 kB / 1.096 GB, free: 13.46 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001436/1.107, allocations: 309.7 kB / 1.096 GB, free: 13.14 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 7.712e-05/1.107, allocations: 187.9 kB / 1.097 GB, free: 12.94 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.526e-05/1.108, allocations: 182.4 kB / 1.097 GB, free: 12.75 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.715e-05/1.108, allocations: 106.8 kB / 1.097 GB, free: 12.64 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.489e-05/1.108, allocations: 185.9 kB / 1.097 GB, free: 12.46 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.053e-05/1.108, allocations: 102.7 kB / 1.097 GB, free: 12.35 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 4.843e-05/1.108, allocations: 83.08 kB / 1.097 GB, free: 12.27 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1e-07/1.108, allocations: 0 / 1.097 GB, free: 12.27 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003433/1.108, allocations: 6.672 kB / 1.097 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.0003452/1.109, allocations: 198.3 kB / 1.097 GB, free: 12.1 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 5.062e-05/1.109, allocations: 2.156 kB / 1.097 GB, free: 12.1 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/1.109, allocations: 0 / 1.097 GB, free: 12.1 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 2.044e-06/1.109, allocations: 0.8438 kB / 1.097 GB, free: 12.1 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000372/1.109, allocations: 459 kB / 1.098 GB, free: 11.65 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002895/1.109, allocations: 164.7 kB / 1.098 GB, free: 11.48 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002949/1.11, allocations: 0.677 MB / 1.099 GB, free: 10.78 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 1.398e-05/1.11, allocations: 0.7812 kB / 1.099 GB, free: 10.78 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.654e-05/1.11, allocations: 8.672 kB / 1.099 GB, free: 10.77 MB / 0.8731 GB Notification: Performance of SimCode: time 2.3e-07/1.11, allocations: 0 / 1.099 GB, free: 10.77 MB / 0.8731 GB Notification: Performance of Templates: time 0.002563/1.112, allocations: 326.4 kB / 1.099 GB, free: 10.73 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/jenkins/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