Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|timeSpan.1.|timeSpan.2.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|timeSpan.1.|timeSpan.2.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.422/1.422, allocations: 251.9 MB / 266.9 MB, free: 11 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001097/0.001097, allocations: 181.6 kB / 326.5 MB, free: 2.238 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.838/1.838, allocations: 205.4 MB / 0.5775 GB, free: 20.2 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001017/0.001017, allocations: 99.84 kB / 0.6821 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004361/0.0004363, allocations: 11.19 kB / 0.7962 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2691/0.2695, allocations: 106.3 MB / 0.9001 GB, free: 63.92 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1846/0.4542, allocations: 131.8 MB / 1.029 GB, free: 11.96 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002762/0.4545, allocations: 79.95 kB / 1.029 GB, free: 11.89 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.005492/0.46, allocations: 2.273 MB / 1.031 GB, free: 9.609 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.897e-06/0.4601, allocations: 0 / 1.031 GB, free: 9.609 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.773e-06/0.4601, allocations: 3.938 kB / 1.031 GB, free: 9.605 MB / 0.6823 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.0003009/0.4604, allocations: 335.2 kB / 1.031 GB, free: 9.23 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.4604, allocations: 12.03 kB / 1.031 GB, free: 9.219 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.549e-05/0.4605, allocations: 75.28 kB / 1.031 GB, free: 9.145 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001536/0.4607, allocations: 242.3 kB / 1.032 GB, free: 8.867 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.163e-05/0.4607, allocations: 158.6 kB / 1.032 GB, free: 8.711 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.073e-05/0.4608, allocations: 150.6 kB / 1.032 GB, free: 8.562 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.222e-05/0.4609, allocations: 104.9 kB / 1.032 GB, free: 8.453 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.591e-05/0.4609, allocations: 75.28 kB / 1.032 GB, free: 8.379 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.08e-05/0.461, allocations: 150.6 kB / 1.032 GB, free: 8.23 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-05/0.461, allocations: 156.4 kB / 1.032 GB, free: 8.078 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.239e-05/0.4611, allocations: 158.6 kB / 1.033 GB, free: 7.922 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002697/0.4614, allocations: 453.9 kB / 1.033 GB, free: 7.43 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 7.104e-05/0.4615, allocations: 169.1 kB / 1.033 GB, free: 7.254 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.827e-05/0.4615, allocations: 75.28 kB / 1.033 GB, free: 7.18 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.071e-05/0.4616, allocations: 109.8 kB / 1.033 GB, free: 7.062 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=0): time 1.312e-06/0.4616, allocations: 0 / 1.033 GB, free: 7.062 MB / 0.6823 GB Notification: Performance of matching and sorting (n=0): time 8.826e-05/0.4617, allocations: 33.61 kB / 1.033 GB, free: 7.023 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.429e-05/0.4617, allocations: 126.7 kB / 1.034 GB, free: 6.887 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001031/0.4618, allocations: 104.9 kB / 1.034 GB, free: 6.777 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.732e-05/0.4618, allocations: 25.7 kB / 1.034 GB, free: 6.746 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.168e-05/0.4619, allocations: 84.14 kB / 1.034 GB, free: 6.66 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.565e-06/0.4619, allocations: 4 kB / 1.034 GB, free: 6.656 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.723e-06/0.4619, allocations: 0 / 1.034 GB, free: 6.656 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.306e-05/0.462, allocations: 314.8 kB / 1.034 GB, free: 6.34 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.633e-05/0.462, allocations: 4 kB / 1.034 GB, free: 6.336 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.654e-05/0.4621, allocations: 8 kB / 1.034 GB, free: 6.328 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.053e-05/0.4621, allocations: 4 kB / 1.034 GB, free: 6.324 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.287e-06/0.4621, allocations: 0 / 1.034 GB, free: 6.324 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000106/0.4622, allocations: 49.58 kB / 1.034 GB, free: 6.27 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.4622, allocations: 12.12 kB / 1.034 GB, free: 6.258 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.4622, allocations: 0 / 1.034 GB, free: 6.258 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.116e-05/0.4623, allocations: 0 / 1.034 GB, free: 6.258 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.022e-06/0.4623, allocations: 0 / 1.034 GB, free: 6.258 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.459e-06/0.4623, allocations: 0 / 1.034 GB, free: 6.258 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.898e-05/0.4623, allocations: 7.922 kB / 1.034 GB, free: 6.25 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.131e-05/0.4624, allocations: 4 kB / 1.034 GB, free: 6.246 MB / 0.6823 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000105/0.4625, allocations: 185.1 kB / 1.034 GB, free: 6.055 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.284e-05/0.4625, allocations: 112.9 kB / 1.034 GB, free: 5.938 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.292e-05/0.4626, allocations: 108.5 kB / 1.035 GB, free: 5.824 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.388e-05/0.4627, allocations: 180.2 kB / 1.035 GB, free: 5.641 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.87e-05/0.4627, allocations: 184.5 kB / 1.035 GB, free: 5.453 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-05/0.4628, allocations: 184.2 kB / 1.035 GB, free: 5.266 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002154/0.463, allocations: 413.2 kB / 1.035 GB, free: 4.805 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.49e-05/0.4631, allocations: 101 kB / 1.036 GB, free: 4.699 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.442e-05/0.4631, allocations: 104.9 kB / 1.036 GB, free: 4.59 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.49e-05/0.4632, allocations: 180.2 kB / 1.036 GB, free: 4.406 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.114e-05/0.4632, allocations: 184.2 kB / 1.036 GB, free: 4.219 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.769e-05/0.4633, allocations: 180.3 kB / 1.036 GB, free: 4.035 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.54e-05/0.4634, allocations: 180.3 kB / 1.036 GB, free: 3.852 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001177/0.4635, allocations: 307.7 kB / 1.037 GB, free: 3.527 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 8.241e-05/0.4636, allocations: 186 kB / 1.037 GB, free: 3.32 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.066e-05/0.4636, allocations: 185 kB / 1.037 GB, free: 3.133 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.116e-05/0.4637, allocations: 105 kB / 1.037 GB, free: 3.023 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.752e-05/0.4638, allocations: 184.2 kB / 1.037 GB, free: 2.836 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.84e-05/0.4638, allocations: 101 kB / 1.037 GB, free: 2.73 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 5.156e-05/0.4639, allocations: 87.27 kB / 1.037 GB, free: 2.645 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4639, allocations: 0 / 1.037 GB, free: 2.645 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002359/0.4642, allocations: 7.984 kB / 1.037 GB, free: 2.637 MB / 0.6823 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.0002329/0.4644, allocations: 193.2 kB / 1.038 GB, free: 2.441 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 7.279e-05/0.4645, allocations: 11.92 kB / 1.038 GB, free: 2.43 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.4645, allocations: 0 / 1.038 GB, free: 2.43 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 1.442e-06/0.4645, allocations: 0 / 1.038 GB, free: 2.43 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002908/0.4648, allocations: 0.5215 MB / 1.038 GB, free: 1.906 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002664/0.4651, allocations: 179.9 kB / 1.038 GB, free: 1.699 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002628/0.4653, allocations: 0.6809 MB / 1.039 GB, free: 0.9922 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 1.617e-05/0.4654, allocations: 0 / 1.039 GB, free: 0.9922 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.222e-05/0.4654, allocations: 7.438 kB / 1.039 GB, free: 0.9844 MB / 0.6823 GB Notification: Performance of SimCode: time 2.01e-07/0.4654, allocations: 0 / 1.039 GB, free: 0.9844 MB / 0.6823 GB Notification: Performance of Templates: time 0.002626/0.468, allocations: 405.9 kB / 1.039 GB, free: 0.6211 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.makefile (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.sim & ./Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3.csv","../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches