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/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.369/2.369, allocations: 390.3 MB / 405.3 MB, free: 13.44 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001305/0.001306, allocations: 177 kB / 498.1 MB, free: 5.684 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.626/1.626, allocations: 223.2 MB / 0.7948 GB, free: 17.9 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001013/0.001013, allocations: 88.31 kB / 0.9346 GB, free: 6.203 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003503/0.0003503, allocations: 6.875 kB / 1.084 GB, free: 221.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3363/0.3367, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2009/0.5376, allocations: 149.1 MB / 1.369 GB, free: 12.98 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002894/0.538, allocations: 79.89 kB / 1.369 GB, free: 12.9 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.004285/0.5423, allocations: 1.745 MB / 1.37 GB, free: 11.15 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.066e-06/0.5423, allocations: 0 / 1.37 GB, free: 11.15 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 6.923e-06/0.5423, allocations: 0 / 1.37 GB, free: 11.15 MB / 0.8698 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.0003147/0.5426, allocations: 315.4 kB / 1.371 GB, free: 10.8 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.962e-05/0.5427, allocations: 12.02 kB / 1.371 GB, free: 10.79 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.171e-05/0.5428, allocations: 75.28 kB / 1.371 GB, free: 10.71 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002015/0.543, allocations: 250.2 kB / 1.371 GB, free: 10.43 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.082e-05/0.5431, allocations: 150.6 kB / 1.371 GB, free: 10.28 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.722e-05/0.5431, allocations: 154.6 kB / 1.371 GB, free: 10.12 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.022e-05/0.5432, allocations: 108.9 kB / 1.371 GB, free: 10.01 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.828e-05/0.5433, allocations: 75.28 kB / 1.371 GB, free: 9.938 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.794e-05/0.5433, allocations: 150.6 kB / 1.372 GB, free: 9.789 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.218e-05/0.5434, allocations: 162.5 kB / 1.372 GB, free: 9.629 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.526e-05/0.5435, allocations: 154.6 kB / 1.372 GB, free: 9.477 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003314/0.5438, allocations: 445.9 kB / 1.372 GB, free: 8.992 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 9.087e-05/0.5439, allocations: 173.1 kB / 1.372 GB, free: 8.812 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.18e-05/0.5439, allocations: 75.28 kB / 1.372 GB, free: 8.738 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.877e-05/0.544, allocations: 113.8 kB / 1.373 GB, free: 8.617 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=0): time 1.944e-06/0.544, allocations: 0 / 1.373 GB, free: 8.617 MB / 0.8698 GB Notification: Performance of matching and sorting (n=0): time 8.651e-05/0.5441, allocations: 29.69 kB / 1.373 GB, free: 8.582 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.165e-05/0.5442, allocations: 126.7 kB / 1.373 GB, free: 8.445 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.278e-05/0.5443, allocations: 96.94 kB / 1.373 GB, free: 8.344 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.574e-05/0.5443, allocations: 25.7 kB / 1.373 GB, free: 8.312 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 5.998e-05/0.5444, allocations: 84.14 kB / 1.373 GB, free: 8.227 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 6.022e-06/0.5444, allocations: 0 / 1.373 GB, free: 8.227 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.4e-07/0.5444, allocations: 7.938 kB / 1.373 GB, free: 8.219 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001382/0.5445, allocations: 314.8 kB / 1.373 GB, free: 7.902 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.777e-06/0.5445, allocations: 0 / 1.373 GB, free: 7.902 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.479e-05/0.5446, allocations: 4.953 kB / 1.373 GB, free: 7.898 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.598e-05/0.5446, allocations: 79.23 kB / 1.373 GB, free: 7.82 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.862e-05/0.5446, allocations: 75.28 kB / 1.373 GB, free: 7.746 MB / 0.8698 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.428e-05/0.5447, allocations: 29.7 kB / 1.373 GB, free: 7.711 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 4.171e-05/0.5448, allocations: 80.53 kB / 1.374 GB, free: 7.633 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.771e-05/0.5448, allocations: 83.25 kB / 1.374 GB, free: 7.551 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.284e-05/0.5449, allocations: 154.6 kB / 1.374 GB, free: 7.398 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.871e-05/0.5449, allocations: 83.28 kB / 1.374 GB, free: 7.316 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-05/0.545, allocations: 158.5 kB / 1.374 GB, free: 7.16 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001174/0.5451, allocations: 75.28 kB / 1.374 GB, free: 7.086 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.095e-05/0.5452, allocations: 83.22 kB / 1.374 GB, free: 7.004 MB / 0.8698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001449/0.5453, allocations: 268.1 kB / 1.374 GB, free: 6.73 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.321e-05/0.5454, allocations: 105 kB / 1.374 GB, free: 6.621 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.671e-05/0.5455, allocations: 115.9 kB / 1.375 GB, free: 6.5 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.015e-05/0.5455, allocations: 180.2 kB / 1.375 GB, free: 6.316 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.738e-05/0.5456, allocations: 176.3 kB / 1.375 GB, free: 6.137 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.624e-05/0.5457, allocations: 188.2 kB / 1.375 GB, free: 5.945 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002561/0.5459, allocations: 401.2 kB / 1.375 GB, free: 5.496 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-05/0.546, allocations: 108.9 kB / 1.376 GB, free: 5.383 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.145e-05/0.546, allocations: 105 kB / 1.376 GB, free: 5.273 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001223/0.5462, allocations: 176.3 kB / 1.376 GB, free: 5.094 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.777e-05/0.5463, allocations: 188.2 kB / 1.376 GB, free: 4.902 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.053e-05/0.5464, allocations: 181.1 kB / 1.376 GB, free: 4.719 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.287e-05/0.5464, allocations: 184.2 kB / 1.376 GB, free: 4.531 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001529/0.5466, allocations: 303.8 kB / 1.377 GB, free: 4.211 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.447e-05/0.5467, allocations: 190 kB / 1.377 GB, free: 4 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.961e-05/0.5468, allocations: 188.2 kB / 1.377 GB, free: 3.809 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.304e-05/0.5469, allocations: 109.3 kB / 1.377 GB, free: 3.695 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.493e-05/0.547, allocations: 176.3 kB / 1.377 GB, free: 3.516 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.016e-05/0.547, allocations: 108.9 kB / 1.377 GB, free: 3.402 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 6.677e-05/0.5471, allocations: 79.28 kB / 1.377 GB, free: 3.324 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5471, allocations: 0 / 1.377 GB, free: 3.324 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002844/0.5474, allocations: 4 kB / 1.377 GB, free: 3.32 MB / 0.8698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002642/0.5476, allocations: 194.7 kB / 1.378 GB, free: 3.121 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 4.484e-05/0.5477, allocations: 4.047 kB / 1.378 GB, free: 3.117 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.5477, allocations: 0 / 1.378 GB, free: 3.117 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 1.533e-06/0.5477, allocations: 4 kB / 1.378 GB, free: 3.113 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003345/0.5481, allocations: 0.5185 MB / 1.378 GB, free: 2.59 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002915/0.5484, allocations: 164.2 kB / 1.378 GB, free: 2.395 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002889/0.5487, allocations: 0.677 MB / 1.379 GB, free: 1.691 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 2.39e-05/0.5487, allocations: 3.984 kB / 1.379 GB, free: 1.688 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.805e-05/0.5487, allocations: 15.38 kB / 1.379 GB, free: 1.672 MB / 0.8698 GB Notification: Performance of SimCode: time 2.3e-07/0.5487, allocations: 0 / 1.379 GB, free: 1.672 MB / 0.8698 GB Notification: Performance of Templates: time 0.002491/0.5512, allocations: 313.1 kB / 1.379 GB, free: 1.398 MB / 0.8698 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","../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches