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.008523/0.008523, allocations: 101.8 kB / 15.73 MB, free: 6.012 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.002075/0.002076, allocations: 195.2 kB / 16.67 MB, free: 5.949 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.435/1.435, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.703/2.703, allocations: 461.9 MB / 0.7348 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001431/0.001431, allocations: 59.91 kB / 1.054 GB, free: 7.129 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3623/0.3637, allocations: 157.4 MB / 1.208 GB, free: 9.617 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3): time 0.002741/0.3665, allocations: 1.252 MB / 1.209 GB, free: 8.352 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001194/0.3678, allocations: 0.7387 MB / 1.21 GB, free: 7.609 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.248e-05/0.3678, allocations: 0 / 1.21 GB, free: 7.609 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.109e-05/0.3679, allocations: 3.938 kB / 1.21 GB, free: 7.605 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0002352/0.3681, allocations: 15.91 kB / 1.21 GB, free: 7.59 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.000185/0.3683, allocations: 41.81 kB / 1.21 GB, free: 7.551 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 8.577e-05/0.3684, allocations: 23.92 kB / 1.21 GB, free: 7.527 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.834e-05/0.3685, allocations: 8 kB / 1.21 GB, free: 7.52 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 6.523e-05/0.3685, allocations: 19.97 kB / 1.21 GB, free: 7.5 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001362/0.3687, allocations: 7.938 kB / 1.21 GB, free: 7.492 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.716e-05/0.3687, allocations: 3.938 kB / 1.21 GB, free: 7.488 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 4.818e-05/0.3688, allocations: 15.97 kB / 1.21 GB, free: 7.473 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.916e-05/0.3688, allocations: 0 / 1.21 GB, free: 7.473 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.102e-05/0.3689, allocations: 11.94 kB / 1.21 GB, free: 7.461 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 9.048e-05/0.3689, allocations: 19.97 kB / 1.21 GB, free: 7.441 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.369, allocations: 0 / 1.21 GB, free: 7.441 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.813e-06/0.369, allocations: 0 / 1.21 GB, free: 7.441 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.262e-06/0.369, allocations: 0 / 1.21 GB, free: 7.441 MB / 0.9669 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.000339/0.3693, allocations: 335.4 kB / 1.21 GB, free: 7.062 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.3694, allocations: 8.625 kB / 1.21 GB, free: 7.055 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.357e-05/0.3694, allocations: 84.2 kB / 1.21 GB, free: 6.973 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001626/0.3696, allocations: 243.6 kB / 1.21 GB, free: 6.695 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.411e-05/0.3697, allocations: 150.9 kB / 1.211 GB, free: 6.547 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001616/0.3698, allocations: 154.9 kB / 1.211 GB, free: 6.395 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.677e-05/0.3699, allocations: 109.5 kB / 1.211 GB, free: 6.281 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.341e-05/0.37, allocations: 75.47 kB / 1.211 GB, free: 6.207 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.256e-05/0.37, allocations: 158.5 kB / 1.211 GB, free: 6.051 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001027/0.3701, allocations: 150.6 kB / 1.211 GB, free: 5.902 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.118e-05/0.3702, allocations: 150.6 kB / 1.211 GB, free: 5.754 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003279/0.3705, allocations: 457.9 kB / 1.212 GB, free: 5.258 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000178/0.3707, allocations: 169.1 kB / 1.212 GB, free: 5.082 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.783e-05/0.3708, allocations: 80.14 kB / 1.212 GB, free: 5 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.887e-05/0.3708, allocations: 79.28 kB / 1.212 GB, free: 4.922 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.421e-05/0.3709, allocations: 109.8 kB / 1.212 GB, free: 4.805 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.3709, allocations: 0 / 1.212 GB, free: 4.805 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 8.996e-05/0.371, allocations: 37.53 kB / 1.212 GB, free: 4.762 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.32e-05/0.371, allocations: 126.7 kB / 1.212 GB, free: 4.625 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002638/0.3713, allocations: 105.8 kB / 1.212 GB, free: 4.512 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.857e-05/0.3713, allocations: 33.64 kB / 1.213 GB, free: 4.473 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.785e-05/0.3714, allocations: 84.64 kB / 1.213 GB, free: 4.387 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.204e-06/0.3714, allocations: 0 / 1.213 GB, free: 4.387 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.786e-05/0.3714, allocations: 21.7 kB / 1.213 GB, free: 4.359 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001429/0.3716, allocations: 314.8 kB / 1.213 GB, free: 4.043 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.202e-05/0.3716, allocations: 7.938 kB / 1.213 GB, free: 4.035 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.043e-05/0.3717, allocations: 12 kB / 1.213 GB, free: 4.023 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.755e-05/0.3717, allocations: 16.84 kB / 1.213 GB, free: 4.004 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.3717, allocations: 0 / 1.213 GB, free: 4.004 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001133/0.3718, allocations: 33.7 kB / 1.213 GB, free: 3.965 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.3719, allocations: 8 kB / 1.213 GB, free: 3.957 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.146e-06/0.3719, allocations: 8.062 kB / 1.213 GB, free: 3.949 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.3719, allocations: 0 / 1.213 GB, free: 3.949 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.305e-06/0.3719, allocations: 3.938 kB / 1.213 GB, free: 3.945 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.3719, allocations: 3.984 kB / 1.213 GB, free: 3.941 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.944e-05/0.372, allocations: 0 / 1.213 GB, free: 3.941 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.648e-06/0.372, allocations: 4 kB / 1.213 GB, free: 3.938 MB / 0.9669 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 0.000113/0.3722, allocations: 185.1 kB / 1.213 GB, free: 3.746 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.473e-05/0.3722, allocations: 105 kB / 1.213 GB, free: 3.637 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.874e-05/0.3723, allocations: 120.4 kB / 1.213 GB, free: 3.508 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.764e-05/0.3724, allocations: 180.2 kB / 1.214 GB, free: 3.324 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.599e-05/0.3725, allocations: 180.3 kB / 1.214 GB, free: 3.141 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.966e-05/0.3725, allocations: 188.2 kB / 1.214 GB, free: 2.949 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002449/0.3728, allocations: 401.2 kB / 1.214 GB, free: 2.5 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.036e-05/0.3728, allocations: 109 kB / 1.214 GB, free: 2.387 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.579e-05/0.3729, allocations: 109.2 kB / 1.215 GB, free: 2.273 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.414e-05/0.373, allocations: 180.2 kB / 1.215 GB, free: 2.09 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.651e-05/0.373, allocations: 192.1 kB / 1.215 GB, free: 1.895 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.837e-05/0.3731, allocations: 180.3 kB / 1.215 GB, free: 1.711 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.524e-05/0.3732, allocations: 180.2 kB / 1.215 GB, free: 1.527 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000146/0.3733, allocations: 311.7 kB / 1.216 GB, free: 1.199 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 9.25e-05/0.3734, allocations: 186 kB / 1.216 GB, free: 0.9922 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.191e-05/0.3735, allocations: 180.2 kB / 1.216 GB, free: 0.8086 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.208e-05/0.3736, allocations: 104.9 kB / 1.216 GB, free: 0.6992 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.715e-05/0.3737, allocations: 188.2 kB / 1.216 GB, free: 0.5078 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.758e-05/0.3737, allocations: 105 kB / 1.216 GB, free: 408 kB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.591e-05/0.3738, allocations: 79.28 kB / 1.216 GB, free: 328 kB / 0.9669 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3738, allocations: 0 / 1.216 GB, free: 328 kB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002328/0.374, allocations: 4 kB / 1.216 GB, free: 324 kB / 0.9669 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.0003232/0.3744, allocations: 203.3 kB / 1.217 GB, free: 116 kB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 7.319e-05/0.3745, allocations: 11.98 kB / 1.217 GB, free: 104 kB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3745, allocations: 0 / 1.217 GB, free: 104 kB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 2.054e-06/0.3745, allocations: 0 / 1.217 GB, free: 104 kB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004305/0.3749, allocations: 459.6 kB / 1.217 GB, free: 15.65 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002898/0.3752, allocations: 176.8 kB / 1.217 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002556/0.3755, allocations: 0.6729 MB / 1.218 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 1.989e-05/0.3755, allocations: 0 / 1.218 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.228e-05/0.3755, allocations: 15.38 kB / 1.218 GB, free: 14.74 MB / 0.9825 GB Notification: Performance of SimCode: time 2.51e-07/0.3755, allocations: 0 / 1.218 GB, free: 14.74 MB / 0.9825 GB Notification: Performance of Templates: time 0.00276/0.3783, allocations: 424.8 kB / 1.218 GB, free: 14.34 MB / 0.9825 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/jenkins/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