Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.GetTimeSpanTMY3LongHeader,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|timeSpan.2.|timeSpan.1.",fileNamePrefix="Buildings_latest_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_latest_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.001166/0.001166, allocations: 106.3 kB / 16.41 MB, free: 6.496 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.001406/0.001406, allocations: 185.5 kB / 17.34 MB, free: 5.762 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.381/1.381, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.797/2.797, allocations: 461.9 MB / 0.7355 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001528/0.001528, allocations: 63.91 kB / 1.055 GB, free: 7.73 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8784/0.88, allocations: 157.4 MB / 1.208 GB, free: 13.67 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader): time 0.002624/0.8827, allocations: 1.238 MB / 1.21 GB, free: 12.43 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001319/0.884, allocations: 0.7193 MB / 1.21 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.043e-05/0.8841, allocations: 0 / 1.21 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.516e-05/0.8841, allocations: 7.938 kB / 1.21 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0002548/0.8844, allocations: 7.984 kB / 1.21 GB, free: 11.69 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 9.294e-05/0.8845, allocations: 11.88 kB / 1.21 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 6.842e-05/0.8846, allocations: 11.98 kB / 1.21 GB, free: 11.67 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 5.299e-05/0.8846, allocations: 8 kB / 1.21 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 2.217e-05/0.8847, allocations: 3.984 kB / 1.21 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001778/0.8848, allocations: 5.375 kB / 1.21 GB, free: 11.65 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.394e-05/0.8849, allocations: 0 / 1.21 GB, free: 11.65 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 5.839e-05/0.8849, allocations: 15.92 kB / 1.21 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 4.689e-05/0.885, allocations: 0 / 1.21 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.744e-05/0.885, allocations: 0 / 1.21 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 9.55e-05/0.8851, allocations: 15.92 kB / 1.21 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.8851, allocations: 0 / 1.21 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.285e-06/0.8851, allocations: 0 / 1.21 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.801e-06/0.8851, allocations: 0 / 1.21 GB, free: 11.62 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.000357/0.8855, allocations: 319.6 kB / 1.211 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.8856, allocations: 8.031 kB / 1.211 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.088e-05/0.8856, allocations: 80.22 kB / 1.211 GB, free: 11.17 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001664/0.8858, allocations: 235.7 kB / 1.211 GB, free: 10.9 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.926e-05/0.8859, allocations: 150.9 kB / 1.211 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.241e-05/0.886, allocations: 154.9 kB / 1.211 GB, free: 10.6 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.122e-05/0.886, allocations: 105.5 kB / 1.211 GB, free: 10.49 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.944e-05/0.8861, allocations: 83.41 kB / 1.211 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.936e-05/0.8861, allocations: 154.5 kB / 1.212 GB, free: 10.26 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.143e-05/0.8862, allocations: 154.5 kB / 1.212 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.058e-05/0.8863, allocations: 150.6 kB / 1.212 GB, free: 9.957 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003301/0.8866, allocations: 449.9 kB / 1.212 GB, free: 9.469 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 9.563e-05/0.8867, allocations: 169.1 kB / 1.213 GB, free: 9.293 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.683e-05/0.8867, allocations: 84.08 kB / 1.213 GB, free: 9.207 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 4.101e-05/0.8868, allocations: 79.22 kB / 1.213 GB, free: 9.129 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.148e-05/0.8868, allocations: 109.8 kB / 1.213 GB, free: 9.012 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/0.8868, allocations: 0 / 1.213 GB, free: 9.012 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0): time 8.078e-05/0.8869, allocations: 33.64 kB / 1.213 GB, free: 8.973 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.083e-05/0.887, allocations: 134.7 kB / 1.213 GB, free: 8.828 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001056/0.8871, allocations: 93.86 kB / 1.213 GB, free: 8.727 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.503e-05/0.8871, allocations: 25.7 kB / 1.213 GB, free: 8.695 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 3.585e-05/0.8872, allocations: 84.12 kB / 1.213 GB, free: 8.609 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.904e-06/0.8872, allocations: 0 / 1.213 GB, free: 8.609 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.594e-05/0.8872, allocations: 13.84 kB / 1.213 GB, free: 8.59 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001323/0.8873, allocations: 318.8 kB / 1.213 GB, free: 8.27 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.823e-06/0.8874, allocations: 3.938 kB / 1.213 GB, free: 8.266 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.803e-05/0.8874, allocations: 0 / 1.213 GB, free: 8.266 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.157e-05/0.8874, allocations: 83.2 kB / 1.214 GB, free: 8.184 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.604e-05/0.8874, allocations: 75.28 kB / 1.214 GB, free: 8.109 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0) (initialization): time 7.396e-05/0.8875, allocations: 37.61 kB / 1.214 GB, free: 8.066 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 4.595e-05/0.8876, allocations: 81 kB / 1.214 GB, free: 7.988 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.023e-05/0.8876, allocations: 87.25 kB / 1.214 GB, free: 7.902 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.391e-05/0.8877, allocations: 154.5 kB / 1.214 GB, free: 7.75 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.204e-05/0.8878, allocations: 75.28 kB / 1.214 GB, free: 7.676 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.653e-05/0.8878, allocations: 162.5 kB / 1.214 GB, free: 7.516 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000155/0.888, allocations: 87.27 kB / 1.214 GB, free: 7.43 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.727e-05/0.8881, allocations: 75.28 kB / 1.214 GB, free: 7.355 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 (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.0001559/0.8882, allocations: 264.3 kB / 1.215 GB, free: 7.086 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.713e-05/0.8883, allocations: 105 kB / 1.215 GB, free: 6.977 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.29e-05/0.8884, allocations: 108 kB / 1.215 GB, free: 6.863 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.347e-05/0.8885, allocations: 184.2 kB / 1.215 GB, free: 6.676 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.286e-05/0.8885, allocations: 180.3 kB / 1.215 GB, free: 6.492 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.752e-05/0.8886, allocations: 188.4 kB / 1.215 GB, free: 6.301 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002522/0.8889, allocations: 397.2 kB / 1.216 GB, free: 5.855 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-05/0.8889, allocations: 105 kB / 1.216 GB, free: 5.746 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.087e-05/0.889, allocations: 112.9 kB / 1.216 GB, free: 5.629 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.041e-05/0.889, allocations: 176.3 kB / 1.216 GB, free: 5.449 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.835e-05/0.8891, allocations: 184.1 kB / 1.216 GB, free: 5.262 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.96e-05/0.8892, allocations: 180.3 kB / 1.216 GB, free: 5.078 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.994e-05/0.8893, allocations: 184.2 kB / 1.217 GB, free: 4.891 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001522/0.8894, allocations: 307.8 kB / 1.217 GB, free: 4.566 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 8.905e-05/0.8895, allocations: 182 kB / 1.217 GB, free: 4.363 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.716e-05/0.8896, allocations: 188.2 kB / 1.217 GB, free: 4.172 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.895e-05/0.8897, allocations: 101 kB / 1.217 GB, free: 4.066 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.759e-05/0.8898, allocations: 184.2 kB / 1.218 GB, free: 3.879 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.791e-05/0.8898, allocations: 105 kB / 1.218 GB, free: 3.77 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.623e-05/0.8899, allocations: 83.22 kB / 1.218 GB, free: 3.688 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8899, allocations: 0 / 1.218 GB, free: 3.688 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002772/0.8902, allocations: 11.75 kB / 1.218 GB, free: 3.68 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.0003384/0.8905, allocations: 186.5 kB / 1.218 GB, free: 3.484 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 5.538e-05/0.8906, allocations: 7.938 kB / 1.218 GB, free: 3.477 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.8906, allocations: 0 / 1.218 GB, free: 3.477 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.523e-06/0.8906, allocations: 3.938 kB / 1.218 GB, free: 3.473 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003788/0.891, allocations: 459.7 kB / 1.218 GB, free: 3.02 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00029/0.8913, allocations: 186.5 kB / 1.219 GB, free: 2.801 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002618/0.8916, allocations: 0.6768 MB / 1.219 GB, free: 2.098 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.504e-05/0.8916, allocations: 7.438 kB / 1.219 GB, free: 2.094 MB / 0.9356 GB Notification: Performance of SimCode: time 2.01e-07/0.8916, allocations: 0 / 1.219 GB, free: 2.094 MB / 0.9356 GB Notification: Performance of Templates: time 0.001913/0.8935, allocations: 490.7 kB / 1.22 GB, free: 1.625 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches