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.001487/0.001487, allocations: 108.7 kB / 16.41 MB, free: 6.027 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.001802/0.001802, allocations: 186.2 kB / 17.34 MB, free: 5.633 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.359/1.359, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.873/2.873, allocations: 461.9 MB / 0.7354 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001487/0.001487, allocations: 63.91 kB / 1.055 GB, free: 7.73 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8806/0.8821, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3): time 0.002339/0.8845, allocations: 1.255 MB / 1.21 GB, free: 12.39 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001004/0.8855, allocations: 0.7427 MB / 1.21 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.11e-05/0.8856, allocations: 0 / 1.21 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.114e-05/0.8856, allocations: 11.88 kB / 1.21 GB, free: 11.63 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0002101/0.8858, allocations: 11.92 kB / 1.21 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001776/0.886, allocations: 51.86 kB / 1.21 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 7.199e-05/0.8861, allocations: 19.92 kB / 1.21 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.14e-05/0.8862, allocations: 11.98 kB / 1.21 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 5.655e-05/0.8862, allocations: 8 kB / 1.21 GB, free: 11.53 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001182/0.8863, allocations: 11.92 kB / 1.21 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.281e-05/0.8864, allocations: 0 / 1.21 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 4.319e-05/0.8864, allocations: 11.92 kB / 1.21 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 4.207e-05/0.8865, allocations: 8 kB / 1.211 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.386e-05/0.8865, allocations: 15.92 kB / 1.211 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 8.428e-05/0.8866, allocations: 15.98 kB / 1.211 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.8866, allocations: 0 / 1.211 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.683e-06/0.8866, allocations: 0 / 1.211 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.634e-06/0.8866, allocations: 4 kB / 1.211 GB, free: 11.46 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.0003021/0.8869, allocations: 327.1 kB / 1.211 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.234e-05/0.887, allocations: 12.02 kB / 1.211 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.766e-05/0.887, allocations: 76.22 kB / 1.211 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001222/0.8872, allocations: 247.7 kB / 1.211 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.392e-05/0.8872, allocations: 150.9 kB / 1.211 GB, free: 10.58 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.058e-05/0.8873, allocations: 150.9 kB / 1.211 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.89e-05/0.8873, allocations: 101.5 kB / 1.212 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.475e-05/0.8874, allocations: 79.47 kB / 1.212 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.211e-05/0.8874, allocations: 158.4 kB / 1.212 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.21e-05/0.8875, allocations: 154.6 kB / 1.212 GB, free: 9.938 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.018e-05/0.8875, allocations: 154.6 kB / 1.212 GB, free: 9.785 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002726/0.8878, allocations: 453.9 kB / 1.213 GB, free: 9.293 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 7.021e-05/0.8879, allocations: 165.1 kB / 1.213 GB, free: 9.121 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.058e-05/0.8879, allocations: 84.14 kB / 1.213 GB, free: 9.035 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.475e-05/0.8879, allocations: 79.22 kB / 1.213 GB, free: 8.957 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.589e-05/0.888, allocations: 113.8 kB / 1.213 GB, free: 8.836 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.888, allocations: 0 / 1.213 GB, free: 8.836 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0): time 6.844e-05/0.8881, allocations: 29.64 kB / 1.213 GB, free: 8.801 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.008e-05/0.8881, allocations: 126.7 kB / 1.213 GB, free: 8.664 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000103/0.8882, allocations: 121.7 kB / 1.213 GB, free: 8.535 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.546e-05/0.8883, allocations: 25.7 kB / 1.213 GB, free: 8.504 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 3.957e-05/0.8883, allocations: 84.14 kB / 1.213 GB, free: 8.418 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.994e-06/0.8883, allocations: 0 / 1.213 GB, free: 8.418 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.244e-05/0.8884, allocations: 13.72 kB / 1.213 GB, free: 8.398 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.954e-05/0.8885, allocations: 314.8 kB / 1.214 GB, free: 8.082 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.907e-05/0.8885, allocations: 8 kB / 1.214 GB, free: 8.074 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.457e-05/0.8885, allocations: 7.938 kB / 1.214 GB, free: 8.066 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.495e-05/0.8886, allocations: 20.94 kB / 1.214 GB, free: 8.043 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.8886, allocations: 0 / 1.214 GB, free: 8.043 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.926e-05/0.8887, allocations: 37.7 kB / 1.214 GB, free: 8 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/0.8887, allocations: 4 kB / 1.214 GB, free: 7.996 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.8887, allocations: 3.938 kB / 1.214 GB, free: 7.992 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.8887, allocations: 8.234 kB / 1.214 GB, free: 7.984 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.32e-07/0.8887, allocations: 0 / 1.214 GB, free: 7.984 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.8887, allocations: 4 kB / 1.214 GB, free: 7.98 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.652e-05/0.8888, allocations: 8.031 kB / 1.214 GB, free: 7.973 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.938e-06/0.8888, allocations: 4 kB / 1.214 GB, free: 7.969 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 8.509e-05/0.8889, allocations: 181.1 kB / 1.214 GB, free: 7.781 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.25e-05/0.889, allocations: 108.9 kB / 1.214 GB, free: 7.668 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.611e-05/0.8891, allocations: 116.5 kB / 1.214 GB, free: 7.539 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.718e-05/0.8891, allocations: 184.2 kB / 1.214 GB, free: 7.352 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.916e-05/0.8892, allocations: 184.3 kB / 1.214 GB, free: 7.164 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.572e-05/0.8892, allocations: 180.3 kB / 1.215 GB, free: 6.98 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001911/0.8894, allocations: 401.2 kB / 1.215 GB, free: 6.531 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.622e-05/0.8895, allocations: 109 kB / 1.215 GB, free: 6.418 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.028e-05/0.8895, allocations: 104.9 kB / 1.215 GB, free: 6.309 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.581e-05/0.8896, allocations: 180.2 kB / 1.215 GB, free: 6.125 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.79e-05/0.8896, allocations: 188.1 kB / 1.216 GB, free: 5.934 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.14e-05/0.8897, allocations: 184.2 kB / 1.216 GB, free: 5.746 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.752e-05/0.8898, allocations: 176.5 kB / 1.216 GB, free: 5.566 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001255/0.8899, allocations: 315.7 kB / 1.216 GB, free: 5.234 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.189e-05/0.89, allocations: 186 kB / 1.216 GB, free: 5.027 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.952e-05/0.89, allocations: 184.2 kB / 1.217 GB, free: 4.84 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.318e-05/0.8901, allocations: 101 kB / 1.217 GB, free: 4.734 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.183e-05/0.8902, allocations: 188.2 kB / 1.217 GB, free: 4.543 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.791e-05/0.8902, allocations: 105 kB / 1.217 GB, free: 4.434 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.911e-05/0.8903, allocations: 83.28 kB / 1.217 GB, free: 4.352 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8903, allocations: 4 kB / 1.217 GB, free: 4.348 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002473/0.8905, allocations: 9.969 kB / 1.217 GB, free: 4.34 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.000305/0.8908, allocations: 193.6 kB / 1.217 GB, free: 4.145 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 7.604e-05/0.8909, allocations: 11.94 kB / 1.217 GB, free: 4.133 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.8909, allocations: 0 / 1.217 GB, free: 4.133 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.833e-06/0.8909, allocations: 0 / 1.217 GB, free: 4.133 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003394/0.8913, allocations: 457.5 kB / 1.218 GB, free: 3.684 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00026/0.8915, allocations: 206.4 kB / 1.218 GB, free: 3.449 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002176/0.8918, allocations: 0.6729 MB / 1.219 GB, free: 2.75 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.255e-05/0.8918, allocations: 7.438 kB / 1.219 GB, free: 2.746 MB / 0.9356 GB Notification: Performance of SimCode: time 2.2e-07/0.8918, allocations: 0 / 1.219 GB, free: 2.746 MB / 0.9356 GB Notification: Performance of Templates: time 0.001788/0.8936, allocations: 0.5227 MB / 1.219 GB, free: 2.227 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