Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.GetTimeSpanTMY3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|timeSpan.1.|timeSpan.2.",fileNamePrefix="Buildings_latest_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_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001204/0.001204, allocations: 107.3 kB / 16.41 MB, free: 6.406 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.001186/0.001186, allocations: 191.4 kB / 17.34 MB, free: 5.695 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.223/1.223, allocations: 222.9 MB / 241 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.353/2.353, allocations: 461.9 MB / 0.7354 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001139/0.001139, allocations: 63.84 kB / 1.055 GB, free: 7.688 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.665/0.6662, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3): time 0.00181/0.668, allocations: 1.264 MB / 1.21 GB, free: 12.36 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0008579/0.6689, allocations: 0.731 MB / 1.21 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.576e-05/0.669, allocations: 0 / 1.21 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.749e-05/0.669, allocations: 0 / 1.21 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001836/0.6692, allocations: 15.92 kB / 1.21 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001574/0.6693, allocations: 55.86 kB / 1.21 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 6.948e-05/0.6694, allocations: 23.92 kB / 1.21 GB, free: 11.53 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 3.602e-05/0.6695, allocations: 0 / 1.21 GB, free: 11.53 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 5.669e-05/0.6695, allocations: 15.97 kB / 1.21 GB, free: 11.51 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001009/0.6696, allocations: 7.938 kB / 1.21 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.44e-05/0.6697, allocations: 0 / 1.21 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 4.055e-05/0.6697, allocations: 12 kB / 1.21 GB, free: 11.49 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.535e-05/0.6697, allocations: 7.969 kB / 1.211 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.46e-05/0.6698, allocations: 11.94 kB / 1.211 GB, free: 11.47 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 7.973e-05/0.6699, allocations: 23.97 kB / 1.211 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.6699, allocations: 0 / 1.211 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.603e-06/0.6699, allocations: 0 / 1.211 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.028e-06/0.6699, allocations: 0 / 1.211 GB, free: 11.45 MB / 0.9356 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.0002578/0.6701, allocations: 327.1 kB / 1.211 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 2.816e-05/0.6702, allocations: 8.031 kB / 1.211 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.47e-05/0.6702, allocations: 80.22 kB / 1.211 GB, free: 11 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001125/0.6703, allocations: 243.6 kB / 1.211 GB, free: 10.72 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.84e-05/0.6704, allocations: 154.9 kB / 1.211 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.548e-05/0.6704, allocations: 154.9 kB / 1.211 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.719e-05/0.6705, allocations: 105.5 kB / 1.212 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.392e-05/0.6705, allocations: 79.41 kB / 1.212 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.047e-05/0.6706, allocations: 154.5 kB / 1.212 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.93e-05/0.6706, allocations: 154.6 kB / 1.212 GB, free: 9.922 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.112e-05/0.6707, allocations: 158.4 kB / 1.212 GB, free: 9.766 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002294/0.6709, allocations: 449.9 kB / 1.213 GB, free: 9.277 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 5.768e-05/0.671, allocations: 165.1 kB / 1.213 GB, free: 9.105 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.715e-05/0.671, allocations: 88.14 kB / 1.213 GB, free: 9.016 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.879e-05/0.671, allocations: 75.28 kB / 1.213 GB, free: 8.941 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.367e-05/0.6711, allocations: 109.8 kB / 1.213 GB, free: 8.824 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.6711, allocations: 0 / 1.213 GB, free: 8.824 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0): time 6.149e-05/0.6711, allocations: 33.58 kB / 1.213 GB, free: 8.785 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.357e-05/0.6712, allocations: 134.7 kB / 1.213 GB, free: 8.641 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.197e-05/0.6713, allocations: 109.8 kB / 1.213 GB, free: 8.523 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.291e-05/0.6713, allocations: 29.7 kB / 1.213 GB, free: 8.488 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 3.013e-05/0.6713, allocations: 84.12 kB / 1.213 GB, free: 8.402 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.633e-06/0.6713, allocations: 0 / 1.213 GB, free: 8.402 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.957e-05/0.6714, allocations: 17.72 kB / 1.213 GB, free: 8.379 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 8.212e-05/0.6714, allocations: 310.8 kB / 1.214 GB, free: 8.066 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.669e-05/0.6715, allocations: 7.984 kB / 1.214 GB, free: 8.059 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.626e-05/0.6715, allocations: 8 kB / 1.214 GB, free: 8.051 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.171e-05/0.6715, allocations: 20.95 kB / 1.214 GB, free: 8.027 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.6715, allocations: 0 / 1.214 GB, free: 8.027 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.577e-05/0.6716, allocations: 41.62 kB / 1.214 GB, free: 7.98 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.169e-05/0.6717, allocations: 8 kB / 1.214 GB, free: 7.973 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.6717, allocations: 3.938 kB / 1.214 GB, free: 7.969 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.918e-06/0.6717, allocations: 0 / 1.214 GB, free: 7.969 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.81e-07/0.6717, allocations: 0 / 1.214 GB, free: 7.969 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.6717, allocations: 0 / 1.214 GB, free: 7.969 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.187e-05/0.6718, allocations: 7.984 kB / 1.214 GB, free: 7.961 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.123e-06/0.6718, allocations: 0 / 1.214 GB, free: 7.961 MB / 0.9356 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.558e-05/0.6719, allocations: 185.2 kB / 1.214 GB, free: 7.77 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.623e-05/0.6719, allocations: 108.9 kB / 1.214 GB, free: 7.656 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.121e-05/0.672, allocations: 112.5 kB / 1.214 GB, free: 7.531 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.001e-05/0.672, allocations: 188.2 kB / 1.214 GB, free: 7.34 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-05/0.6721, allocations: 184.2 kB / 1.214 GB, free: 7.152 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.497e-05/0.6721, allocations: 180.3 kB / 1.215 GB, free: 6.969 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001712/0.6723, allocations: 417.1 kB / 1.215 GB, free: 6.504 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.571e-05/0.6723, allocations: 101 kB / 1.215 GB, free: 6.398 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.419e-05/0.6724, allocations: 101 kB / 1.215 GB, free: 6.293 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.68e-05/0.6724, allocations: 180.2 kB / 1.215 GB, free: 6.109 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.758e-05/0.6725, allocations: 188.2 kB / 1.216 GB, free: 5.918 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.161e-05/0.6725, allocations: 184.2 kB / 1.216 GB, free: 5.73 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.794e-05/0.6726, allocations: 180.5 kB / 1.216 GB, free: 5.547 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.374e-05/0.6727, allocations: 307.7 kB / 1.216 GB, free: 5.223 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.683e-05/0.6727, allocations: 190.1 kB / 1.216 GB, free: 5.012 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.365e-05/0.6728, allocations: 192.1 kB / 1.217 GB, free: 4.816 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.462e-05/0.6729, allocations: 101 kB / 1.217 GB, free: 4.711 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.981e-05/0.6729, allocations: 176.3 kB / 1.217 GB, free: 4.531 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.238e-05/0.673, allocations: 113.2 kB / 1.217 GB, free: 4.414 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.65e-05/0.673, allocations: 91.27 kB / 1.217 GB, free: 4.324 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.31e-07/0.673, allocations: 0 / 1.217 GB, free: 4.324 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002062/0.6732, allocations: 9.969 kB / 1.217 GB, free: 4.316 MB / 0.9356 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.0002103/0.6734, allocations: 190.1 kB / 1.217 GB, free: 4.125 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 6.121e-05/0.6735, allocations: 4 kB / 1.217 GB, free: 4.121 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.542e-06/0.6735, allocations: 0 / 1.217 GB, free: 4.121 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 3.176e-06/0.6735, allocations: 0 / 1.217 GB, free: 4.121 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002906/0.6738, allocations: 473 kB / 1.218 GB, free: 3.656 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002078/0.674, allocations: 190.5 kB / 1.218 GB, free: 3.438 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001859/0.6742, allocations: 0.6768 MB / 1.219 GB, free: 2.734 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.065e-05/0.6742, allocations: 7.438 kB / 1.219 GB, free: 2.73 MB / 0.9356 GB Notification: Performance of SimCode: time 2e-07/0.6742, allocations: 0 / 1.219 GB, free: 2.73 MB / 0.9356 GB Notification: Performance of Templates: time 0.001606/0.6759, allocations: 0.5162 MB / 1.219 GB, free: 2.223 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches